]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop to 1.43 (#36919).
authorGo MAEDA <maeda@farend.jp>
Wed, 11 Jan 2023 14:20:52 +0000 (14:20 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 11 Jan 2023 14:20:52 +0000 (14:20 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22037 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
Gemfile

index 66a10ed43189155058f58e019b918c5bfec5970c..837b12274554d851baa0d8258c5e1aeccb38e3e9 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.42.0.
+# using RuboCop version 1.43.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
@@ -1162,6 +1162,7 @@ Style/HashAsLastArrayItem:
 
 # This cop supports unsafe autocorrection (--autocorrect-all).
 # Configuration parameters: AllowedReceivers.
+# AllowedReceivers: Thread.current
 Style/HashEachMethods:
   Exclude:
     - 'app/controllers/groups_controller.rb'
diff --git a/Gemfile b/Gemfile
index 949f401a14dc09e0901eb2c2446b0cc2325d49ec..b47bc4d8b2b0ae76f634991a190ae3797bd088fb 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.42.0'
+  gem 'rubocop', '~> 1.43.0'
   gem 'rubocop-performance', '~> 1.15.0'
   gem 'rubocop-rails', '~> 2.17.2'
 end