Skip to content

Commit 8bdea4c

Browse files
committed
Update RuboCop to 1.9.1 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20739 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent cbac878 commit 8bdea4c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.rubocop_todo.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
3-
# using RuboCop version 1.8.1.
3+
# using RuboCop version 1.9.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -1284,6 +1284,17 @@ Style/IfUnlessModifierOfIfUnless:
12841284
Exclude:
12851285
- 'app/models/attachment.rb'
12861286

1287+
# Cop supports --auto-correct.
1288+
# Configuration parameters: AllowedMethods.
1289+
# AllowedMethods: nonzero?
1290+
Style/IfWithBooleanLiteralBranches:
1291+
Exclude:
1292+
- 'app/controllers/workflows_controller.rb'
1293+
- 'app/helpers/application_helper.rb'
1294+
- 'app/models/enumeration.rb'
1295+
- 'app/models/query.rb'
1296+
- 'lib/redmine/field_format.rb'
1297+
12871298
# Cop supports --auto-correct.
12881299
# Configuration parameters: InverseMethods, InverseBlocks.
12891300
Style/InverseMethods:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ group :test do
9292
gem 'capybara', '~> 3.31.0'
9393
gem "selenium-webdriver"
9494
# RuboCop
95-
gem 'rubocop', '~> 1.8.1'
95+
gem 'rubocop', '~> 1.9.1'
9696
gem 'rubocop-performance', '~> 1.9.0'
9797
gem 'rubocop-rails', '~> 2.9.0'
9898
end

0 commit comments

Comments
 (0)