ruboclean 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83d33545be3fee0dac0b9079635c279efa82b2af8b304880314be985e39302e1
4
- data.tar.gz: 955b57ad29b70210d72c2da05b8df40027f10323c0d4f3de09a98d4c72724faf
3
+ metadata.gz: 41bc02fc9d9ad37b2bdb400b6bad2062b9a14506ac638f0eef4cda9521e57a5e
4
+ data.tar.gz: 600e619ab9ffd002bc06fbc32ee6c800c049132c7fa2fa9418a169c0e4f21bbf
5
5
  SHA512:
6
- metadata.gz: 9a906081afe314920743999bc31471cd1c6e2837281409e9babf3bb68149dd7d094eb8a0942f9efa1bd4eec7f0a354a3d5f4530a4169b1ef039c0c4f61dab460
7
- data.tar.gz: '097a82f5d6654f12fc5104d0f463e01204dbbe3c143819c93d8567e13f6bc5d0ecb06512775732884cf3f11f63b9dc834ce77c7658689ebf3dfb2308193f9a4b'
6
+ metadata.gz: 8e3ba8605d1cc8f1a9a002c06a44aed7cb4e4dfff97f251a2092355a458fef7a6de20f0ce373ac1dcbb4299277db0db8dd4677ceb5970a8cf594dd0e4ff9325d
7
+ data.tar.gz: 3a55bc74201dfe99931b818ea439209542659362f52a3909bbbd16426b831f9fb7f4056f426c1080b757aa2590b07a88bfc7462bbf696ef4d55a488d57e933fe
@@ -15,30 +15,16 @@ jobs:
15
15
  fail-fast: false
16
16
  matrix:
17
17
  os: [ubuntu-latest]
18
- ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4', head]
18
+ ruby: ['3.3', '3.4', '4.0', head]
19
19
  runs-on: ${{ matrix.os }}
20
20
  steps:
21
- - uses: actions/checkout@v4
21
+ - uses: actions/checkout@v6
22
22
 
23
23
  - uses: ruby/setup-ruby@v1
24
24
  with:
25
25
  ruby-version: ${{ matrix.ruby }}
26
26
  bundler-cache: true
27
27
 
28
- # prepare CC test reporter
29
- - name: Download CC test reporter binary
30
- run: |
31
- curl -L ${CC_TEST_REPORTER_BINARY_URL} > ./cc-test-reporter
32
- chmod +x ./cc-test-reporter
33
- ./cc-test-reporter before-build
34
-
35
28
  # run tests
36
29
  - name: Run tests
37
30
  run: bin/test
38
-
39
- # report to CC
40
- - run: ./cc-test-reporter after-build --exit-code 1
41
- if: ${{ failure() }}
42
-
43
- - run: ./cc-test-reporter after-build --exit-code 0
44
- if: ${{ success() }}
data/.rubocop.yml CHANGED
@@ -1,12 +1,15 @@
1
1
  ---
2
2
 
3
- require:
3
+ plugins:
4
4
  - rubocop-minitest
5
5
  - rubocop-rake
6
6
 
7
7
  Gemspec/AddRuntimeDependency:
8
8
  Enabled: true
9
9
 
10
+ Gemspec/AttributeAssignment:
11
+ Enabled: true
12
+
10
13
  Gemspec/DeprecatedAttributeAssignment:
11
14
  Enabled: true
12
15
 
@@ -19,6 +22,9 @@ Gemspec/RequireMFA:
19
22
  Layout/BeginEndAlignment:
20
23
  Enabled: true
21
24
 
25
+ Layout/EmptyLinesAfterModuleInclusion:
26
+ Enabled: true
27
+
22
28
  Layout/EmptyLinesAroundAttributeAccessor:
23
29
  Enabled: true
24
30
 
@@ -46,6 +52,9 @@ Lint/AmbiguousOperatorPrecedence:
46
52
  Lint/AmbiguousRange:
47
53
  Enabled: true
48
54
 
55
+ Lint/ArrayLiteralInRegexp:
56
+ Enabled: true
57
+
49
58
  Lint/BinaryOperatorWithIdenticalOperands:
