From 29ec3009452c0737a8317fbb816e8b465a01d984 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 11 Jan 2023 14:20:52 +0000 Subject: [PATCH] Update RuboCop to 1.43 (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22037 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 3 ++- Gemfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 66a10ed43..837b12274 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.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 949f401a1..b47bc4d8b 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.42.0' + gem 'rubocop', '~> 1.43.0' gem 'rubocop-performance', '~> 1.15.0' gem 'rubocop-rails', '~> 2.17.2' end