]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop to 1.38 (#36919).
authorGo MAEDA <maeda@farend.jp>
Wed, 2 Nov 2022 01:02:59 +0000 (01:02 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 2 Nov 2022 01:02:59 +0000 (01:02 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@21941 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
Gemfile

index 7a601f12edc92797f756ce25929767e7af4ae302..c4decac367ec0843c3a42ded58395a6e1d43fe41 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.37.1.
+# using RuboCop version 1.38.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
@@ -1225,6 +1225,7 @@ Style/GlobalVars:
   Exclude:
     - 'test/test_helper.rb'
 
+# This cop supports safe autocorrection (--autocorrect).
 # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
 Style/GuardClause:
   Enabled: false
diff --git a/Gemfile b/Gemfile
index 31c5770a65f37e2d3409cbc511667c2821b3ae53..71e4209678f4159d3d8bc1bef1aa620c2285cd11 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.37.1'
+  gem 'rubocop', '~> 1.38.0'
   gem 'rubocop-performance', '~> 1.15.0'
   gem 'rubocop-rails', '~> 2.17.2'
 end