50
59
  Enabled: true
51
60
 
@@ -55,6 +64,15 @@ Lint/ConstantDefinitionInBlock:
55
64
  Lint/ConstantOverwrittenInRescue:
56
65
  Enabled: true
57
66
 
67
+ Lint/ConstantReassignment:
68
+ Enabled: true
69
+
70
+ Lint/CopDirectiveSyntax:
71
+ Enabled: true
72
+
73
+ Lint/DataDefineOverride:
74
+ Enabled: true
75
+
58
76
  Lint/DeprecatedConstants:
59
77
  Enabled: true
60
78
 
@@ -103,6 +121,9 @@ Lint/EmptyInPattern:
103
121
  Lint/FloatComparison:
104
122
  Enabled: true
105
123
 
124
+ Lint/HashNewWithKeywordArgumentsAsDefault:
125
+ Enabled: true
126
+
106
127
  Lint/IdentityComparison:
107
128
  Enabled: true
108
129
 
@@ -136,6 +157,9 @@ Lint/NonAtomicFileOperation:
136
157
  Lint/NumberedParameterAssignment:
137
158
  Enabled: true
138
159
 
160
+ Lint/NumericOperationWithConstantResult:
161
+ Enabled: true
162
+
139
163
  Lint/OrAssignmentToConstant:
140
164
  Enabled: true
141
165
 
@@ -151,6 +175,9 @@ Lint/RedundantDirGlobSort:
151
175
  Lint/RedundantRegexpQuantifiers:
152
176
  Enabled: true
153
177
 
178
+ Lint/RedundantTypeConversion:
179
+ Enabled: true
180
+
154
181
  Lint/RefinementImportMethods:
155
182
  Enabled: true
156
183
 
@@ -163,9 +190,15 @@ Lint/RequireRelativeSelfPath:
163
190
  Lint/SelfAssignment:
164
191
  Enabled: true
165
192
 
193
+ Lint/SharedMutableDefault:
194
+ Enabled: true
195
+
166
196
  Lint/StructNewOverride:
167
197
  Enabled: true
168
198
 
199
+ Lint/SuppressedExceptionInNumberConversion:
200
+ Enabled: true
201
+
169
202
  Lint/SymbolConversion:
170
203
  Enabled: true
171
204
 
@@ -181,6 +214,9 @@ Lint/TrailingCommaInAttributeDeclaration:
181
214
  Lint/TripleQuotes:
182
215
  Enabled: true
183
216
 
217
+ Lint/UnescapedBracketInRegexp:
218
+ Enabled: true
219
+
184
220
  Lint/UnexpectedBlockArity:
185
221
  Enabled: true
186
222
 
@@ -190,12 +226,27 @@ Lint/UnmodifiedReduceAccumulator:
190
226
  Lint/UnreachableLoop:
191
227
  Enabled: true
192
228
 
229
+ Lint/UnreachablePatternBranch:
230
+ Enabled: true
231
+
232
+ Lint/UselessConstantScoping:
233
+ Enabled: true
234
+
235
+ Lint/UselessDefaultValueArgument:
236
+ Enabled: true
237
+
238
+ Lint/UselessDefined:
239
+ Enabled: true
240
+
193
241
  Lint/UselessMethodDefinition:
194
242
  Enabled: true
195
243
 
196
244
  Lint/UselessNumericOperation:
197
245
  Enabled: true
198
246
 
247
+ Lint/UselessOr:
248
+ Enabled: true
249
+
199
250
  Lint/UselessRescue:
200
251
  Enabled: true
201
252
 
@@ -317,6 +368,9 @@ Minitest/UselessAssertion:
317
368
  Naming/BlockForwarding:
318
369
  Enabled: true
319
370
 
371
+ Naming/PredicateMethod:
372
+ Enabled: true
373
+
320
374
  Security/CompoundHash:
321
375
  Enabled: true
322
376
 
@@ -326,6 +380,9 @@ Security/IoMethods:
326
380
  Style/AccessorGrouping:
327
381
  Enabled: true
328
382
 
383
+ Style/AmbiguousEndlessMethodDefinition:
384
+ Enabled: true
385
+
329
386
  Style/ArgumentsForwarding:
