summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml12
-rw-r--r--Gemfile2
2 files changed, 13 insertions, 1 deletions
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