Commit Graph

377 Commits

Author SHA1 Message Date
Go MAEDA
78dfef0978 Replace gsub with tr, delete, or squeeze (#34161).
git-svn-id: http://svn.redmine.org/redmine/trunk@20176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 06:46:50 +00:00
Go MAEDA
b46953247d Replace Hash#merge! with Hash#[]= (#34160).
git-svn-id: http://svn.redmine.org/redmine/trunk@20175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 05:33:23 +00:00
Go MAEDA
52cc3fdc24 Update RuboCop Performance to 1.8 (#34159).
git-svn-id: http://svn.redmine.org/redmine/trunk@20174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 02:19:29 +00:00
Go MAEDA
6ba3e85df8 Update RuboCop Rails to 2.8 (#32531).
git-svn-id: http://svn.redmine.org/redmine/trunk@20172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-23 01:30:53 +00:00
Go MAEDA
a92203595a Update RuboCop to 1.0 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-23 00:47:03 +00:00
Go MAEDA
b354566367 Update .rubocop_todo.yml (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-23 00:30:33 +00:00
Go MAEDA
8d65078826 Fix RuboCop offense Style/For (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-20 15:22:11 +00:00
Go MAEDA
84a4a4f8ed Fix a RuboCop offence Style/MethodDefParentheses (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-20 14:44:12 +00:00
Go MAEDA
6d31585041 RuboCop: Disable Rails/FilePath and Style/ClassVars in lib/redmine/twofa.rb (#1237).
git-svn-id: http://svn.redmine.org/redmine/trunk@19992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-29 07:25:13 +00:00
Go MAEDA
657ddfef45 RuboCop: Update .rubocop_todo.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@19987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-29 05:54:31 +00:00
Go MAEDA
c4ff55ac9b Update RuboCop to 0.81 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 05:45:22 +00:00
Go MAEDA
118cb5ab23 RuboCop: Update .rubocop_todo.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@19644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 05:14:55 +00:00
Go MAEDA
5873af5ae3 Update RuboCop to 0.80 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-19 13:45:34 +00:00
Go MAEDA
62fe933eed Ruby 2.7: Remove deprecated URI.escape/unescape (#32752).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-23 23:28:34 +00:00
Go MAEDA
a2b0daca3d Update RuboCop to 0.79 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-07 13:49:16 +00:00
Go MAEDA
7afb5b7f92 Update RuboCop to 0.78 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-26 06:33:32 +00:00
Go MAEDA
84ab182bc0 Update RuboCop Rails to 2.4 (#32531).
git-svn-id: http://svn.redmine.org/redmine/trunk@19321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-29 07:57:22 +00:00
Go MAEDA
4471399e33 Update RuboCop to 0.77 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-29 07:36:15 +00:00
Toshi MARUYAMA
22a0a7862e rubocop: remove test/functional/issues_controller_test.rb from Layout/MultilineHashBraceLayout fixed by previous revision
git-svn-id: http://svn.redmine.org/redmine/trunk@19312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 18:59:04 +00:00
Toshi MARUYAMA
bfeffd964b cleanup: rubocop: fix Layout/MultilineHashBraceLayout and Layout/SpaceInsideBlockBraces in app/models/auth_source_ldap.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 09:08:55 +00:00
Toshi MARUYAMA
28aebbe293 rubocop: generate .rubocop_todo.yml for Layout/MultilineHashBraceLayout
git-svn-id: http://svn.redmine.org/redmine/trunk@19282 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:46:58 +00:00
Toshi MARUYAMA
1bc6d701c9 cleanup: rubocop: fix Layout/SpaceInsidePercentLiteralDelimiters in app/models/project.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:46:37 +00:00
Toshi MARUYAMA
bd63d3bc71 cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression in test/functional/email_addresses_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:44:18 +00:00
Toshi MARUYAMA
91ea72e2b7 cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression in test/functional/account_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:44:07 +00:00
Toshi MARUYAMA
a7824755ee cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression in lib/redmine/field_format.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:19:50 +00:00
Toshi MARUYAMA
9d48754b32 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:19:05 +00:00
Toshi MARUYAMA
0bc794965f cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/helpers/gantt.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:43 +00:00
Toshi MARUYAMA
672d3f3917 cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/export/pdf.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:32 +00:00
Toshi MARUYAMA
4a60ebd848 cleanup: rubocop: fix Layout/SpaceInsideParens in app/controllers/application_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:21 +00:00
Toshi MARUYAMA
3a5c47f6e9 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:58:26 +00:00
Toshi MARUYAMA
109973a908 cleanup: rubocop: fix Layout/AlignArguments in test/test_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:58:14 +00:00
Toshi MARUYAMA
404f2fb54d cleanup: rubocop: fix Layout/IndentFirstArrayElement in app/models/setting.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:57:50 +00:00
Toshi MARUYAMA
17e05f3590 cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:57:39 +00:00
Toshi MARUYAMA
e164ad7f1f cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:40:52 +00:00
Toshi MARUYAMA
1b72a6a03e rubocop: remove test/unit/repository_test.rb from Layout/SpaceInsideParens fixed by r19224
git-svn-id: http://svn.redmine.org/redmine/trunk@19245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:40:41 +00:00
Toshi MARUYAMA
d65cdf018d cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/unit/version_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:45:13 +00:00
Toshi MARUYAMA
0957e56209 cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/unit/project_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:45:02 +00:00
Toshi MARUYAMA
3f6d9f74f7 cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/unit/issue_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:44:51 +00:00
Toshi MARUYAMA
b4fc7d45a6 cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/helpers/issues_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:44:40 +00:00
Toshi MARUYAMA
5b0ada0f32 cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/helpers/activities_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:44:29 +00:00
Toshi MARUYAMA
b30e155d07 cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/functional/settings_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:44:18 +00:00
Toshi MARUYAMA
b4bcf64dc7 cleanup: rubocop: fix Layout/SpaceInsideArrayLiteralBrackets in test/mocks/open_id_authentication_mock.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:26:33 +00:00
Toshi MARUYAMA
b4bfc18bb4 cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:26:22 +00:00
Toshi MARUYAMA
9b362ca043 cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:26:11 +00:00
Toshi MARUYAMA
caa88a2ed3 cleanup: rubocop: fix Layout/IndentationConsistency in test/mocks/open_id_authentication_mock.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:12:35 +00:00
Toshi MARUYAMA
80856bf517 cleanup: rubocop: fix Layout/IndentHeredoc in test/unit/lib/redmine/wiki_formatting_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:12:24 +00:00
Toshi MARUYAMA
141b07d0c7 cleanup: rubocop: fix Layout/EmptyLines in test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:12:12 +00:00
Toshi MARUYAMA
5600c3cf5a cleanup: rubocop: fix Style/MultilineIfModifier in app/models/repository/subversion.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:11:40 +00:00
Toshi MARUYAMA
857c009dba cleanup: rubocop: fix Layout/AlignArguments in test/unit/changeset_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 15:10:47 +00:00
Toshi MARUYAMA
07e9a824f0 cleanup: rubocop: fix Layout/SpaceInsideParens in test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:28:36 +00:00