330
387
  Enabled: true
331
388
 
@@ -335,18 +392,33 @@ Style/ArrayCoercion:
335
392
  Style/ArrayIntersect:
336
393
  Enabled: true
337
394
 
395
+ Style/ArrayIntersectWithSingleElement:
396
+ Enabled: true
397
+
338
398
  Style/BisectedAttrAccessor:
339
399
  Enabled: true
340
400
 
401
+ Style/BitwisePredicate:
402
+ Enabled: true
403
+
341
404
  Style/CaseLikeIf:
342
405
  Enabled: true
343
406
 
344
407
  Style/CollectionCompact:
345
408
  Enabled: true
346
409
 
410
+ Style/CollectionQuerying:
411
+ Enabled: true
412
+
413
+ Style/CombinableDefined:
414
+ Enabled: true
415
+
347
416
  Style/CombinableLoops:
348
417
  Enabled: true
349
418
 
419
+ Style/ComparableBetween:
420
+ Enabled: true
421
+
350
422
  Style/ComparableClamp:
351
423
  Enabled: true
352
424
 
@@ -356,15 +428,24 @@ Style/ConcatArrayLiterals:
356
428
  Style/DataInheritance:
357
429
  Enabled: true
358
430
 
431
+ Style/DigChain:
432
+ Enabled: true
433
+
359
434
  Style/DirEmpty:
360
435
  Enabled: true
361
436
 
362
437
  Style/DocumentDynamicEvalDefinition:
363
438
  Enabled: true
364
439
 
440
+ Style/EmptyClassDefinition:
441
+ Enabled: true
442
+
365
443
  Style/EmptyHeredoc:
366
444
  Enabled: true
367
445
 
446
+ Style/EmptyStringInsideInterpolation:
447
+ Enabled: true
448
+
368
449
  Style/EndlessMethod:
369
450
  Enabled: true
370
451
 
@@ -386,9 +467,18 @@ Style/FetchEnvVar:
386
467
  Style/FileEmpty:
387
468
  Enabled: true
388
469
 
470
+ Style/FileNull:
471
+ Enabled: true
472
+
473
+ Style/FileOpen:
474
+ Enabled: true
475
+
389
476
  Style/FileRead:
390
477
  Enabled: true
391
478
 
479
+ Style/FileTouch:
480
+ Enabled: true
481
+
392
482
  Style/FileWrite:
393
483
  Enabled: true
394
484
 
@@ -407,9 +497,15 @@ Style/HashEachMethods:
407
497
  Style/HashExcept:
408
498
  Enabled: true
409
499
 
500
+ Style/HashFetchChain:
501
+ Enabled: true
502
+
410
503
  Style/HashLikeCase:
411
504
  Enabled: true
412
505
 
506
+ Style/HashSlice:
507
+ Enabled: true
508
+
413
509
  Style/HashTransformKeys:
414
510
  Enabled: true
415
511
 
@@ -422,6 +518,15 @@ Style/IfWithBooleanLiteralBranches:
422
518
  Style/InPatternThen:
423
519
  Enabled: true
424
520
 
521
+ Style/ItAssignment:
522
+ Enabled: true
523
+
524
+ Style/ItBlockParameter:
525
+ Enabled: true
526
+
527
+ Style/KeywordArgumentsMerging:
528
+ Enabled: true
529
+
425
530
  Style/KeywordParametersOrder:
426
531
  Enabled: true
427
532
 
@@ -434,6 +539,9 @@ Style/MapCompactWithConditionalBlock:
434
539
  Style/MapIntoArray:
435
540
  Enabled: true
436
541
 
542
+ Style/MapJoin:
543
+ Enabled: true
544
+
437
545
  Style/MapToHash:
438
546
  Enabled: true
439
547
 
@@ -443,12 +551,18 @@ Style/MapToSet:
443
551
  Style/MinMaxComparison:
444
552
  Enabled: true
445
553
 
554
+ Style/ModuleMemberExistenceCheck:
555
+ Enabled: true
556
+
446
557
  Style/MultilineInPatternThen:
