]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop Performance to 1.10 (#34159).
authorGo MAEDA <maeda@farend.jp>
Tue, 2 Mar 2021 02:09:51 +0000 (02:09 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 2 Mar 2021 02:09:51 +0000 (02:09 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20759 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
Gemfile

index 02ca6b8829096a4e78c00daa8851de5911e9eb43..ac08af08a3c1d07ab3fdcf40989297e8078bb153 100644 (file)
@@ -531,6 +531,11 @@ Performance/RedundantMatch:
     - 'lib/redmine/wiki_formatting/textile/formatter.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
+# Cop supports --auto-correct.
+Performance/RedundantSplitRegexpArgument:
+  Exclude:
+    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
+
 # Cop supports --auto-correct.
 # Configuration parameters: AutoCorrect.
 Performance/StringInclude:
diff --git a/Gemfile b/Gemfile
index e84ad0ebb0acb4d7a3bda3334175c4e9ab046a85..031fc9bdcd8dd4d30b4d5bb9904471aa61ae2659 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -94,7 +94,7 @@ group :test do
   gem 'webdrivers', '~> 4.4', require: false
   # RuboCop
   gem 'rubocop', '~> 1.11.0'
-  gem 'rubocop-performance', '~> 1.9.0'
+  gem 'rubocop-performance', '~> 1.10.1'
   gem 'rubocop-rails', '~> 2.9.0'
 end