diff --git a/.ruby-style.yml b/.ruby-style.yml index 97519f31f8..ebc503371c 100644 --- a/.ruby-style.yml +++ b/.ruby-style.yml @@ -497,6 +497,9 @@ Lint/DuplicateRequire: Lint/DuplicateRescueException: Enabled: false +Lint/DuplicateSetElement: + Enabled: false + Lint/EachWithObjectArgument: Enabled: true diff --git a/Gemfile b/Gemfile index b518e542f7..9ea7f89531 100644 --- a/Gemfile +++ b/Gemfile @@ -202,7 +202,7 @@ group :development do gem 'net-ssh-gateway', '>= 1.1.0', '< 3.0.0' gem 'launchy', '< 3.1.0' gem 'web-console', '>= 3.3.0' - gem 'rubocop', '~> 1.66.1', require: false + gem 'rubocop', '~> 1.67.0', require: false gem 'rubocop-performance', require: false gem 'rubocop-rails', require: false end diff --git a/Gemfile.lock b/Gemfile.lock index d01aef4aba..bf93665e24 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -468,7 +468,7 @@ GEM rspec-mocks (~> 3.13) rspec-support (~> 3.13) rspec-support (3.13.1) - rubocop (1.66.1) + rubocop (1.67.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -653,7 +653,7 @@ DEPENDENCIES rolify (~> 6.0.1) rspec-activemodel-mocks (~> 1.2.1) rspec-rails (~> 7.0.1) - rubocop (~> 1.66.1) + rubocop (~> 1.67.0) rubocop-performance rubocop-rails ruby-msg (~> 1.5.0)!