]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop to 1.16 (#35136).
authorGo MAEDA <maeda@farend.jp>
Sun, 6 Jun 2021 03:39:54 +0000 (03:39 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 6 Jun 2021 03:39:54 +0000 (03:39 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21026 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
Gemfile

index 205a33a450dd060e7871f8c07a0babe8be91a323..81394e3ef8c52394c7f6198d09d296451ea4ab8b 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.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 d84374b5726d87af057309369eba6135c35d0eb3..3d957f4ba02ef539b423329675ce43b36238ffcd 100644 (file)
--- 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