1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Update rubocop-performance to 1.5.0 (#31509).

git-svn-id: http://svn.redmine.org/redmine/trunk@18579 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2019-10-02 00:27:19 +00:00
parent 30f3fea023
commit fff145a49d
2 changed files with 13 additions and 1 deletions

View File

@ -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'

View File

@ -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