Skip to content

Commit

Permalink
Merge pull request #577 from sanger/depfu/update/rubocop-performance-…
Browse files Browse the repository at this point in the history
…1.20.2

Update rubocop-performance 1.18.0 → 1.20.2 (minor)
  • Loading branch information
stevieing authored Jan 26, 2024
2 parents db02d70 + 760328d commit 0b2f500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ GEM
rubocop (~> 1.41)
rubocop-factory_bot (2.25.0)
rubocop (~> 1.33)
rubocop-performance (1.18.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rails (2.23.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
Expand Down
2 changes: 1 addition & 1 deletion app/models/associated_with_roles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def self.extended(base)
end

def has_role(name)
define_method("#{name}=") { |users| set_users(name, users) }
define_method(:"#{name}=") { |users| set_users(name, users) }
end

module InstanceMethods
Expand Down

0 comments on commit 0b2f500

Please sign in to comment.