From 29f86644fe575cfab387469779b05d977a2aa678 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 6 Jun 2021 03:39:54 +0000 Subject: [PATCH] Update RuboCop to 1.16 (#35136). git-svn-id: http://svn.redmine.org/redmine/trunk@21026 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 11 ++++++++++- Gemfile | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 205a33a45..81394e3ef 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.15.0. +# using RuboCop version 1.16.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 @@ -1271,6 +1271,7 @@ Style/HashAsLastArrayItem: - 'app/models/board.rb' # Cop supports --auto-correct. +# Configuration parameters: AllowedReceivers. Style/HashEachMethods: Exclude: - 'app/controllers/application_controller.rb' @@ -1534,6 +1535,14 @@ Style/Proc: - 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb' - 'test/unit/lib/redmine/menu_manager/menu_item_test.rb' +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle. +# SupportedStyles: same_as_string_literals, single_quotes, double_quotes +Style/QuotedSymbols: + Exclude: + - 'test/functional/timelog_controller_test.rb' + - 'test/unit/lib/redmine/i18n_test.rb' + # Cop supports --auto-correct. # Configuration parameters: Methods. Style/RedundantArgument: diff --git a/Gemfile b/Gemfile index d84374b57..3d957f4ba 100644 --- a/Gemfile +++ b/Gemfile @@ -92,7 +92,7 @@ group :test do gem "selenium-webdriver" gem 'webdrivers', '~> 4.4', require: false # RuboCop - gem 'rubocop', '~> 1.15.0' + gem 'rubocop', '~> 1.16.0' gem 'rubocop-performance', '~> 1.11.0' gem 'rubocop-rails', '~> 2.10.1' end -- 2.39.5