gc_ruboconfig 2.21.0 → 2.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +131 -0
  3. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d309824d75fd0767bd027c6657b6ae9e71994ec29276c53560af6cead6cac470
4
- data.tar.gz: 1a18c45805877e0b116daebf768bafddef60e551cd42464330a3d1dd20954555
3
+ metadata.gz: 5a10ed7bea62fa8060113a8248a062dd8f4e5f9309ff5784a995ee383d4aaad6
4
+ data.tar.gz: de3cab008146f56cca1b45ab541bcbba145dbbd883877eda42af658361d471c7
5
5
  SHA512:
6
- metadata.gz: d7dfad78c0df68b2e98624b71aa258ec6778a92b8df54c539d190389eea1a4e42002832903b46162a8b9a2973983b1c2f0b2f94560739698898a1d5c193331e7
7
- data.tar.gz: 20f99c7c56eb649798b0665d23ee55634a22abb39a66c0d89e7ea1a8ba5a4e1d3995d62660303efb0f6ff964813fcd9dfdccc719e27050c4ff839095be2d52a7
6
+ metadata.gz: 740f7f26e06fa267fa290d3720e19e2f5768aee9a1574ba67ca28860e8be00aa9fc4eb4e56f29ae8394cd7926296626c932a4cf82ec1137949b47ad3c8f5e72d
7
+ data.tar.gz: 64f339e0e5037d0b29f021fee5496073ed04f2f5fc507217927a75cccd4a8be1ebd8ffeff1160cb6388c7f7cf44306a125ddba154b4987e88d547bce7ea83e84
data/rubocop.yml CHANGED
@@ -12,6 +12,9 @@ AllCops:
12
12
  - bin/**/*
13
13
  - node_modules/**/*
14
14
 
15
+ Gemspec/DateAssignment:
16
+ Enabled: true
17
+
15
18
  Lint/RedundantCopEnableDirective:
16
19
  Severity: error
17
20
 
@@ -127,6 +130,18 @@ Naming/VariableNumber:
127
130
  Style/YodaCondition:
128
131
  Enabled: true
129
132
 
133
+ Style/EndlessMethod:
134
+ Enabled: true
135
+
136
+ Style/HashConversion:
137
+ Enabled: true
138
+
139
+ Style/HashExcept:
140
+ Enabled: true
141
+
142
+ Style/IfWithBooleanLiteralBranches:
143
+ Enabled: true
144
+
130
145
  Layout/SpaceBeforeBlockBraces:
131
146
  EnforcedStyle: space
132
147
  EnforcedStyleForEmptyBraces: space
@@ -233,6 +248,30 @@ Performance/Squeeze:
233
248
  Performance/StringInclude:
234
249
  Enabled: true
235
250
 
251
+ Performance/ArraySemiInfiniteRangeSlice:
252
+ Enabled: false
253
+
254
+ Performance/BlockGivenWithExplicitBlock:
255
+ Enabled: true
256
+
257
+ Performance/CollectionLiteralInLoop:
258
+ Enabled: true
259
+
260
+ Performance/ConstantRegexp:
261
+ Enabled: true
262
+
263
+ Performance/MethodObjectAsBlock:
264
+ Enabled: true
265
+
266
+ Performance/RedundantEqualityComparisonBlock:
267
+ Enabled: true
268
+
269
+ Performance/RedundantSplitRegexpArgument:
270
+ Enabled: true
271
+
272
+ Performance/MapCompact:
273
+ Enabled: true
274
+
236
275
  Lint/DuplicateElsifCondition:
237
276
  Enabled: true
238
277
 
@@ -309,6 +348,59 @@ Lint/RedundantSafeNavigation:
309
348
  Lint/UselessTimes:
310
349
  Enabled: true
311
350
 
351
+ Lint/DuplicateBranch:
352
+ Enabled: false
353
+
354
+ Lint/EmptyBlock:
355
+ Enabled: false
356
+
357
+ Lint/EmptyClass:
358
+ Enabled: true
359
+ Exclude:
360
+ - "spec/**/*"
361
+
362
+ Lint/NoReturnInBeginEndBlocks:
363
+ Enabled: false
364
+
365
+ Lint/DuplicateRegexpCharacterClassElement:
366
+ Enabled: true
367
+
368
+ Lint/ToEnumArguments:
369
+ Enabled: true
370
+
371
+ Lint/UnmodifiedReduceAccumulator:
372
+ Enabled: true
373
+
374
+ Lint/UnexpectedBlockArity:
375
+ Enabled: true
376
+
377
+ Lint/AmbiguousAssignment:
378
+ Enabled: true
379
+
380
+ Lint/DeprecatedConstants:
381
+ Enabled: true
382
+
383
+ Lint/LambdaWithoutLiteralBlock:
384
+ Enabled: true
385
+
386
+ Lint/NumberedParameterAssignment:
387
+ Enabled: true
388
+
389
+ Lint/OrAssignmentToConstant:
390
+ Enabled: true
391
+
392
+ Lint/RedundantDirGlobSort:
393
+ Enabled: true
394
+
395
+ Lint/SymbolConversion:
396
+ Enabled: true
397
+
398
+ Lint/TripleQuotes:
399
+ Enabled: true
400
+
401
+ Lint/EmptyInPattern:
402
+ Enabled: true
403
+
312
404
  Style/ExplicitBlockArgument:
313
405
  Enabled: true
314
406
 
@@ -339,5 +431,44 @@ Style/SoleNestedConditional:
339
431
  Style/ClassEqualityComparison:
340
432
  Enabled: true
341
433
 
434
+ Style/CommentAnnotation:
435
+ Enabled: false
436
+
437
+ Style/DocumentDynamicEvalDefinition:
438
+ Enabled: false
439
+
440
+ Style/NegatedIfElseCondition:
441
+ Enabled: false
442
+
443
+ Style/ArgumentsForwarding:
444
+ Enabled: true
445
+
446
+ Style/CollectionCompact:
447
+ Enabled: true
448
+
449
+ Style/NilLambda:
450
+ Enabled: true
451
+
452
+ Style/SwapValues:
453
+ Enabled: true
454
+
455
+ Style/RedundantArgument:
456
+ Enabled: true
457
+
458
+ Style/StringChars:
459
+ Enabled: true
460
+
461
+ Style/InPatternThen:
462
+ Enabled: true
463
+
464
+ Style/MultilineInPatternThen:
465
+ Enabled: true
466
+
467
+ Style/QuotedSymbols:
468
+ Enabled: true
469
+
342
470
  Layout/BeginEndAlignment:
343
471
  Enabled: true
472
+
473
+ Layout/SpaceBeforeBrackets:
474
+ 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.21.0
4
+ version: 2.26.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-16 00:00:00.000000000 Z
11
+ date: 2021-06-08 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: '1.0'
19
+ version: '1.16'
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.0'
26
+ version: '1.16'
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: 2.0.0
33
+ version: 2.2.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: 2.0.0
40
+ version: 2.2.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.8.1
47
+ version: '1.11'
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.8.1
54
+ version: '1.11'
55
55
  description:
56
56
  email:
57
57
  - developers@gocardless.com