Commit Graph

366 Commits

Author SHA1 Message Date
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
Toshi MARUYAMA
dc2ee7693c cleanup: rubocop: fix Style/MultilineIfModifier in test/mocks/open_id_authentication_mock.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:28:25 +00:00
Toshi MARUYAMA
945a8b5417 cleanup: rubocop: fix Layout/SpaceBeforeComma in test/mocks/open_id_authentication_mock.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:27:42 +00:00
Toshi MARUYAMA
68b4701a65 cleanup: rubocop: fix Style/MultilineIfModifier and Style/MultilineTernaryOperator in lib/redmine/scm/adapters/git_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:27:09 +00:00
Toshi MARUYAMA
59336036e4 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/textile_html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:26:37 +00:00
Toshi MARUYAMA
c37ad515f8 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:03:55 +00:00
Toshi MARUYAMA
dd6adffa8b cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/field_format/version_field_format_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:03:44 +00:00
Toshi MARUYAMA
c010ac7fcb cleanup: rubocop: fix Layout/AlignArguments in test/functional/journals_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:03:33 +00:00
Toshi MARUYAMA
aace24e561 cleanup: rubocop: fix Layout/AlignArguments in test/functional/my_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:03:22 +00:00
Toshi MARUYAMA
ce76bc8b16 cleanup: rubocop: fix Style/MultilineIfModifier in lib/redmine/scm/adapters/subversion_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 07:58:02 +00:00
Toshi MARUYAMA
80b0ee2cf8 cleanup: rubocop: fix Layout/AlignArguments in test/functional/roles_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 16:49:32 +00:00
Toshi MARUYAMA
0095bbbd72 cleanup: rubocop: fix Layout/ClosingHeredocIndentation in test/unit/lib/redmine/wiki_formatting_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:54:43 +00:00