]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop to 1.15 (#35136).
authorGo MAEDA <maeda@farend.jp>
Tue, 18 May 2021 02:42:16 +0000 (02:42 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 18 May 2021 02:42:16 +0000 (02:42 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21004 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
Gemfile

index 0e74c648d78e52d6f2c14424773083f100e35607..205a33a450dd060e7871f8c07a0babe8be91a323 100644 (file)
@@ -1,11 +1,17 @@
 # This configuration was generated by
 # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.14.0.
+# using RuboCop version 1.15.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
 # versions of RuboCop, may require this file to be generated again.
 
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, IndentationWidth.
+# SupportedStyles: with_first_argument, with_fixed_indentation
+Layout/ArgumentAlignment:
+  Enabled: false
+
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: leading, trailing
@@ -301,7 +307,6 @@ Lint/EmptyBlock:
     - 'app/models/auth_source_ldap.rb'
     - 'lib/redmine/scm/adapters/abstract_adapter.rb'
     - 'test/helpers/application_helper_test.rb'
-    - 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
     - 'test/unit/lib/redmine/plugin_test.rb'
 
 Lint/FloatComparison:
diff --git a/Gemfile b/Gemfile
index 99ed8e3318bf8789d89f363e5efe659d70d7299c..d84374b5726d87af057309369eba6135c35d0eb3 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.14.0'
+  gem 'rubocop', '~> 1.15.0'
   gem 'rubocop-performance', '~> 1.11.0'
   gem 'rubocop-rails', '~> 2.10.1'
 end