From fff145a49dac4266a4699de204f835819e42e7ae Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 2 Oct 2019 00:27:19 +0000 Subject: [PATCH] Update rubocop-performance to 1.5.0 (#31509). git-svn-id: http://svn.redmine.org/redmine/trunk@18579 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 12 ++++++++++++ Gemfile | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 69f85ebcc..1e81345cd 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -690,6 +690,18 @@ Naming/VariableNumber: - 'test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb' - 'test/unit/project_test.rb' +# Cop supports --auto-correct. +Performance/Count: + Exclude: + - 'test/functional/workflows_controller_test.rb' + - 'test/integration/api_test/issues_test.rb' + - 'test/unit/issue_test.rb' + +# Cop supports --auto-correct. +Performance/Detect: + Exclude: + - 'test/unit/project_copy_test.rb' + Performance/FixedSize: Exclude: - 'test/integration/api_test/issues_test.rb' diff --git a/Gemfile b/Gemfile index 9beea93ea..8eacdd122 100644 --- a/Gemfile +++ b/Gemfile @@ -85,7 +85,7 @@ group :test do gem "selenium-webdriver" # RuboCop gem 'rubocop', '~> 0.75.0' - gem 'rubocop-performance', '~> 1.4.1' + gem 'rubocop-performance', '~> 1.5.0' gem 'rubocop-rails', '~> 2.3.0' end -- 2.39.5