renuocop 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/README.md +1 -1
- data/config/base.yml +3 -102
- data/lib/renuocop/version.rb +1 -1
- metadata +34 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a5bd37f8c3e243e5a6905cc586e244407a37728a0ffee5573354f659b33836d
|
4
|
+
data.tar.gz: 580d3dce3b971b449c6591e90225ea476d8266cb53ad7c37d8807a0410fd3874
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 952f9962a101d1d1c7ea6ad8674bae90c954f6d201be79443f945ddd7c1906dc474915fe57ac3807373f9828f0bee30c207b4ae17b72ac6d88a0329cc2f1cee9
|
7
|
+
data.tar.gz: 686f5fd87de87810cda1791413f16a897c7fd1f6f2c5178c67f40689dabc9fdc0ecbee994854cd133fa2f2d2f083ed07eefde9d8d1eae3912f2b4ad37dc9c879
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
|
+
## [0.7.0]
|
2
|
+
|
3
|
+
- Increase minimum standardrb version to 1.35.2
|
4
|
+
|
5
|
+
## [0.6.0]
|
6
|
+
|
7
|
+
- Enable rubocop-capybara and rubocop-factory_bot by default
|
8
|
+
|
9
|
+
## [0.5.0]
|
10
|
+
|
11
|
+
- Disable `Capybara/ClickLinkOrButtonStyle`
|
12
|
+
|
1
13
|
## [0.4.1]
|
2
14
|
|
3
|
-
-
|
15
|
+
- Disable `Style/YodaExpression`
|
4
16
|
|
5
17
|
## [0.1.0] - 2023-01-04
|
6
18
|
|
data/README.md
CHANGED
data/config/base.yml
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
require:
|
2
|
+
- rubocop-capybara
|
3
|
+
- rubocop-factory_bot
|
2
4
|
- rubocop-performance
|
3
5
|
- rubocop-rails
|
4
6
|
- rubocop-rspec
|
@@ -7,24 +9,9 @@ require:
|
|
7
9
|
inherit_gem:
|
8
10
|
standard: config/base.yml
|
9
11
|
|
10
|
-
Bundler/DuplicatedGem:
|
11
|
-
Enabled: true
|
12
|
-
|
13
12
|
Bundler/GemFilename:
|
14
13
|
Enabled: true
|
15
14
|
|
16
|
-
Bundler/InsecureProtocolSource:
|
17
|
-
Enabled: true
|
18
|
-
|
19
|
-
Gemspec/DeprecatedAttributeAssignment:
|
20
|
-
Enabled: true
|
21
|
-
|
22
|
-
Gemspec/DuplicatedAssignment:
|
23
|
-
Enabled: true
|
24
|
-
|
25
|
-
Gemspec/OrderedDependencies:
|
26
|
-
Enabled: false
|
27
|
-
|
28
15
|
Gemspec/RequireMFA:
|
29
16
|
Enabled: true
|
30
17
|
|
@@ -74,9 +61,6 @@ Layout/FirstParameterIndentation:
|
|
74
61
|
Layout/LineContinuationLeadingSpace:
|
75
62
|
Enabled: true
|
76
63
|
|
77
|
-
Layout/LineContinuationSpacing:
|
78
|
-
Enabled: true
|
79
|
-
|
80
64
|
Layout/LineEndStringConcatenationIndentation:
|
81
65
|
Enabled: true
|
82
66
|
|
@@ -102,9 +86,6 @@ Layout/SpaceInsideHashLiteralBraces:
|
|
102
86
|
Layout/TrailingWhitespace:
|
103
87
|
AllowInHeredoc: false
|
104
88
|
|
105
|
-
Lint/AmbiguousAssignment:
|
106
|
-
Enabled: true
|
107
|
-
|
108
89
|
Lint/AmbiguousBlockAssociation:
|
109
90
|
Enabled: true
|
110
91
|
|
@@ -114,24 +95,12 @@ Lint/AmbiguousOperatorPrecedence:
|
|
114
95
|
Lint/AmbiguousRange:
|
115
96
|
Enabled: true
|
116
97
|
|
117
|
-
Lint/ConstantOverwrittenInRescue:
|
118
|
-
Enabled: true
|
119
|
-
|
120
|
-
Lint/DeprecatedConstants:
|
121
|
-
Enabled: true
|
122
|
-
|
123
98
|
Lint/DisjunctiveAssignmentInConstructor:
|
124
99
|
Enabled: true
|
125
100
|
|
126
101
|
Lint/DuplicateBranch:
|
127
102
|
Enabled: true
|
128
103
|
|
129
|
-
Lint/DuplicateMagicComment:
|
130
|
-
Enabled: true
|
131
|
-
|
132
|
-
Lint/DuplicateRegexpCharacterClassElement:
|
133
|
-
Enabled: true
|
134
|
-
|
135
104
|
Lint/EmptyBlock:
|
136
105
|
Enabled: true
|
137
106
|
|
@@ -168,12 +137,6 @@ Lint/NoReturnInBeginEndBlocks:
|
|
168
137
|
Lint/NonAtomicFileOperation:
|
169
138
|
Enabled: true
|
170
139
|
|
171
|
-
Lint/NumberedParameterAssignment:
|
172
|
-
Enabled: true
|
173
|
-
|
174
|
-
Lint/OrAssignmentToConstant:
|
175
|
-
Enabled: true
|
176
|
-
|
177
140
|
Lint/PercentStringArray:
|
178
141
|
Enabled: true
|
179
142
|
|
@@ -189,15 +152,6 @@ Lint/RedundantDirGlobSort:
|
|
189
152
|
Lint/RedundantSafeNavigation:
|
190
153
|
Enabled: true
|
191
154
|
|
192
|
-
Lint/RefinementImportMethods:
|
193
|
-
Enabled: true
|
194
|
-
|
195
|
-
Lint/RequireRangeParentheses:
|
196
|
-
Enabled: true
|
197
|
-
|
198
|
-
Lint/RequireRelativeSelfPath:
|
199
|
-
Enabled: true
|
200
|
-
|
201
155
|
Lint/SafeNavigationChain:
|
202
156
|
AllowedMethods:
|
203
157
|
- present?
|
@@ -222,27 +176,18 @@ Lint/StructNewOverride:
|
|
222
176
|
Lint/SuppressedException:
|
223
177
|
Enabled: true
|
224
178
|
|
225
|
-
Lint/SymbolConversion:
|
226
|
-
Enabled: true
|
227
|
-
|
228
179
|
Lint/ToEnumArguments:
|
229
180
|
Enabled: true
|
230
181
|
|
231
182
|
Lint/ToJSON:
|
232
183
|
Enabled: true
|
233
184
|
|
234
|
-
Lint/TripleQuotes:
|
235
|
-
Enabled: true
|
236
|
-
|
237
185
|
Lint/UnexpectedBlockArity:
|
238
186
|
Enabled: true
|
239
187
|
|
240
188
|
Lint/UnmodifiedReduceAccumulator:
|
241
189
|
Enabled: true
|
242
190
|
|
243
|
-
Lint/UnreachableLoop:
|
244
|
-
Enabled: true
|
245
|
-
|
246
191
|
Lint/UnusedBlockArgument:
|
247
192
|
Enabled: true
|
248
193
|
|
@@ -258,9 +203,6 @@ Lint/UselessElseWithoutRescue:
|
|
258
203
|
Lint/UselessMethodDefinition:
|
259
204
|
Enabled: true
|
260
205
|
|
261
|
-
Lint/UselessRuby2Keywords:
|
262
|
-
Enabled: true
|
263
|
-
|
264
206
|
Metrics/AbcSize:
|
265
207
|
Enabled: true
|
266
208
|
Exclude:
|
@@ -484,9 +426,7 @@ Rails/WhereExists:
|
|
484
426
|
Rails/SkipsModelValidations:
|
485
427
|
Exclude:
|
486
428
|
- 'spec/**/*.rb'
|
487
|
-
|
488
|
-
Security/CompoundHash:
|
489
|
-
Enabled: true
|
429
|
+
- 'db/migrate/*.rb'
|
490
430
|
|
491
431
|
Security/IoMethods:
|
492
432
|
Enabled: true
|
@@ -503,9 +443,6 @@ Style/AccessorGrouping:
|
|
503
443
|
Style/Alias:
|
504
444
|
EnforcedStyle: prefer_alias
|
505
445
|
|
506
|
-
Style/ArgumentsForwarding:
|
507
|
-
Enabled: true
|
508
|
-
|
509
446
|
Style/ArrayIntersect:
|
510
447
|
Enabled: true
|
511
448
|
|
@@ -581,12 +518,6 @@ Style/ExponentialNotation:
|
|
581
518
|
Style/FetchEnvVar:
|
582
519
|
Enabled: true
|
583
520
|
|
584
|
-
Style/FileRead:
|
585
|
-
Enabled: true
|
586
|
-
|
587
|
-
Style/FileWrite:
|
588
|
-
Enabled: true
|
589
|
-
|
590
521
|
Style/FloatDivision:
|
591
522
|
Enabled: true
|
592
523
|
|
@@ -602,15 +533,9 @@ Style/FrozenStringLiteralComment:
|
|
602
533
|
Style/GuardClause:
|
603
534
|
Enabled: true
|
604
535
|
|
605
|
-
Style/HashConversion:
|
606
|
-
Enabled: true
|
607
|
-
|
608
536
|
Style/HashEachMethods:
|
609
537
|
Enabled: true
|
610
538
|
|
611
|
-
Style/HashExcept:
|
612
|
-
Enabled: true
|
613
|
-
|
614
539
|
Style/HashLikeCase:
|
615
540
|
Enabled: true
|
616
541
|
|
@@ -624,9 +549,6 @@ Style/HashTransformKeys:
|
|
624
549
|
Style/HashTransformValues:
|
625
550
|
Enabled: true
|
626
551
|
|
627
|
-
Style/IfWithBooleanLiteralBranches:
|
628
|
-
Enabled: true
|
629
|
-
|
630
552
|
Style/InPatternThen:
|
631
553
|
Enabled: true
|
632
554
|
|
@@ -639,9 +561,6 @@ Style/Lambda:
|
|
639
561
|
Style/MagicCommentFormat:
|
640
562
|
Enabled: true
|
641
563
|
|
642
|
-
Style/MapCompactWithConditionalBlock:
|
643
|
-
Enabled: true
|
644
|
-
|
645
564
|
Style/MapToHash:
|
646
565
|
Enabled: true
|
647
566
|
|
@@ -689,15 +608,9 @@ Style/NegatedIfElseCondition:
|
|
689
608
|
Style/NegatedUnless:
|
690
609
|
Enabled: true
|
691
610
|
|
692
|
-
Style/NestedFileDirname:
|
693
|
-
Enabled: true
|
694
|
-
|
695
611
|
Style/Next:
|
696
612
|
Enabled: true
|
697
613
|
|
698
|
-
Style/NilLambda:
|
699
|
-
Enabled: true
|
700
|
-
|
701
614
|
Style/NonNilCheck:
|
702
615
|
IncludeSemanticChanges: true
|
703
616
|
|
@@ -737,9 +650,6 @@ Style/PerlBackrefs:
|
|
737
650
|
Style/PreferredHashMethods:
|
738
651
|
Enabled: true
|
739
652
|
|
740
|
-
Style/QuotedSymbols:
|
741
|
-
Enabled: true
|
742
|
-
|
743
653
|
Style/RaiseArgs:
|
744
654
|
Enabled: true
|
745
655
|
|
@@ -752,9 +662,6 @@ Style/RedundantCapitalW:
|
|
752
662
|
Style/RedundantConstantBase:
|
753
663
|
Enabled: true
|
754
664
|
|
755
|
-
Style/RedundantDoubleSplatHashBraces:
|
756
|
-
Enabled: true
|
757
|
-
|
758
665
|
Style/RedundantEach:
|
759
666
|
Enabled: true
|
760
667
|
|
@@ -767,9 +674,6 @@ Style/RedundantSelfAssignment:
|
|
767
674
|
Style/RedundantSelfAssignmentBranch:
|
768
675
|
Enabled: true
|
769
676
|
|
770
|
-
Style/RedundantStringEscape:
|
771
|
-
Enabled: true
|
772
|
-
|
773
677
|
Style/RegexpLiteral:
|
774
678
|
Enabled: true
|
775
679
|
|
@@ -794,9 +698,6 @@ Style/SoleNestedConditional:
|
|
794
698
|
Style/SpecialGlobalVars:
|
795
699
|
Enabled: true
|
796
700
|
|
797
|
-
Style/StringChars:
|
798
|
-
Enabled: true
|
799
|
-
|
800
701
|
Style/StringConcatenation:
|
801
702
|
Enabled: true
|
802
703
|
|
data/lib/renuocop/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renuocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Rodi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rubocop-capybara
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-factory_bot
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: rubocop-performance
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,16 +90,16 @@ dependencies:
|
|
62
90
|
name: standard
|
63
91
|
requirement: !ruby/object:Gem::Requirement
|
64
92
|
requirements:
|
65
|
-
- - "
|
93
|
+
- - ">="
|
66
94
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
95
|
+
version: 1.35.1
|
68
96
|
type: :runtime
|
69
97
|
prerelease: false
|
70
98
|
version_requirements: !ruby/object:Gem::Requirement
|
71
99
|
requirements:
|
72
|
-
- - "
|
100
|
+
- - ">="
|
73
101
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
102
|
+
version: 1.35.1
|
75
103
|
description: Renuo default style guide, linter, and formatter.
|
76
104
|
email:
|
77
105
|
- alessandro.rodi@renuo.ch
|