From: Go MAEDA Date: Tue, 2 Mar 2021 01:57:39 +0000 (+0000) Subject: Update RuboCop to 1.11.0 (#32530). X-Git-Tag: 4.2.0~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fe2fa3f10c95713666d7b604c3e9ac9839fc3a3f;p=redmine.git Update RuboCop to 1.11.0 (#32530). git-svn-id: http://svn.redmine.org/redmine/trunk@20758 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 4b2da87ba..02ca6b882 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.10.0. +# using RuboCop version 1.11.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 @@ -1246,11 +1246,6 @@ Style/HashAsLastArrayItem: - 'app/controllers/enumerations_controller.rb' - 'app/models/board.rb' -# Cop supports --auto-correct. -Style/HashConversion: - Exclude: - - 'lib/redmine/scm/adapters/mercurial_adapter.rb' - # Cop supports --auto-correct. Style/HashEachMethods: Exclude: @@ -1750,7 +1745,7 @@ Style/SymbolArray: EnforcedStyle: brackets # Cop supports --auto-correct. -# Configuration parameters: IgnoredMethods. +# Configuration parameters: AllowMethodsWithArguments, IgnoredMethods. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Enabled: false diff --git a/Gemfile b/Gemfile index 0b2a0e04e..e84ad0ebb 100644 --- a/Gemfile +++ b/Gemfile @@ -93,7 +93,7 @@ group :test do gem "selenium-webdriver" gem 'webdrivers', '~> 4.4', require: false # RuboCop - gem 'rubocop', '~> 1.10.0' + gem 'rubocop', '~> 1.11.0' gem 'rubocop-performance', '~> 1.9.0' gem 'rubocop-rails', '~> 2.9.0' end