gc_ruboconfig 2.19.0 → 2.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +93 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89bcff7290f4a8cac04c029decad13f6f98fb83d293aa14c406b13d2d806c5db
|
4
|
+
data.tar.gz: a7b820a7f82b0cedd906cdf8511ece8d8aaa1fb0e95e50afe104d52880c8d07c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fc03b6da7de4530fa2ca2679000a869e5d10a1416d38639e1a479e2f67fcb65f3ae9516bb081fccd221cf4deaa0b1efeaa1e3e5b7983a3ee5fa25711d592bd6
|
7
|
+
data.tar.gz: d70c712e9702aac1838467654aa843f49a662c5f5ce5ecbf6e0fa18551fbfdb86b70555dfd9282c51cd8e047e03728341302f330a2c7b97ad0471d9ddcf5073e
|
data/rubocop.yml
CHANGED
@@ -155,6 +155,9 @@ RSpec/ImplicitBlockExpectation:
|
|
155
155
|
RSpec/MultipleMemoizedHelpers:
|
156
156
|
Max: 30
|
157
157
|
|
158
|
+
RSpec/StubbedMock:
|
159
|
+
Enabled: false
|
160
|
+
|
158
161
|
# Re-enable this when the following is resolved:
|
159
162
|
# https://github.com/rubocop-hq/rubocop/issues/5953
|
160
163
|
Style/AccessModifierDeclarations:
|
@@ -210,6 +213,9 @@ Performance/BigDecimalWithNumericArgument:
|
|
210
213
|
Performance/RedundantSortBlock:
|
211
214
|
Enabled: true
|
212
215
|
|
216
|
+
Performance/Sum:
|
217
|
+
Enabled: true
|
218
|
+
|
213
219
|
# Disabled as it removes some idiomatic code, and does some byte/char moving around
|
214
220
|
# encoding which we're not confident with.
|
215
221
|
Performance/RedundantStringChars:
|
@@ -227,6 +233,21 @@ Performance/Squeeze:
|
|
227
233
|
Performance/StringInclude:
|
228
234
|
Enabled: true
|
229
235
|
|
236
|
+
Performance/ArraySemiInfiniteRangeSlice:
|
237
|
+
Enabled: false
|
238
|
+
|
239
|
+
Performance/BlockGivenWithExplicitBlock:
|
240
|
+
Enabled: true
|
241
|
+
|
242
|
+
Performance/CollectionLiteralInLoop:
|
243
|
+
Enabled: true
|
244
|
+
|
245
|
+
Performance/ConstantRegexp:
|
246
|
+
Enabled: true
|
247
|
+
|
248
|
+
Performance/MethodObjectAsBlock:
|
249
|
+
Enabled: true
|
250
|
+
|
230
251
|
Lint/DuplicateElsifCondition:
|
231
252
|
Enabled: true
|
232
253
|
|
@@ -288,6 +309,47 @@ Lint/TrailingCommaInAttributeDeclaration:
|
|
288
309
|
Lint/UselessMethodDefinition:
|
289
310
|
Enabled: true
|
290
311
|
|
312
|
+
Lint/ConstantDefinitionInBlock:
|
313
|
+
Enabled: false
|
314
|
+
|
315
|
+
Lint/HashCompareByIdentity:
|
316
|
+
Enabled: true
|
317
|
+
|
318
|
+
Lint/IdentityComparison:
|
319
|
+
Enabled: true
|
320
|
+
|
321
|
+
Lint/RedundantSafeNavigation:
|
322
|
+
Enabled: true
|
323
|
+
|
324
|
+
Lint/UselessTimes:
|
325
|
+
Enabled: true
|
326
|
+
|
327
|
+
Lint/DuplicateBranch:
|
328
|
+
Enabled: false
|
329
|
+
|
330
|
+
Lint/EmptyBlock:
|
331
|
+
Enabled: false
|
332
|
+
|
333
|
+
Lint/EmptyClass:
|
334
|
+
Enabled: true
|
335
|
+
Exclude:
|
336
|
+
- "spec/**/*"
|
337
|
+
|
338
|
+
Lint/NoReturnInBeginEndBlocks:
|
339
|
+
Enabled: false
|
340
|
+
|
341
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
342
|
+
Enabled: true
|
343
|
+
|
344
|
+
Lint/ToEnumArguments:
|
345
|
+
Enabled: true
|
346
|
+
|
347
|
+
Lint/UnmodifiedReduceAccumulator:
|
348
|
+
Enabled: true
|
349
|
+
|
350
|
+
Lint/UnexpectedBlockArity:
|
351
|
+
Enabled: true
|
352
|
+
|
291
353
|
Style/ExplicitBlockArgument:
|
292
354
|
Enabled: true
|
293
355
|
|
@@ -304,7 +366,7 @@ Style/StringConcatenation:
|
|
304
366
|
Enabled: false
|
305
367
|
|
306
368
|
Style/CombinableLoops:
|
307
|
-
Enabled:
|
369
|
+
Enabled: false
|
308
370
|
|
309
371
|
Style/KeywordParametersOrder:
|
310
372
|
Enabled: true
|
@@ -314,3 +376,33 @@ Style/RedundantSelfAssignment:
|
|
314
376
|
|
315
377
|
Style/SoleNestedConditional:
|
316
378
|
Enabled: false
|
379
|
+
|
380
|
+
Style/ClassEqualityComparison:
|
381
|
+
Enabled: true
|
382
|
+
|
383
|
+
Style/CommentAnnotation:
|
384
|
+
Enabled: false
|
385
|
+
|
386
|
+
Style/DocumentDynamicEvalDefinition:
|
387
|
+
Enabled: false
|
388
|
+
|
389
|
+
Style/NegatedIfElseCondition:
|
390
|
+
Enabled: false
|
391
|
+
|
392
|
+
Style/ArgumentsForwarding:
|
393
|
+
Enabled: true
|
394
|
+
|
395
|
+
Style/CollectionCompact:
|
396
|
+
Enabled: true
|
397
|
+
|
398
|
+
Style/NilLambda:
|
399
|
+
Enabled: true
|
400
|
+
|
401
|
+
Style/SwapValues:
|
402
|
+
Enabled: true
|
403
|
+
|
404
|
+
Style/RedundantArgument:
|
405
|
+
Enabled: true
|
406
|
+
|
407
|
+
Layout/BeginEndAlignment:
|
408
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gc_ruboconfig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.6'
|
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: '
|
26
|
+
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 2.1.0
|
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: 2.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.9'
|
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: '1.
|
54
|
+
version: '1.9'
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- developers@gocardless.com
|