447
558
  Enabled: true
448
559
 
449
560
  Style/NegatedIfElseCondition:
450
561
  Enabled: true
451
562
 
563
+ Style/NegativeArrayIndex:
564
+ Enabled: true
565
+
452
566
  Style/NestedFileDirname:
453
567
  Enabled: true
454
568
 
@@ -464,6 +578,9 @@ Style/NumberedParametersLimit:
464
578
  Style/ObjectThen:
465
579
  Enabled: true
466
580
 
581
+ Style/OneClassPerFile:
582
+ Enabled: true
583
+
467
584
  Style/OpenStructUse:
468
585
  Enabled: true
469
586
 
@@ -473,15 +590,27 @@ Style/OperatorMethodCall:
473
590
  Style/OptionalBooleanParameter:
474
591
  Enabled: true
475
592
 
593
+ Style/PartitionInsteadOfDoubleSelect:
594
+ Enabled: true
595
+
596
+ Style/PredicateWithKind:
597
+ Enabled: true
598
+
476
599
  Style/QuotedSymbols:
477
600
  Enabled: true
478
601
 
602
+ Style/ReduceToHash:
603
+ Enabled: true
604
+
479
605
  Style/RedundantArgument:
480
606
  Enabled: true
481
607
 
482
608
  Style/RedundantArrayConstructor:
483
609
  Enabled: true
484
610
 
611
+ Style/RedundantArrayFlatten:
612
+ Enabled: true
613
+
485
614
  Style/RedundantAssignment:
486
615
  Enabled: true
487
616
 
@@ -506,6 +635,9 @@ Style/RedundantFileExtensionInRequire:
506
635
  Style/RedundantFilterChain:
507
636
  Enabled: true
508
637
 
638
+ Style/RedundantFormat:
639
+ Enabled: true
640
+
509
641
  Style/RedundantHeredocDelimiterQuotes:
510
642
  Enabled: true
511
643
 
@@ -518,6 +650,9 @@ Style/RedundantInterpolationUnfreeze:
518
650
  Style/RedundantLineContinuation:
519
651
  Enabled: true
520
652
 
653
+ Style/RedundantMinMaxBy:
654
+ Enabled: true
655
+
521
656
  Style/RedundantRegexpArgument:
522
657
  Enabled: true
523
658
 
@@ -542,6 +677,18 @@ Style/RedundantStringEscape:
542
677
  Style/ReturnNilInPredicateMethodDefinition:
543
678
  Enabled: true
544
679
 
680
+ Style/ReverseFind:
681
+ Enabled: true
682
+
683
+ Style/SafeNavigationChainLength:
684
+ Enabled: true
685
+
686
+ Style/SelectByKind:
687
+ Enabled: true
688
+
689
+ Style/SelectByRange:
690
+ Enabled: true
691
+
545
692
  Style/SelectByRegexp:
546
693
  Enabled: true
547
694
 
@@ -579,6 +726,9 @@ Style/SuperWithArgsParentheses:
579
726
  Style/SwapValues:
580
727
  Enabled: true
581
728
 
729
+ Style/TallyMethod:
730
+ Enabled: true
731
+
582
732
  Style/YAMLFileRead:
583
733
  Enabled: true
584
734
 
data/Gemfile CHANGED
@@ -6,9 +6,10 @@ gemspec
6
6
 
7
7
  group :development do
8
8
  gem "minitest"
9
+ gem "minitest-mock"
9
10
  gem "rake"
10
- gem "rubocop"
11
+ gem "rubocop", require: false
11
12
  gem "rubocop-minitest", require: false
12
13
  gem "rubocop-rake", require: false
13
- gem "simplecov", "< 0.18"
14
+ gem "simplecov", require: false
14
15
  end
data/Gemfile.lock CHANGED
@@ -1,60 +1,104 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruboclean (0.7.1)
4
+ ruboclean (0.8.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.2)
9
+ ast (2.4.3)
10
10
  docile (1.4.1)
