armitage-rubocop 1.23.0.1 → 1.30.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +26 -28
- data/armitage-rubocop.gemspec +6 -6
- data/lib/common/gemspec.yml +12 -0
- data/lib/common/layout.yml +3 -2
- data/lib/common/lint.yml +4 -4
- data/lib/common/naming.yml +6 -1
- data/lib/common/performance.yml +4 -0
- data/lib/common/rails.yml +55 -1
- data/lib/common/security.yml +3 -0
- data/lib/common/style.yml +39 -2
- data/lib/rspec/factory_bot.yml +3 -0
- data/lib/rspec/rspec.yml +9 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39013c8a88384352b39977d079478943d9c065285c4b1c07d00d2af445376af9
|
4
|
+
data.tar.gz: cdb905adefa131cc4a39ba937e054b1cd7c061869035c62b99054ff91b2f998f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '083bbf5e7157666e2968222aa058ea9fa39a5bbf73ba9df7334057602e9a6c88dd43f659a1d8486e463779399c09165ef71837cd2fc026859782936007746b3c'
|
7
|
+
data.tar.gz: ae1000b825e11b7b631ecc30fe8ac4fe61329494ddd66017cadfc02c0f58e7f4f8d3dbe2c1c1c29a03c5379f64a85c55c44423fde9f71815ffd3441891680dde
|
data/Gemfile.lock
CHANGED
@@ -1,76 +1,74 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
armitage-rubocop (1.
|
5
|
-
rubocop (= 1.
|
6
|
-
rubocop-performance (= 1.
|
7
|
-
rubocop-rails (= 2.
|
4
|
+
armitage-rubocop (1.26.1.1)
|
5
|
+
rubocop (= 1.30.1)
|
6
|
+
rubocop-performance (= 1.14.2)
|
7
|
+
rubocop-rails (= 2.15.0)
|
8
8
|
rubocop-rake (= 0.6.0)
|
9
|
-
rubocop-rspec (= 2.
|
9
|
+
rubocop-rspec (= 2.11.0)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (
|
14
|
+
activesupport (7.0.3)
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
16
|
i18n (>= 1.6, < 2)
|
17
17
|
minitest (>= 5.1)
|
18
18
|
tzinfo (~> 2.0)
|
19
|
-
zeitwerk (~> 2.3)
|
20
19
|
ast (2.4.2)
|
21
20
|
coderay (1.1.3)
|
22
|
-
concurrent-ruby (1.1.
|
23
|
-
i18n (1.
|
21
|
+
concurrent-ruby (1.1.10)
|
22
|
+
i18n (1.10.0)
|
24
23
|
concurrent-ruby (~> 1.0)
|
25
24
|
method_source (1.0.0)
|
26
|
-
minitest (5.
|
27
|
-
parallel (1.
|
28
|
-
parser (3.
|
25
|
+
minitest (5.16.0)
|
26
|
+
parallel (1.22.1)
|
27
|
+
parser (3.1.2.0)
|
29
28
|
ast (~> 2.4.1)
|
30
29
|
pry (0.14.1)
|
31
30
|
coderay (~> 1.1)
|
32
31
|
method_source (~> 1.0)
|
33
|
-
rack (2.2.3)
|
34
|
-
rainbow (3.
|
32
|
+
rack (2.2.3.1)
|
33
|
+
rainbow (3.1.1)
|
35
34
|
rake (13.0.6)
|
36
|
-
regexp_parser (2.
|
35
|
+
regexp_parser (2.5.0)
|
37
36
|
rexml (3.2.5)
|
38
|
-
rubocop (1.
|
37
|
+
rubocop (1.30.1)
|
39
38
|
parallel (~> 1.10)
|
40
|
-
parser (>= 3.
|
39
|
+
parser (>= 3.1.0.0)
|
41
40
|
rainbow (>= 2.2.2, < 4.0)
|
42
41
|
regexp_parser (>= 1.8, < 3.0)
|
43
|
-
rexml
|
44
|
-
rubocop-ast (>= 1.
|
42
|
+
rexml (>= 3.2.5, < 4.0)
|
43
|
+
rubocop-ast (>= 1.18.0, < 2.0)
|
45
44
|
ruby-progressbar (~> 1.7)
|
46
45
|
unicode-display_width (>= 1.4.0, < 3.0)
|
47
|
-
rubocop-ast (1.
|
48
|
-
parser (>= 3.
|
49
|
-
rubocop-performance (1.
|
46
|
+
rubocop-ast (1.18.0)
|
47
|
+
parser (>= 3.1.1.0)
|
48
|
+
rubocop-performance (1.14.2)
|
50
49
|
rubocop (>= 1.7.0, < 2.0)
|
51
50
|
rubocop-ast (>= 0.4.0)
|
52
|
-
rubocop-rails (2.
|
51
|
+
rubocop-rails (2.15.0)
|
53
52
|
activesupport (>= 4.2.0)
|
54
53
|
rack (>= 1.1)
|
55
54
|
rubocop (>= 1.7.0, < 2.0)
|
56
55
|
rubocop-rake (0.6.0)
|
57
56
|
rubocop (~> 1.0)
|
58
|
-
rubocop-rspec (2.
|
57
|
+
rubocop-rspec (2.11.0)
|
59
58
|
rubocop (~> 1.19)
|
60
59
|
ruby-progressbar (1.11.0)
|
61
60
|
tzinfo (2.0.4)
|
62
61
|
concurrent-ruby (~> 1.0)
|
63
62
|
unicode-display_width (2.1.0)
|
64
|
-
zeitwerk (2.5.1)
|
65
63
|
|
66
64
|
PLATFORMS
|
67
|
-
|
65
|
+
arm64-darwin-21
|
68
66
|
|
69
67
|
DEPENDENCIES
|
70
68
|
armitage-rubocop!
|
71
|
-
bundler (~> 2.
|
69
|
+
bundler (~> 2.3)
|
72
70
|
pry (~> 0.14)
|
73
71
|
rake (~> 13.0)
|
74
72
|
|
75
73
|
BUNDLED WITH
|
76
|
-
2.
|
74
|
+
2.3.15
|
data/armitage-rubocop.gemspec
CHANGED
@@ -4,7 +4,7 @@ lib = File.expand_path('lib', __dir__)
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.version = '1.
|
7
|
+
spec.version = '1.30.1'
|
8
8
|
|
9
9
|
spec.name = 'armitage-rubocop'
|
10
10
|
spec.license = 'MIT'
|
@@ -22,13 +22,13 @@ Gem::Specification.new do |spec|
|
|
22
22
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.add_dependency 'rubocop', '= 1.
|
26
|
-
spec.add_dependency 'rubocop-performance', '= 1.
|
27
|
-
spec.add_dependency 'rubocop-rails', '= 2.
|
28
|
-
spec.add_dependency 'rubocop-rspec', '= 2.
|
25
|
+
spec.add_dependency 'rubocop', '= 1.30.1'
|
26
|
+
spec.add_dependency 'rubocop-performance', '= 1.14.2'
|
27
|
+
spec.add_dependency 'rubocop-rails', '= 2.15.0'
|
28
|
+
spec.add_dependency 'rubocop-rspec', '= 2.11.0'
|
29
29
|
spec.add_dependency 'rubocop-rake', '= 0.6.0'
|
30
30
|
|
31
|
-
spec.add_development_dependency 'bundler', '~> 2.
|
31
|
+
spec.add_development_dependency 'bundler', '~> 2.3'
|
32
32
|
spec.add_development_dependency 'rake', '~> 13.0'
|
33
33
|
spec.add_development_dependency 'pry', '~> 0.14'
|
34
34
|
end
|
data/lib/common/gemspec.yml
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
Gemspec/DeprecatedAttributeAssignment:
|
2
|
+
Enabled: true
|
3
|
+
Include:
|
4
|
+
- '**/*.gemspec'
|
5
|
+
|
6
|
+
Gemspec/DependencyVersion:
|
7
|
+
Enabled: true
|
8
|
+
EnforcedStyle: required
|
9
|
+
Include:
|
10
|
+
- '**/*.gemspec'
|
11
|
+
AllowedGems: []
|
12
|
+
|
1
13
|
Gemspec/DateAssignment:
|
2
14
|
Enabled: true
|
3
15
|
Include:
|
data/lib/common/layout.yml
CHANGED
@@ -74,6 +74,7 @@ Layout/ClosingParenthesisIndentation:
|
|
74
74
|
|
75
75
|
Layout/CommentIndentation:
|
76
76
|
Enabled: true
|
77
|
+
AllowForAlignment: true
|
77
78
|
|
78
79
|
Layout/ConditionPosition:
|
79
80
|
Enabled: true
|
@@ -219,7 +220,7 @@ Layout/IndentationConsistency:
|
|
219
220
|
Layout/IndentationWidth:
|
220
221
|
Enabled: true
|
221
222
|
Width: 2
|
222
|
-
|
223
|
+
AllowedPatterns: []
|
223
224
|
|
224
225
|
Layout/InitialIndentation:
|
225
226
|
Enabled: true
|
@@ -242,7 +243,7 @@ Layout/LineLength:
|
|
242
243
|
- http
|
243
244
|
- https
|
244
245
|
IgnoreCopDirectives: false
|
245
|
-
|
246
|
+
AllowedPatterns: []
|
246
247
|
Exclude:
|
247
248
|
- Gemfile
|
248
249
|
|
data/lib/common/lint.yml
CHANGED
@@ -79,6 +79,7 @@ Lint/DuplicateElsifCondition:
|
|
79
79
|
|
80
80
|
Lint/DuplicateRequire:
|
81
81
|
Enabled: true
|
82
|
+
AutoCorrect: true
|
82
83
|
|
83
84
|
Lint/DuplicateRegexpCharacterClassElement:
|
84
85
|
Enabled: true
|
@@ -271,6 +272,9 @@ Lint/RandOne:
|
|
271
272
|
Lint/RedundantDirGlobSort:
|
272
273
|
Enabled: true
|
273
274
|
|
275
|
+
Lint/RefinementImportMethods:
|
276
|
+
Enabled: true
|
277
|
+
|
274
278
|
Lint/RedundantSafeNavigation:
|
275
279
|
Enabled: true
|
276
280
|
AllowedMethods:
|
@@ -410,12 +414,8 @@ Lint/UselessAccessModifier:
|
|
410
414
|
Lint/UselessAssignment:
|
411
415
|
Enabled: true
|
412
416
|
|
413
|
-
Lint/UselessElseWithoutRescue:
|
414
|
-
Enabled: true
|
415
|
-
|
416
417
|
Lint/UselessMethodDefinition:
|
417
418
|
Enabled: true
|
418
|
-
AllowComments: true
|
419
419
|
|
420
420
|
Lint/UselessSetterCall:
|
421
421
|
Enabled: true
|
data/lib/common/naming.yml
CHANGED
@@ -47,6 +47,11 @@ Naming/RescuedExceptionsVariableName:
|
|
47
47
|
Enabled: true
|
48
48
|
PreferredName: error
|
49
49
|
|
50
|
+
Naming/BlockForwarding:
|
51
|
+
Enabled: true
|
52
|
+
EnforcedStyle: explicit
|
53
|
+
BlockForwardingName: block
|
54
|
+
|
50
55
|
Naming/BlockParameterName:
|
51
56
|
Enabled: true
|
52
57
|
MinNameLength: 1
|
@@ -78,7 +83,7 @@ Naming/VariableName:
|
|
78
83
|
|
79
84
|
Naming/VariableNumber:
|
80
85
|
Enabled: true
|
81
|
-
EnforcedStyle:
|
86
|
+
EnforcedStyle: normalcase
|
82
87
|
CheckMethodNames: true
|
83
88
|
CheckSymbols: true
|
84
89
|
AllowedIdentifiers: []
|
data/lib/common/performance.yml
CHANGED
@@ -135,6 +135,9 @@ Performance/StartWith:
|
|
135
135
|
Enabled: true
|
136
136
|
AutoCorrect: false
|
137
137
|
|
138
|
+
Performance/StringIdentifierArgument:
|
139
|
+
Enabled: true
|
140
|
+
|
138
141
|
Performance/StringInclude:
|
139
142
|
Enabled: true
|
140
143
|
|
@@ -144,6 +147,7 @@ Performance/StringReplacement:
|
|
144
147
|
Performance/Sum:
|
145
148
|
Enabled: true
|
146
149
|
AutoCorrect: true
|
150
|
+
OnlySumOrWithInitialValue: false
|
147
151
|
|
148
152
|
Performance/TimesMap:
|
149
153
|
Enabled: true
|
data/lib/common/rails.yml
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
Rails/AddColumnIndex:
|
2
2
|
Enabled: false # NOTE: cop works incorrectly with `Sequel` (sequel supports :index in add_column)
|
3
3
|
|
4
|
+
Rails/ActionControllerTestCase:
|
5
|
+
Enabled: true
|
6
|
+
|
4
7
|
Rails/ActionFilter:
|
5
8
|
Enabled: true
|
6
9
|
EnforcedStyle: action
|
@@ -78,9 +81,28 @@ Rails/BulkChangeTable:
|
|
78
81
|
Rails/CreateTableWithTimestamps:
|
79
82
|
Enabled: false
|
80
83
|
|
84
|
+
Rails/CompactBlank:
|
85
|
+
Enabled: false
|
86
|
+
|
81
87
|
Rails/ContentTag:
|
82
88
|
Enabled: true
|
83
89
|
|
90
|
+
Rails/DotSeparatedKeys:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
Rails/DuplicateAssociation:
|
94
|
+
Enabled: true
|
95
|
+
|
96
|
+
Rails/DuplicateScope:
|
97
|
+
Enabled: true
|
98
|
+
|
99
|
+
Rails/DurationArithmetic:
|
100
|
+
Enabled: false
|
101
|
+
|
102
|
+
Rails/DeprecatedActiveModelErrorsMethods:
|
103
|
+
Enabled: true
|
104
|
+
AutoCorrect: true
|
105
|
+
|
84
106
|
Rails/Date:
|
85
107
|
Enabled: true
|
86
108
|
EnforcedStyle: flexible
|
@@ -149,6 +171,15 @@ Rails/HttpPositionalArguments:
|
|
149
171
|
Rails/HttpStatus:
|
150
172
|
Enabled: false
|
151
173
|
|
174
|
+
Rails/I18nLocaleTexts:
|
175
|
+
Enabled: false
|
176
|
+
|
177
|
+
Rails/I18nLazyLookup:
|
178
|
+
Enabled: false
|
179
|
+
|
180
|
+
Rails/MigrationClassName:
|
181
|
+
Enabled: true
|
182
|
+
|
152
183
|
Rails/I18nLocaleAssignment:
|
153
184
|
Enabled: false
|
154
185
|
|
@@ -217,6 +248,12 @@ Rails/Presence:
|
|
217
248
|
Rails/Present:
|
218
249
|
Enabled: true
|
219
250
|
|
251
|
+
Rails/RootPublicPath:
|
252
|
+
Enabled: true
|
253
|
+
|
254
|
+
Rails/RootJoinChain:
|
255
|
+
Enabled: true
|
256
|
+
|
220
257
|
Rails/ReadWriteAttribute:
|
221
258
|
Enabled: true
|
222
259
|
|
@@ -225,6 +262,9 @@ Rails/RedundantAllowNil:
|
|
225
262
|
Include:
|
226
263
|
- app/models/**/*.rb
|
227
264
|
|
265
|
+
Rails/RedundantPresenceValidationOnBelongsTo:
|
266
|
+
Enabled: true
|
267
|
+
|
228
268
|
Rails/RedundantForeignKey:
|
229
269
|
Enabled: false
|
230
270
|
|
@@ -243,7 +283,6 @@ Rails/RefuteMethods:
|
|
243
283
|
|
244
284
|
Rails/RelativeDateConstant:
|
245
285
|
Enabled: true
|
246
|
-
AutoCorrect: false
|
247
286
|
|
248
287
|
Rails/RenderInline:
|
249
288
|
Enabled: false
|
@@ -272,6 +311,9 @@ Rails/SaveBang:
|
|
272
311
|
Rails/ScopeArgs:
|
273
312
|
Enabled: true
|
274
313
|
|
314
|
+
Rails/SchemaComment:
|
315
|
+
Enabled: false
|
316
|
+
|
275
317
|
Rails/ShortI18n:
|
276
318
|
Enabled: true
|
277
319
|
EnforcedStyle: conservative
|
@@ -282,9 +324,15 @@ Rails/SkipsModelValidations:
|
|
282
324
|
Rails/SquishedSQLHeredocs:
|
283
325
|
Enabled: true
|
284
326
|
|
327
|
+
Rails/StripHeredoc:
|
328
|
+
Enabled: true
|
329
|
+
|
285
330
|
Rails/RedundantTravelBack:
|
286
331
|
Enabled: false # NOTE: can affect the readability
|
287
332
|
|
333
|
+
Rails/TableNameAssignment:
|
334
|
+
Enabled: false
|
335
|
+
|
288
336
|
Rails/TimeZone:
|
289
337
|
Enabled: true
|
290
338
|
EnforcedStyle: flexible
|
@@ -292,6 +340,12 @@ Rails/TimeZone:
|
|
292
340
|
Rails/TimeZoneAssignment:
|
293
341
|
Enabled: false
|
294
342
|
|
343
|
+
Rails/ToFormattedS:
|
344
|
+
Enabled: true
|
345
|
+
|
346
|
+
Rails/TransactionExitStatement:
|
347
|
+
Enabled: true
|
348
|
+
|
295
349
|
Rails/UniqBeforePluck:
|
296
350
|
Enabled: true
|
297
351
|
EnforcedStyle: conservative
|
data/lib/common/security.yml
CHANGED
data/lib/common/style.yml
CHANGED
@@ -189,6 +189,9 @@ Style/EndBlock:
|
|
189
189
|
Enabled: true
|
190
190
|
AutoCorrect: true
|
191
191
|
|
192
|
+
Style/EnvHome:
|
193
|
+
Enabled: true
|
194
|
+
|
192
195
|
Style/EvalWithLocation:
|
193
196
|
Enabled: true
|
194
197
|
AutoCorrect: true
|
@@ -206,6 +209,15 @@ Style/ExponentialNotation:
|
|
206
209
|
Style/ExplicitBlockArgument:
|
207
210
|
Enabled: true
|
208
211
|
|
212
|
+
Style/FetchEnvVar:
|
213
|
+
Enabled: false
|
214
|
+
|
215
|
+
Style/FileRead:
|
216
|
+
Enabled: false
|
217
|
+
|
218
|
+
Style/FileWrite:
|
219
|
+
Enabled: false
|
220
|
+
|
209
221
|
Style/FloatDivision:
|
210
222
|
Enabled: false
|
211
223
|
|
@@ -238,6 +250,7 @@ Style/GlobalStdStream:
|
|
238
250
|
Style/GuardClause:
|
239
251
|
Enabled: false
|
240
252
|
MinBodyLength: 1
|
253
|
+
AllowConsecutiveConditionals: false
|
241
254
|
|
242
255
|
Style/HashAsLastArrayItem:
|
243
256
|
Enabled: true
|
@@ -263,6 +276,7 @@ Style/HashSyntax:
|
|
263
276
|
EnforcedStyle: ruby19
|
264
277
|
UseHashRocketsWithSymbolValues: false
|
265
278
|
PreferHashRocketsForNonAlnumEndingSymbols: false
|
279
|
+
EnforcedShorthandSyntax: either
|
266
280
|
|
267
281
|
Style/HashTransformKeys:
|
268
282
|
Enabled: false
|
@@ -320,6 +334,12 @@ Style/LambdaCall:
|
|
320
334
|
Style/LineEndConcatenation:
|
321
335
|
Enabled: true
|
322
336
|
|
337
|
+
Style/MapCompactWithConditionalBlock:
|
338
|
+
Enabled: true
|
339
|
+
|
340
|
+
Style/MapToHash:
|
341
|
+
Enabled: true
|
342
|
+
|
323
343
|
Style/MethodCallWithArgsParentheses:
|
324
344
|
Enabled: false # NOTE: experimental!
|
325
345
|
EnforcedStyle: require_parentheses
|
@@ -405,6 +425,9 @@ Style/NegatedUnless:
|
|
405
425
|
Style/NegatedWhile:
|
406
426
|
Enabled: true
|
407
427
|
|
428
|
+
Style/NestedFileDirname:
|
429
|
+
Enabled: false # NOTE: switch to "true" if you work with Ruby 3.1 or higher
|
430
|
+
|
408
431
|
Style/NestedModifier:
|
409
432
|
Enabled: true
|
410
433
|
|
@@ -446,7 +469,9 @@ Style/NumericLiteralPrefix:
|
|
446
469
|
EnforcedOctalStyle: zero_with_o
|
447
470
|
|
448
471
|
Style/NumericLiterals:
|
449
|
-
Enabled:
|
472
|
+
Enabled: true
|
473
|
+
Strict: false
|
474
|
+
AllowedNumbers: []
|
450
475
|
|
451
476
|
Style/NumericPredicate:
|
452
477
|
Enabled: false # strongly situative cop
|
@@ -454,6 +479,10 @@ Style/NumericPredicate:
|
|
454
479
|
AutoCorrect: true
|
455
480
|
IgnoredMethods: []
|
456
481
|
|
482
|
+
Style/ObjectThen:
|
483
|
+
Enabled: true
|
484
|
+
EnforcedStyle: then
|
485
|
+
|
457
486
|
Style/OneLineConditional:
|
458
487
|
Enabled: true
|
459
488
|
|
@@ -521,6 +550,10 @@ Style/RedundantFetchBlock:
|
|
521
550
|
Enabled: true
|
522
551
|
SafeForConstants: true
|
523
552
|
|
553
|
+
Style/RedundantInitialize:
|
554
|
+
Enabled: true
|
555
|
+
AllowComments: true
|
556
|
+
|
524
557
|
Style/RedundantRegexpCharacterClass:
|
525
558
|
Enabled: true
|
526
559
|
|
@@ -567,6 +600,7 @@ Style/RedundantSelfAssignmentBranch:
|
|
567
600
|
Style/SafeNavigation:
|
568
601
|
Enabled: true
|
569
602
|
ConvertCodeThatCanStartToReturnNil: false
|
603
|
+
MaxChainLength: 3
|
570
604
|
|
571
605
|
Style/Sample:
|
572
606
|
Enabled: true
|
@@ -605,6 +639,8 @@ Style/SlicingWithRange:
|
|
605
639
|
|
606
640
|
Style/SpecialGlobalVars:
|
607
641
|
Enabled: true
|
642
|
+
RequireEnglish: true
|
643
|
+
EnforcedStyle: use_english_names
|
608
644
|
|
609
645
|
Style/StaticClass:
|
610
646
|
Enabled: true
|
@@ -653,11 +689,12 @@ Style/SymbolLiteral:
|
|
653
689
|
Enabled: true
|
654
690
|
|
655
691
|
Style/SymbolProc:
|
692
|
+
Enabled: true
|
656
693
|
AllowMethodsWithArguments: true
|
694
|
+
AllowComments: false
|
657
695
|
IgnoredMethods:
|
658
696
|
- respond_to
|
659
697
|
- define_method
|
660
|
-
Enabled: true
|
661
698
|
|
662
699
|
Style/SwapValues:
|
663
700
|
Enabled: true
|
data/lib/rspec/factory_bot.yml
CHANGED
data/lib/rspec/rspec.yml
CHANGED
@@ -13,8 +13,12 @@ RSpec/AroundBlock:
|
|
13
13
|
RSpec/Be:
|
14
14
|
Enabled: true
|
15
15
|
|
16
|
+
RSpec/BeNil:
|
17
|
+
Enabled: false
|
18
|
+
EnforcedStyle: be
|
19
|
+
|
16
20
|
RSpec/BeEql:
|
17
|
-
Enabled:
|
21
|
+
Enabled: false
|
18
22
|
|
19
23
|
RSpec/BeforeAfterAll:
|
20
24
|
Enabled: false
|
@@ -263,6 +267,10 @@ RSpec/VerifiedDoubles:
|
|
263
267
|
IgnoreNameless: true
|
264
268
|
IgnoreSymbolicNames: false
|
265
269
|
|
270
|
+
RSpec/VerifiedDoubleReference:
|
271
|
+
Enabled: true
|
272
|
+
EnforcedStyle: constant
|
273
|
+
|
266
274
|
RSpec/VoidExpect:
|
267
275
|
Enabled: true
|
268
276
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: armitage-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Ibragimov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.30.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.30.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.14.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.14.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.15.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.15.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.11.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
68
|
+
version: 2.11.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '2.
|
89
|
+
version: '2.3'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '2.
|
96
|
+
version: '2.3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
rubygems_version: 3.
|
183
|
+
rubygems_version: 3.3.11
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: A set of rubocop settings
|