]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop to 1.52 (#36919).
authorGo MAEDA <maeda@farend.jp>
Wed, 7 Jun 2023 13:17:39 +0000 (13:17 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 7 Jun 2023 13:17:39 +0000 (13:17 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22254 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
Gemfile

index bf36d671744ad155d063e8e25c1a6bc6ec5deeec..415e4b9c90b192ca22b7e8b4c329ddcc459fd795 100644 (file)
@@ -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.51.0.
+# using RuboCop version 1.52.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
@@ -981,6 +981,7 @@ Style/ClassVars:
     - 'test/helpers/activities_helper_test.rb'
 
 # This cop supports unsafe autocorrection (--autocorrect-all).
+# Configuration parameters: AllowedReceivers.
 Style/CollectionCompact:
   Exclude:
     - 'app/controllers/issues_controller.rb'
@@ -1254,7 +1255,7 @@ Style/MultilineTernaryOperator:
     - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
 
 # This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowMethodComparison.
+# Configuration parameters: AllowMethodComparison, ComparisonsThreshold.
 Style/MultipleComparison:
   Exclude:
     - 'app/helpers/application_helper.rb'
diff --git a/Gemfile b/Gemfile
index 621aae0704d738cd8ba8b0305277f0cf642e2aef..9acac00fb2eb55f1b870860e278628297123e72e 100644 (file)
--- 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.51.0', require: false
+  gem 'rubocop', '~> 1.52.0', require: false
   gem 'rubocop-performance', '~> 1.18.0', require: false
   gem 'rubocop-rails', '~> 2.19.1', require: false
 end