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

104 Commits

Author SHA1 Message Date
Go MAEDA
774d58d326 Update Rubocop Rails to 2.32 (#42044).
git-svn-id: https://svn.redmine.org/redmine/trunk@23826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-08 07:47:02 +00:00
Go MAEDA
76a53dafe8 Update RuboCop to 1.76 (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-08 02:23:01 +00:00
Marius Balteanu
29872344b3 Drop support for Ruby 3.1 (#42496).
git-svn-id: https://svn.redmine.org/redmine/trunk@23694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 07:55:11 +00:00
Go MAEDA
3d0a5dd763 Disable RuboCop Style/BarePercentLiterals (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 05:09:41 +00:00
Go MAEDA
2f443f840c Update Rubocop Rails to 2.31 (#42044).
git-svn-id: https://svn.redmine.org/redmine/trunk@23640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 03:43:01 +00:00
Go MAEDA
92b7df7d4e Update Rubocop Performance to 1.25 (#41761).
git-svn-id: https://svn.redmine.org/redmine/trunk@23639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 03:34:27 +00:00
Go MAEDA
5f49539633 Update RuboCop to 1.73 (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:39:39 +00:00
Go MAEDA
c77c1d078b Exclude known RuboCop Lint/UselessConstantScoping offenses to prevent regressions while allowing new checks (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 08:44:08 +00:00
Go MAEDA
dde3fe9bfe Increase ComparisonsThreshold for RuboCop's Style/MultipleComparison to 3 (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-09 05:43:11 +00:00
Go MAEDA
7ec182925e Disable RuboCop Rails/SkipsModelValidations (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@23027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-06 05:24:25 +00:00
Go MAEDA
8c148bf6d0 Set Rubocop TargetRubyVersion to 3.1 (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 00:58:24 +00:00
Go MAEDA
218b1ecae5 Update RuboCop target Rails version to 7.2 (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 09:15:56 +00:00
Go MAEDA
acd1e2def8 Disable RuboCop Style/FormatString (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-22 08:17:27 +00:00
Go MAEDA
e15db65a90 Disable RuboCop Style/PerlBackrefs (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 08:04:22 +00:00
Go MAEDA
8e7dce288b Disable RuboCop Style/NumericPredicate (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-06 00:53:06 +00:00
Marius Balteanu
9ef1cdd375 Updates list of excluded files for Rubocop "Rails/BulkChangeTable" offense.
git-svn-id: https://svn.redmine.org/redmine/trunk@22815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-06 20:28:31 +00:00
Marius Balteanu
306ecf382b Updates list of excluded files for Rubocop "Rails/BulkChangeTable" offense.
git-svn-id: https://svn.redmine.org/redmine/trunk@22814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-06 20:05:28 +00:00
Go MAEDA
8716ce1cc3 Set TargetRubyVersion of RuboCop to 3.0 (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 06:23:38 +00:00
Marius Balteanu
13aeb797cf Use ApplicationRecord instead of ActiveRecord::Base (#38975).
Patch by Minoru Maeda (@maeda-m).

git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 11:52:38 +00:00
Go MAEDA
c8640d7ffc Fix RuboCop offense Style/HashEachMethods (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 08:13:48 +00:00
Go MAEDA
b552720590 Disable RuboCop Style/RedundantParentheses (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:12:49 +00:00
Go MAEDA
253e15e575 Update RuboCop target Rails version to 7.1 (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-30 08:28:37 +00:00
Go MAEDA
fba6d08b68 Disable RuboCop Style/InverseMethods (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22348 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 14:56:35 +00:00
Go MAEDA
1a1ea18307 Update RuboCop Rails to 2.21 (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-13 02:06:54 +00:00
Go MAEDA
679ba509da Update RuboCop to 1.56 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-09 23:42:42 +00:00
Go MAEDA
87dc1d9058 Update RuboCop Rails to 2.19 (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 11:51:01 +00:00
Go MAEDA
817d8100c1 Update RuboCop Rails to 2.18 (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-25 02:39:54 +00:00
Go MAEDA
f27de35338 Remove redundant "Enabled: true" in .rubocop.yml (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-24 23:31:08 +00:00
Go MAEDA
251a4bfd67 Update RuboCop to 1.48 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-24 09:47:19 +00:00
Go MAEDA
029bab2767 Set RuboCop TargetRubyVersion to 2.7 (#38134).
git-svn-id: https://svn.redmine.org/redmine/trunk@22057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:46:29 +00:00
Go MAEDA
c53bf36b9a Raise MinSize for RuboCop Performance/CollectionLiteralInLoop to 4 (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:25:07 +00:00
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