1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

73 Commits

Author SHA1 Message Date
Go MAEDA
bbd8e5a08a Update RuboCop to 1.42 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-02 06:32:18 +00:00
Go MAEDA
bf9585ac42 Update RuboCop to 1.41 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-23 02:23:23 +00:00
Go MAEDA
1ae0c73920 Update RuboCop Rails to 2.17 (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-29 08:06:14 +00:00
Go MAEDA
a4001d076b Disable RuboCop Rails/WhereExists (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 08:39:24 +00:00
Go MAEDA
f7e611dfd0 Disable RuboCop Style/SoleNestedConditional (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 09:11:10 +00:00
Go MAEDA
42b381985b Disable RuboCop Rails/SquishedSQLHeredocs (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-19 06:36:17 +00:00
Go MAEDA
60a7e6383e Disable RuboCop Style/Semicolon (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-19 05:46:24 +00:00
Go MAEDA
11fcea96bf Disable RuboCop Style/TernaryParentheses (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21795 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-03 06:23:18 +00:00
Go MAEDA
e61a02e18c Disable RuboCop Rails/Delegate (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 00:00:25 +00:00
Go MAEDA
f79bbf2d39 Update RuboCop to 1.31 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-30 09:42:33 +00:00
Marius Balteanu
af4ccb3f87 Drop support for Ruby 2.5 (#37159).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-27 22:26:48 +00:00
Go MAEDA
d2ce08e794 Update RuboCop to 1.28 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-01 05:51:51 +00:00
Go MAEDA
64b6a6fa3c RuboCop: Disable Rails/FilePath and Style/GlobalStdStream (#35081).
git-svn-id: http://svn.redmine.org/redmine/trunk@21343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-03 02:23:27 +00:00
Go MAEDA
fc82a72542 Update RuboCop Rails to 2.13 (#35207).
git-svn-id: http://svn.redmine.org/redmine/trunk@21332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:30:19 +00:00
Marius Balteanu
243c110265 Move @lib/diff.rb@ to @lib/redmine/string_array_diff@ and extract @Diffable@ class to its own file (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-27 20:42:10 +00:00
Go MAEDA
6a49e000c7 Update RuboCop Rails to 2.10 (#35207).
git-svn-id: http://svn.redmine.org/redmine/trunk@20989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-07 04:36:16 +00:00
Go MAEDA
86110b359a Set TargetRailsVersion of RuboCop to 6.1 (#29914).
git-svn-id: http://svn.redmine.org/redmine/trunk@20908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-03 01:38:03 +00:00
Go MAEDA
bb09ec1384 Set TargetRubyVersion of RuboCop to 2.5 (#31128).
git-svn-id: http://svn.redmine.org/redmine/trunk@20904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 17:05:00 +00:00
Go MAEDA
7ed5e8976b Reverts r20655.
git-svn-id: http://svn.redmine.org/redmine/trunk@20809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-17 13:17:43 +00:00
Go MAEDA
f4c093ee93 Reverts r20190.
git-svn-id: http://svn.redmine.org/redmine/trunk@20749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-17 12:38:41 +00:00
Go MAEDA
0a70e58490 Reverts r20488 and r20189.
git-svn-id: http://svn.redmine.org/redmine/trunk@20748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-17 12:35:36 +00:00
Go MAEDA
d4f04f96f0 Reverts r20658.
git-svn-id: http://svn.redmine.org/redmine/trunk@20713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-16 05:53:04 +00:00
Toshi MARUYAMA
bfca89519f add Layout/FirstHashElementIndentation to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-17 13:10:40 +00:00
Toshi MARUYAMA
c18f92eeb6 add Style/Lambda to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-17 13:10:22 +00:00
Toshi MARUYAMA
662d8935b0 add Layout/DotPosition to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-17 13:09:58 +00:00
Toshi MARUYAMA
e3f8562845 add Style/BlockComments to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-12 15:50:29 +00:00
Toshi MARUYAMA
a8a8b52614 add Layout/LineLength to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-11 14:17:11 +00:00
Go MAEDA
e13e6fb5d3 Update RuboCop to 1.5.2 (#32530).
Note: RubooCop 1.5.0 and 1.5.1 cannot be used for Redmine. This is because those versions of RuboCop requires regexp_parser >= 2.0 while Capybara requires regexp_parser ~> 1.5.


git-svn-id: http://svn.redmine.org/redmine/trunk@20579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-06 00:31:36 +00:00
Toshi MARUYAMA
8e650a9021 add Layout/ClosingParenthesisIndentation excluding files to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-04 13:58:34 +00:00
Toshi MARUYAMA
8453d9bf57 add Style/BlockDelimiters excluding files to .rubocop.yml (#34165)
git-svn-id: http://svn.redmine.org/redmine/trunk@20489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 13:44:55 +00:00
Toshi MARUYAMA
3a324b1f9f add Layout/SpaceInsideBlockBraces excluding files to .rubocop.yml (#34165)
git-svn-id: http://svn.redmine.org/redmine/trunk@20488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 13:44:47 +00:00
Toshi MARUYAMA
139cd818d8 add Layout/RescueEnsureAlignment excluding files to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 13:44:39 +00:00
Toshi MARUYAMA
63a731c695 add Layout/SpaceBeforeSemicolon excluding files to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 13:44:32 +00:00
Toshi MARUYAMA
19a7c7fd0f add Layout/EmptyLinesAroundAccessModifier excluding files to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 13:44:22 +00:00
Toshi MARUYAMA
d57674962a restore r18857 lost by r20171 (#32530)
git-svn-id: http://svn.redmine.org/redmine/trunk@20190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 15:17:21 +00:00
Toshi MARUYAMA
201412e5e6 restore r18851 lost by r20171 (#32530)
git-svn-id: http://svn.redmine.org/redmine/trunk@20189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 15:17:14 +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
2433f1d71b RuboCop: Set TargetRubyVersion to 2.4 (#34142).
git-svn-id: http://svn.redmine.org/redmine/trunk@20169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-23 00:17:13 +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
314b5edb7a RuboCop: Add "EnforcedStyle: sprintf" (#33126).
git-svn-id: http://svn.redmine.org/redmine/trunk@19643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 04:29:28 +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
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
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
58a2c91218 rubocop: remove Style/AsciiComments comment
git-svn-id: http://svn.redmine.org/redmine/trunk@19107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 17:05:24 +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
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
6f293870eb rubocop: revert r18852
git-svn-id: http://svn.redmine.org/redmine/trunk@18867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-26 12:53:48 +00:00
Toshi MARUYAMA
f4b45f9074 rubocop: set Layout/SpaceInsideHashLiteralBraces parameters used more than others
git-svn-id: http://svn.redmine.org/redmine/trunk@18857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 13:31:59 +00:00
Toshi MARUYAMA
136130d3f0 rubocop: set Layout/SpaceBeforeBlockBraces parameters used more than others
git-svn-id: http://svn.redmine.org/redmine/trunk@18852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 06:44:43 +00:00