Commit Graph

377 Commits

Author SHA1 Message Date
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
Toshi MARUYAMA
19d0fe302b rubocop: remove test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb from Layout/ClosingHeredocIndentation and Layout/IndentHeredoc fixed by previous revisions
git-svn-id: http://svn.redmine.org/redmine/trunk@19169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:35:31 +00:00
Toshi MARUYAMA
81a8e8b398 rubocop: remove test/unit/repository_git_test.rb from Layout/IndentFirstArrayElement fixed by previous revisions
git-svn-id: http://svn.redmine.org/redmine/trunk@19142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 12:47:03 +00:00
Toshi MARUYAMA
16bacb24f4 rubocop: generate .rubocop_todo.yml for Layout/EmptyLinesAroundModuleBody
git-svn-id: http://svn.redmine.org/redmine/trunk@19135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 12:45:45 +00:00
Toshi MARUYAMA
a99b4e6d15 cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/scm/adapters/subversion_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 10:56:24 +00:00
Toshi MARUYAMA
4bb24015e6 rubocop: generate .rubocop_todo.yml for Layout/EmptyLinesAroundClassBody
git-svn-id: http://svn.redmine.org/redmine/trunk@19128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 10:46:25 +00:00
Toshi MARUYAMA
2ddbc7ff4d rubocop: generate .rubocop_todo.yml for Style/AccessModifierDeclarations
git-svn-id: http://svn.redmine.org/redmine/trunk@19120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 05:38:34 +00:00
Toshi MARUYAMA
f20e125bc1 rubocop: disable Style/TrailingCommaInHashLiteral
git-svn-id: http://svn.redmine.org/redmine/trunk@19109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 17:12:40 +00:00
Toshi MARUYAMA
8db904c401 rubocop: use "EnforcedStyle: empty" for Style/EmptyElse
git-svn-id: http://svn.redmine.org/redmine/trunk@19108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 17:05:35 +00:00
Toshi MARUYAMA
33df60a6fa rubocop: move Layout/CaseIndentation exclude entry from .rubocop_todo.yml to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@19106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 17:05:13 +00:00
Toshi MARUYAMA
bd00d16d0f rubocop: fix Lint/IneffectiveAccessModifier in app/models/auth_source_ldap.rb (#32470)
git-svn-id: http://svn.redmine.org/redmine/trunk@19085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-16 13:10:51 +00:00
Toshi MARUYAMA
03e719b12b regenerate .rubocop_todo.yml (#32470)
git-svn-id: http://svn.redmine.org/redmine/trunk@19083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-16 12:46:43 +00:00
Toshi MARUYAMA
829a14d431 cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression and Style/RedundantParentheses and Layout/SpaceAfterNot in test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-16 12:38:38 +00:00
Toshi MARUYAMA
e7121752c2 rubocop: enable Layout/AlignArguments
git-svn-id: http://svn.redmine.org/redmine/trunk@19058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 18:17:25 +00:00
Toshi MARUYAMA
2738389fbd cleanup: rubocop: fix Layout/MultilineArrayBraceLayout in app/helpers/projects_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 17:57:35 +00:00
Toshi MARUYAMA
82c0eaadc3 cleanup: rubocop: fix Layout/IndentFirstArrayElement in app/models/project.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 17:57:24 +00:00
Toshi MARUYAMA
3dff73502a cleanup: rubocop: fix Layout/EmptyLinesAroundAccessModifier in lib/redmine/syntax_highlighting.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 17:57:11 +00:00
Toshi MARUYAMA
02876fb1bf cleanup: rubocop: fix Layout/BlockEndNewline in app/models/message.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 17:57:00 +00:00
Toshi MARUYAMA
05d9791e69 cleanup: rubocop: fix Layout/MultilineBlockLayout in app/controllers/auto_completes_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 17:11:06 +00:00
Toshi MARUYAMA
520fd7dd00 cleanup: rubocop: fix Layout/EmptyLinesAroundAccessModifier in app/controllers/previews_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 17:10:54 +00:00
Toshi MARUYAMA
fb84731bcd cleanup: rubocop: fix Layout/BlockAlignment in app/models/time_entry.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:05:07 +00:00
Toshi MARUYAMA
d710360039 rubocop: remove test/integration/api_test/issues_test.rb from Layout/IndentFirstArrayElement fixed by r19016
git-svn-id: http://svn.redmine.org/redmine/trunk@19022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 15:26:26 +00:00
Toshi MARUYAMA
2f4b4d47dd cleanup: rubocop: fix Layout/IndentFirstArrayElement in app/helpers/workflows_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:11:14 +00:00
Toshi MARUYAMA
bbef1d6c0f cleanup: rubocop: fix Layout/ClosingHeredocIndentation and Layout/IndentHeredoc in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:11:02 +00:00
Toshi MARUYAMA
97d1bafb93 cleanup: rubocop: fix Layout/BlockEndNewline in app/controllers/files_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 11:53:59 +00:00
Toshi MARUYAMA
b31b57f82d cleanup: rubocop: fix Layout/BlockAlignment in app/models/project.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 11:53:48 +00:00
Toshi MARUYAMA
d2cf7781ab rubocop: remove app/controllers/auth_sources_controller.rb from Layout/MultilineBlockLayout fixed by r19004
git-svn-id: http://svn.redmine.org/redmine/trunk@19005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 11:53:04 +00:00
Toshi MARUYAMA
2575805d3e cleanup: rubocop: fix Layout/BlockEndNewline in app/controllers/auth_sources_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 09:19:02 +00:00
Toshi MARUYAMA
bc0d654802 cleanup: rubocop: fix Layout/BlockAlignment in app/models/principal.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 09:18:51 +00:00
Toshi MARUYAMA
09af8e6683 cleanup: rubocop: fix Layout/ClosingHeredocIndentation and Layout/IndentHeredoc in test/unit/lib/redmine/wiki_formatting/macros_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 05:24:57 +00:00
Toshi MARUYAMA
5d543b637e rubocop: remove test/unit/lib/redmine/unified_diff_test.rb from Layout/ClosingHeredocIndentation fixed by previous revisions
git-svn-id: http://svn.redmine.org/redmine/trunk@18977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 00:47:04 +00:00
Toshi MARUYAMA
b914f86eab rubocop: remove test/unit/lib/redmine/unified_diff_test.rb from Layout/IndentHeredoc fixed by previous revisions
git-svn-id: http://svn.redmine.org/redmine/trunk@18976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 15:15:44 +00:00
Toshi MARUYAMA
5da1580755 cleanup: rubocop: fix Layout/IndentHeredoc in test/unit/lib/redmine/syntax_highlighting/rouge_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 14:53:47 +00:00
Toshi MARUYAMA
c40714edd1 cleanup: rubocop: fix Style/MultilineTernaryOperator and Style/NestedTernaryOperator in app/models/issue_relation.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 14:53:23 +00:00
Toshi MARUYAMA
7bcb299a3c cleanup: rubocop: fix Style/MultilineTernaryOperator in app/models/mail_handler.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 14:53:11 +00:00
Toshi MARUYAMA
2870220c8d cleanup: rubocop: fix Style/RedundantInterpolation in test/unit/repository_mercurial_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 12:34:44 +00:00
Toshi MARUYAMA
11ad4d8d02 cleanup: rubocop: fix Style/MultilineBlockChain in lib/redmine/scm/adapters/mercurial_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 12:34:33 +00:00
Toshi MARUYAMA
5d7bddd65c cleanup: rubocop: fix Layout/SpaceInsideParens in lib/redmine/scm/adapters/mercurial_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 12:34:21 +00:00
Toshi MARUYAMA
7d03976e6a cleanup: rubocop: fix Layout/SpaceInsideParens in app/models/repository/mercurial.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 12:34:09 +00:00
Toshi MARUYAMA
08918ce867 cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in app/models/repository/cvs.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 12:04:03 +00:00