Marius Balteanu
dcf69e509a
Move custom DateValidator from @lib/redmine/core_ext/active_record.rb@ to @app/validators/date_validator.rb@ ( #29914 , #32938 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-24 09:57:56 +00:00
Marius Balteanu
fe5c3f81de
Revert changes made in r21251 due to a test fail ( #29914 , #32938 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-21 06:30:52 +00:00
Marius Balteanu
0dd9fbb806
Update .rubocop_todo and fix Style/AndOr offense ( #29914 , #32938 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 22:21:19 +00:00
Marius Balteanu
7125fd70ce
Split multiple classes and modules that existed in the same file ( #29914 , #32938 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 22:18:49 +00:00
Marius Balteanu
a256addaf7
Fix rubocop "Style/CombinableLoops" offense in wiki_page.rb ( #29914 , #32938 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 22:02:03 +00:00
Go MAEDA
f75756e870
Update RuboCop Rails to 2.11 ( #35207 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-22 05:10:53 +00:00
Go MAEDA
0e25b4ebdc
Update RuboCop to 1.17 ( #35136 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-19 01:54:14 +00:00
Go MAEDA
29f86644fe
Update RuboCop to 1.16 ( #35136 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-06 03:39:54 +00:00
Go MAEDA
2115569e83
Update RuboCop to 1.15 ( #35136 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-18 02:42:16 +00:00
Go MAEDA
53b8bf93db
Update RuboCop to 1.14 ( #35136 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-07 04:16:04 +00:00
Go MAEDA
47e3731898
Regenerate .rubocop_todo.yml ( #35136 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-07 04:07:15 +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
4d42e7a98f
Update .rubocop_todo.yml ( #31128 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 16:27:27 +00:00
Go MAEDA
63ef0c9eb7
Update RuboCop to 1.12.0 ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 01:08:38 +00:00
Go MAEDA
d148eee1d5
Update .rubocop_todo.yml ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 00:42:55 +00:00
Go MAEDA
7e4f557591
Disable RuboCop Layout/DotPosition for now.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-17 13:30:32 +00:00
Go MAEDA
d19e0f987a
Update RuboCop Performance to 1.10 ( #34159 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-02 02:09:51 +00:00
Go MAEDA
fe2fa3f10c
Update RuboCop to 1.11.0 ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-02 01:57:39 +00:00
Go MAEDA
f8d96bb359
Update RuboCop to 1.10.0 ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-17 13:47:34 +00:00
Go MAEDA
f97b9f0fe6
Update .rubocop_todo.yml ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-17 13:38:31 +00:00
Go MAEDA
8bdea4c1cb
Update RuboCop to 1.9.1 ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-07 06:01:47 +00:00
Go MAEDA
9b7bbfea5f
Update RuboCop to 1.8.1 ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-16 06:38:30 +00:00
Go MAEDA
7ab2680548
Update .rubocop_todo.yml ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-16 06:27:29 +00:00
Go MAEDA
62a212faa4
Update RuboCop Rails to 2.9 ( #32531 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-09 04:14:42 +00:00
Go MAEDA
7b926116e2
Update RuboCop Performance to 1.9 ( #34159 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-06 01:42:56 +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
Go MAEDA
64f68a8d84
Update .rubocop_todo.yml ( #32530 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-06 00:21:09 +00:00
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