From d19e0f987a29cec00ed2446e08bd1e5fe66bf096 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 2 Mar 2021 02:09:51 +0000 Subject: [PATCH] Update RuboCop Performance to 1.10 (#34159). git-svn-id: http://svn.redmine.org/redmine/trunk@20759 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 5 +++++ Gemfile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 02ca6b882..ac08af08a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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 e84ad0ebb..031fc9bdc 100644 --- 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