11
- json (2.7.2)
12
- language_server-protocol (3.17.0.3)
13
- minitest (5.25.1)
14
- parallel (1.26.3)
15
- parser (3.3.5.0)
11
+ drb (2.2.3)
12
+ json (2.19.5)
13
+ language_server-protocol (3.17.0.5)
14
+ lint_roller (1.1.0)
15
+ minitest (6.0.6)
16
+ drb (~> 2.0)
17
+ prism (~> 1.5)
18
+ minitest-mock (5.27.0)
19
+ parallel (2.1.0)
20
+ parser (3.3.11.1)
16
21
  ast (~> 2.4.1)
17
22
  racc
23
+ prism (1.9.0)
18
24
  racc (1.8.1)
19
25
  rainbow (3.1.1)
20
- rake (13.2.1)
21
- regexp_parser (2.9.2)
22
- rubocop (1.67.0)
26
+ rake (13.4.2)
27
+ regexp_parser (2.12.0)
28
+ rubocop (1.86.2)
23
29
  json (~> 2.3)
24
- language_server-protocol (>= 3.17.0)
25
- parallel (~> 1.10)
30
+ language_server-protocol (~> 3.17.0.2)
31
+ lint_roller (~> 1.1.0)
32
+ parallel (>= 1.10)
26
33
  parser (>= 3.3.0.2)
27
34
  rainbow (>= 2.2.2, < 4.0)
28
- regexp_parser (>= 2.4, < 3.0)
29
- rubocop-ast (>= 1.32.2, < 2.0)
35
+ regexp_parser (>= 2.9.3, < 3.0)
36
+ rubocop-ast (>= 1.49.0, < 2.0)
30
37
  ruby-progressbar (~> 1.7)
31
- unicode-display_width (>= 2.4.0, < 3.0)
32
- rubocop-ast (1.32.3)
33
- parser (>= 3.3.1.0)
34
- rubocop-minitest (0.36.0)
35
- rubocop (>= 1.61, < 2.0)
36
- rubocop-ast (>= 1.31.1, < 2.0)
37
- rubocop-rake (0.6.0)
38
- rubocop (~> 1.0)
38
+ unicode-display_width (>= 2.4.0, < 4.0)
39
+ rubocop-ast (1.49.1)
40
+ parser (>= 3.3.7.2)
41
+ prism (~> 1.7)
42
+ rubocop-minitest (0.39.1)
43
+ lint_roller (~> 1.1)
44
+ rubocop (>= 1.75.0, < 2.0)
45
+ rubocop-ast (>= 1.38.0, < 2.0)
46
+ rubocop-rake (0.7.1)
47
+ lint_roller (~> 1.1)
48
+ rubocop (>= 1.72.1)
39
49
  ruby-progressbar (1.13.0)
40
- simplecov (0.17.1)
50
+ simplecov (0.22.0)
41
51
  docile (~> 1.1)
42
- json (>= 1.8, < 3)
43
- simplecov-html (~> 0.10.0)
44
- simplecov-html (0.10.2)
45
- unicode-display_width (2.6.0)
52
+ simplecov-html (~> 0.11)
53
+ simplecov_json_formatter (~> 0.1)
54
+ simplecov-html (0.13.2)
55
+ simplecov_json_formatter (0.1.4)
56
+ unicode-display_width (3.2.0)
57
+ unicode-emoji (~> 4.1)
58
+ unicode-emoji (4.2.0)
46
59
 
47
60
  PLATFORMS
61
+ arm64-darwin-25
48
62
  ruby
49
63
 
50
64
  DEPENDENCIES
51
65
  minitest
66
+ minitest-mock
52
67
  rake
53
68
  ruboclean!
54
69
  rubocop
55
70
  rubocop-minitest
56
71
  rubocop-rake
