From: Go MAEDA Date: Wed, 7 Jun 2023 13:17:39 +0000 (+0000) Subject: Update RuboCop to 1.52 (#36919). X-Git-Tag: 5.1.0~116 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=828439338f35000eb5da567316ee4ba94f940f3d;p=redmine.git Update RuboCop to 1.52 (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22254 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index bf36d6717..415e4b9c9 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.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 621aae070..9acac00fb 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.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