mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Update RuboCop to 1.9.1 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20739 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
cbac878ee4
commit
8bdea4c1cb
@ -1,6 +1,6 @@
|
|||||||
# This configuration was generated by
|
# This configuration was generated by
|
||||||
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
|
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
|
||||||
# using RuboCop version 1.8.1.
|
# using RuboCop version 1.9.1.
|
||||||
# The point is for the user to remove these configuration records
|
# The point is for the user to remove these configuration records
|
||||||
# one by one as the offenses are removed from the code base.
|
# one by one as the offenses are removed from the code base.
|
||||||
# Note that changes in the inspected code, or installation of new
|
# Note that changes in the inspected code, or installation of new
|
||||||
@ -1284,6 +1284,17 @@ Style/IfUnlessModifierOfIfUnless:
|
|||||||
Exclude:
|
Exclude:
|
||||||
- 'app/models/attachment.rb'
|
- 'app/models/attachment.rb'
|
||||||
|
|
||||||
|
# Cop supports --auto-correct.
|
||||||
|
# Configuration parameters: AllowedMethods.
|
||||||
|
# AllowedMethods: nonzero?
|
||||||
|
Style/IfWithBooleanLiteralBranches:
|
||||||
|
Exclude:
|
||||||
|
- 'app/controllers/workflows_controller.rb'
|
||||||
|
- 'app/helpers/application_helper.rb'
|
||||||
|
- 'app/models/enumeration.rb'
|
||||||
|
- 'app/models/query.rb'
|
||||||
|
- 'lib/redmine/field_format.rb'
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: InverseMethods, InverseBlocks.
|
# Configuration parameters: InverseMethods, InverseBlocks.
|
||||||
Style/InverseMethods:
|
Style/InverseMethods:
|
||||||
|
|||||||
2
Gemfile
2
Gemfile
@ -92,7 +92,7 @@ group :test do
|
|||||||
gem 'capybara', '~> 3.31.0'
|
gem 'capybara', '~> 3.31.0'
|
||||||
gem "selenium-webdriver"
|
gem "selenium-webdriver"
|
||||||
# RuboCop
|
# RuboCop
|
||||||
gem 'rubocop', '~> 1.8.1'
|
gem 'rubocop', '~> 1.9.1'
|
||||||
gem 'rubocop-performance', '~> 1.9.0'
|
gem 'rubocop-performance', '~> 1.9.0'
|
||||||
gem 'rubocop-rails', '~> 2.9.0'
|
gem 'rubocop-rails', '~> 2.9.0'
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user