From: Go MAEDA Date: Thu, 12 Oct 2023 10:28:18 +0000 (+0000) Subject: Update RuboCop to 1.57 (#36919). X-Git-Tag: 5.1.0~59 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9552922d46af3d470d21667433d0d8f9bd529d67;p=redmine.git Update RuboCop to 1.57 (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22338 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 7261428c5..a3c419380 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.56.0. +# using RuboCop version 1.57.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -940,7 +940,7 @@ Style/CaseLikeIf: Style/ClassAndModuleChildren: Enabled: false -# This cop supports safe autocorrection (--autocorrect). +# This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowedMethods, AllowedPatterns. # AllowedMethods: ==, equal?, eql? Style/ClassEqualityComparison: diff --git a/Gemfile b/Gemfile index a925c8599..44b6fbff0 100644 --- a/Gemfile +++ b/Gemfile @@ -103,7 +103,7 @@ group :test do gem "selenium-webdriver", "~> 3.142.7" gem 'webdrivers', '4.6.1', require: false # RuboCop - gem 'rubocop', '~> 1.56.0', require: false + gem 'rubocop', '~> 1.57.0', require: false gem 'rubocop-performance', '~> 1.19.0', require: false gem 'rubocop-rails', '~> 2.20.2', require: false end