Skip to content

Commit

Permalink
Merge pull request #436 from sanger/depfu/update/rubocop-rails-2.25.1
Browse files Browse the repository at this point in the history
🚨 [security] Update rubocop-rails 2.24.1 → 2.25.1 (minor)
  • Loading branch information
stevieing authored Jul 23, 2024
2 parents 5b254d5 + c9a5278 commit dd39828
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ GEM
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
parallel (1.25.1)
parser (3.3.3.0)
parser (3.3.4.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand Down Expand Up @@ -205,7 +205,7 @@ GEM
rdoc (6.6.3.1)
psych (>= 4.0.0)
regexp_parser (2.9.2)
rexml (3.3.1)
rexml (3.3.2)
strscan
rspec-collection_matchers (1.2.1)
rspec-expectations (>= 2.99.0.beta1)
Expand All @@ -226,13 +226,13 @@ GEM
rspec-mocks (~> 3.5.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
rubocop (1.64.1)
rubocop (1.65.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
Expand All @@ -246,7 +246,7 @@ GEM
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.24.1)
rubocop-rails (2.25.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand Down
3 changes: 2 additions & 1 deletion lib/client_side_validations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def html_validation_attributes(attr_name)
end

def validationErrorMsg(attr_name)
nil if @regexp[attr_name].nil?
return if @regexp[attr_name].nil?

@regexp[attr_name][:error_msg]
end

Expand Down

0 comments on commit dd39828

Please sign in to comment.