gc_ruboconfig 2.17.0 → 2.22.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 +153 -0
- 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: 69beef55b320b7286871ce418290f2491c745c94542f716ec9b56d2b6dd90176
|
4
|
+
data.tar.gz: f9a1e3a78363dc117fda9533935dea9201906aaf06e7abdc86688baa48c055f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a03fffaecd9712b0c39dfa432fb83ae06d31a38fdce99097a7f195897249b5cfbce19307e53a0fa6a715c13cbe36c3901165de428f84c48e007dd8bacad2a38
|
7
|
+
data.tar.gz: d07e7018cb361d6031083258ef8a4a576ae7170d6c545768449a33aec77861ab979e579ff13719fea551f23dee52a6bbbf5e0aa20f0bd20b7fac7ada21c65759
|
data/rubocop.yml
CHANGED
@@ -48,6 +48,9 @@ Metrics/ModuleLength:
|
|
48
48
|
Metrics/ParameterLists:
|
49
49
|
CountKeywordArgs: false
|
50
50
|
|
51
|
+
Metrics/PerceivedComplexity:
|
52
|
+
Max: 11
|
53
|
+
|
51
54
|
Style/AsciiComments:
|
52
55
|
Enabled: false
|
53
56
|
|
@@ -149,6 +152,12 @@ RSpec/Pending:
|
|
149
152
|
RSpec/ImplicitBlockExpectation:
|
150
153
|
Enabled: false
|
151
154
|
|
155
|
+
RSpec/MultipleMemoizedHelpers:
|
156
|
+
Max: 30
|
157
|
+
|
158
|
+
RSpec/StubbedMock:
|
159
|
+
Enabled: false
|
160
|
+
|
152
161
|
# Re-enable this when the following is resolved:
|
153
162
|
# https://github.com/rubocop-hq/rubocop/issues/5953
|
154
163
|
Style/AccessModifierDeclarations:
|
@@ -204,6 +213,9 @@ Performance/BigDecimalWithNumericArgument:
|
|
204
213
|
Performance/RedundantSortBlock:
|
205
214
|
Enabled: true
|
206
215
|
|
216
|
+
Performance/Sum:
|
217
|
+
Enabled: true
|
218
|
+
|
207
219
|
# Disabled as it removes some idiomatic code, and does some byte/char moving around
|
208
220
|
# encoding which we're not confident with.
|
209
221
|
Performance/RedundantStringChars:
|
@@ -221,6 +233,21 @@ Performance/Squeeze:
|
|
221
233
|
Performance/StringInclude:
|
222
234
|
Enabled: true
|
223
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
|
+
|
224
251
|
Lint/DuplicateElsifCondition:
|
225
252
|
Enabled: true
|
226
253
|
|
@@ -242,3 +269,129 @@ Style/HashLikeCase:
|
|
242
269
|
|
243
270
|
Style/RedundantFileExtensionInRequire:
|
244
271
|
Enabled: true
|
272
|
+
|
273
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
274
|
+
Enabled: true
|
275
|
+
|
276
|
+
Lint/DuplicateRescueException:
|
277
|
+
Enabled: true
|
278
|
+
|
279
|
+
Lint/EmptyConditionalBody:
|
280
|
+
Enabled: true
|
281
|
+
|
282
|
+
Lint/FloatComparison:
|
283
|
+
Enabled: true
|
284
|
+
|
285
|
+
Lint/MissingSuper:
|
286
|
+
Enabled: true
|
287
|
+
|
288
|
+
Lint/OutOfRangeRegexpRef:
|
289
|
+
Enabled: true
|
290
|
+
|
291
|
+
Lint/SelfAssignment:
|
292
|
+
Enabled: true
|
293
|
+
|
294
|
+
Lint/TopLevelReturnWithArgument:
|
295
|
+
Enabled: true
|
296
|
+
|
297
|
+
Lint/UnreachableLoop:
|
298
|
+
Enabled: true
|
299
|
+
|
300
|
+
Lint/DuplicateRequire:
|
301
|
+
Enabled: true
|
302
|
+
|
303
|
+
Lint/EmptyFile:
|
304
|
+
Enabled: true
|
305
|
+
|
306
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
307
|
+
Enabled: true
|
308
|
+
|
309
|
+
Lint/UselessMethodDefinition:
|
310
|
+
Enabled: true
|
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/NoReturnInBeginEndBlocks:
|
334
|
+
Enabled: false
|
335
|
+
|
336
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
337
|
+
Enabled: true
|
338
|
+
|
339
|
+
Lint/ToEnumArguments:
|
340
|
+
Enabled: true
|
341
|
+
|
342
|
+
Lint/UnmodifiedReduceAccumulator:
|
343
|
+
Enabled: true
|
344
|
+
|
345
|
+
Style/ExplicitBlockArgument:
|
346
|
+
Enabled: true
|
347
|
+
|
348
|
+
Style/GlobalStdStream:
|
349
|
+
Enabled: true
|
350
|
+
|
351
|
+
Style/SingleArgumentDig:
|
352
|
+
Enabled: true
|
353
|
+
|
354
|
+
Style/OptionalBooleanParameter:
|
355
|
+
Enabled: false
|
356
|
+
|
357
|
+
Style/StringConcatenation:
|
358
|
+
Enabled: false
|
359
|
+
|
360
|
+
Style/CombinableLoops:
|
361
|
+
Enabled: false
|
362
|
+
|
363
|
+
Style/KeywordParametersOrder:
|
364
|
+
Enabled: true
|
365
|
+
|
366
|
+
Style/RedundantSelfAssignment:
|
367
|
+
Enabled: true
|
368
|
+
|
369
|
+
Style/SoleNestedConditional:
|
370
|
+
Enabled: false
|
371
|
+
|
372
|
+
Style/ClassEqualityComparison:
|
373
|
+
Enabled: true
|
374
|
+
|
375
|
+
Style/CommentAnnotation:
|
376
|
+
Enabled: false
|
377
|
+
|
378
|
+
Style/DocumentDynamicEvalDefinition:
|
379
|
+
Enabled: false
|
380
|
+
|
381
|
+
Style/NegatedIfElseCondition:
|
382
|
+
Enabled: false
|
383
|
+
|
384
|
+
Style/ArgumentsForwarding:
|
385
|
+
Enabled: true
|
386
|
+
|
387
|
+
Style/CollectionCompact:
|
388
|
+
Enabled: true
|
389
|
+
|
390
|
+
Style/NilLambda:
|
391
|
+
Enabled: true
|
392
|
+
|
393
|
+
Style/SwapValues:
|
394
|
+
Enabled: true
|
395
|
+
|
396
|
+
Layout/BeginEndAlignment:
|
397
|
+
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.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,43 +16,43 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.3'
|
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.3'
|
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:
|
33
|
+
version: 2.0.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:
|
40
|
+
version: 2.0.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.
|
55
|
-
description:
|
54
|
+
version: '1.9'
|
55
|
+
description:
|
56
56
|
email:
|
57
57
|
- developers@gocardless.com
|
58
58
|
executables: []
|
@@ -64,7 +64,7 @@ homepage: https://github.com/gocardless/ruboconfig
|
|
64
64
|
licenses:
|
65
65
|
- MIT
|
66
66
|
metadata: {}
|
67
|
-
post_install_message:
|
67
|
+
post_install_message:
|
68
68
|
rdoc_options: []
|
69
69
|
require_paths:
|
70
70
|
- lib
|
@@ -79,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
|
-
rubygems_version: 3.
|
83
|
-
signing_key:
|
82
|
+
rubygems_version: 3.1.2
|
83
|
+
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: GoCardless's shared Rubocop configuration, conforming to our house style
|
86
86
|
test_files: []
|