57
- simplecov (< 0.18)
72
+ simplecov
73
+
74
+ CHECKSUMS
75
+ ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
76
+ bundler (4.0.11) sha256=5bcec0fb78302e48d02ee46f10ee6e6942be647ba5b44a6d1ddfda9a240ce785
77
+ docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
78
+ drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
79
+ json (2.19.5) sha256=218a18553e4801d579ca7e0f5bc72bafd776d7397238a1fb4e74db5b0a812c59
80
+ language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
81
+ lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
82
+ minitest (6.0.6) sha256=153ea36d1d987a62942382b61075745042a2b3123b1cd48f4c3675af9cc7d6f1
83
+ minitest-mock (5.27.0) sha256=7040ed7185417a966920987eaa6eaf1be4ea1fc5b25bb03ff4703f98564a55b0
84
+ parallel (2.1.0) sha256=b35258865c2e31134c5ecb708beaaf6772adf9d5efae28e93e99260877b09356
85
+ parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54
86
+ prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
87
+ racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
88
+ rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
89
+ rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
90
+ regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb
91
+ ruboclean (0.8.0)
92
+ rubocop (1.86.2) sha256=bb2e97f635eda42c448f2588f4a6ff78f221b8bdfdf65b1e9b07fbd57521b45d
93
+ rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
94
+ rubocop-minitest (0.39.1) sha256=998398d6da4026d297f0f9bf709a1eac5f2b6947c24431f94af08138510cf7ed
95
+ rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
96
+ ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
97
+ simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
98
+ simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
99
+ simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
100
+ unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
101
+ unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
58
102
 
59
103
  BUNDLED WITH
60
- 2.4.13
104
+ 4.0.11
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **ruboclean** puts `.rubocop.yml` into order. It groups the configuration into three groups:
8
8
 
9
- 1. "Base"-configuration like `require`, `inherit_from`, etc.
9
+ 1. "Base"-configuration like `plugins`, `inherit_from`, etc.
10
10
  2. `Namespaces`
11
11
  3. `Namespace/Cops`
12
12
 
@@ -34,7 +34,7 @@ AllCops:
34
34
  - path_without_files/**/* # Will be removed if no files within pattern exist. Skip with --preserve-paths option.
35
35
 
36
36
  # Preceding comments will be removed unless the --preserve-comments option is used.
37
- require:
37
+ plugins:
38
38
  - rubocop-rails # Inline comments will always be removed.
39
39
  ```
40
40
 
@@ -43,7 +43,7 @@ require:
43
43
  ```yml
44
44
  ---
45
45
 
46
- require:
46
+ plugins:
47
47
  - rubocop-rails
48
48
 
49
49
  AllCops:
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Ruboclean
4
4
  # Groups the rubocop configuration items into three categories:
5
- # - base: base configuration like 'require', 'inherit_from', etc
5
+ # - base: base configuration like 'plugins', 'inherit_from', etc
6
6
  # - namespaces: every item which does **not** include an "/"
7
7
  # - cops: every item which **includes** an "/"
8
8
  class Grouper
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ruboclean
4
- VERSION = "0.7.1"
4
+ VERSION = "0.8.0"
5
5
  end
data/ruboclean.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "Cleans and orders settings in .rubocop.yml"
13
13
  spec.homepage = "https://github.com/lxxxvi/ruboclean"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.3.0")
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
18
  spec.metadata["source_code_uri"] = "https://github.com/lxxxvi/ruboclean"
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboclean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lxxxvi
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-06 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Cleans and orders settings in .rubocop.yml
14
13
  email:
@@ -53,7 +52,6 @@ metadata:
53
52
  source_code_uri: https://github.com/lxxxvi/ruboclean
54
53
  changelog_uri: https://github.com/lxxxvi/ruboclean/blob/master/CHANGELOG.md
55
54
  rubygems_mfa_required: 'true'
56
- post_install_message:
57
55
  rdoc_options: []
58
56
  require_paths:
59
57
  - lib
@@ -61,15 +59,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
59
  requirements:
62
60
  - - ">="
63
61
  - !ruby/object:Gem::Version
64
- version: 2.7.0
62
+ version: 3.3.0
65
63
  required_rubygems_version: !ruby/object:Gem::Requirement
66
64
  requirements:
67
65
  - - ">="
68
66
  - !ruby/object:Gem::Version
69
67
  version: '0'
70
68
  requirements: []
71
- rubygems_version: 3.5.23
72
- signing_key:
69
+ rubygems_version: 4.0.10
73
70
  specification_version: 4
74
71
  summary: Cleans and orders settings in .rubocop.yml
75
72
  test_files: []