Skip to content

Commit 29f8664

Browse files
committed
Update RuboCop to 1.16 (#35136).
git-svn-id: http://svn.redmine.org/redmine/trunk@21026 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 5515295 commit 29f8664

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.rubocop_todo.yml

Lines changed: 10 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.15.0.
3+
# using RuboCop version 1.16.0.
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
@@ -1271,6 +1271,7 @@ Style/HashAsLastArrayItem:
12711271
- 'app/models/board.rb'
12721272

12731273
# Cop supports --auto-correct.
1274+
# Configuration parameters: AllowedReceivers.
12741275
Style/HashEachMethods:
12751276
Exclude:
12761277
- 'app/controllers/application_controller.rb'
@@ -1534,6 +1535,14 @@ Style/Proc:
15341535
- 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
15351536
- 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
15361537

1538+
# Cop supports --auto-correct.
1539+
# Configuration parameters: EnforcedStyle.
1540+
# SupportedStyles: same_as_string_literals, single_quotes, double_quotes
1541+
Style/QuotedSymbols:
1542+
Exclude:
1543+
- 'test/functional/timelog_controller_test.rb'
1544+
- 'test/unit/lib/redmine/i18n_test.rb'
1545+
15371546
# Cop supports --auto-correct.
15381547
# Configuration parameters: Methods.
15391548
Style/RedundantArgument:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ group :test do
9292
gem "selenium-webdriver"
9393
gem 'webdrivers', '~> 4.4', require: false
9494
# RuboCop
95-
gem 'rubocop', '~> 1.15.0'
95+
gem 'rubocop', '~> 1.16.0'
9696
gem 'rubocop-performance', '~> 1.11.0'
9797
gem 'rubocop-rails', '~> 2.10.1'
9898
end

0 commit comments

Comments
 (0)