simplycop 1.17.2 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.simplycop_style.yml +9 -9
- data/lib/simplycop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5a55d7eeba4e940a3b6064ce9346706382ebbdd8b59d1acc7c248e0774e30db
|
|
4
|
+
data.tar.gz: 52ccb3ec687248d90aa8a572b294f379cff6cefd2420a12dba0948e142ba864e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7173fd3de19a6194ff9325bf5999f460af64cbd8ab43f1c330a81a4498cd432dea4ce3a081e1b7ae8c3aa688b64cd239d2fe3b1f3a50e3cd692e5c2646680af8
|
|
7
|
+
data.tar.gz: 28a53d13cfb8569a187b63c99630f4c26ede6205b1647408a7496411cbdb2c6ea704e34ddcf187ab5a34a0684f317b1fceddb91a1e73704144ea0c38ae09cb0a
|
data/.simplycop_style.yml
CHANGED
|
@@ -25,7 +25,7 @@ Style/ArrayJoin:
|
|
|
25
25
|
|
|
26
26
|
Style/AsciiComments:
|
|
27
27
|
Enabled: true
|
|
28
|
-
AllowedChars:
|
|
28
|
+
AllowedChars:
|
|
29
29
|
- £
|
|
30
30
|
- ©
|
|
31
31
|
|
|
@@ -34,7 +34,7 @@ Style/Attr:
|
|
|
34
34
|
|
|
35
35
|
# Requires fixes in Chopin and Rater
|
|
36
36
|
Style/AutoResourceCleanup:
|
|
37
|
-
Enabled: true
|
|
37
|
+
Enabled: true
|
|
38
38
|
|
|
39
39
|
Style/BarePercentLiterals:
|
|
40
40
|
Enabled: true
|
|
@@ -278,7 +278,7 @@ Style/HashLikeCase:
|
|
|
278
278
|
Style/HashSyntax:
|
|
279
279
|
Enabled: true
|
|
280
280
|
EnforcedStyle: no_mixed_keys
|
|
281
|
-
EnforcedShorthandSyntax:
|
|
281
|
+
EnforcedShorthandSyntax: either_consistent
|
|
282
282
|
|
|
283
283
|
Style/HashTransformKeys:
|
|
284
284
|
Enabled: true
|
|
@@ -323,7 +323,7 @@ Style/InvertibleUnlessCondition:
|
|
|
323
323
|
Style/InPatternThen: # new in 1.16
|
|
324
324
|
Enabled: true
|
|
325
325
|
|
|
326
|
-
# For discussion - disabled by default but could be enabled
|
|
326
|
+
# For discussion - disabled by default but could be enabled
|
|
327
327
|
# and mostly solved by excluding spec files
|
|
328
328
|
Style/IpAddresses:
|
|
329
329
|
Enabled: false
|
|
@@ -359,7 +359,7 @@ Style/MapToHash:
|
|
|
359
359
|
Style/MapToSet:
|
|
360
360
|
Enabled: true
|
|
361
361
|
|
|
362
|
-
# For discussion - 1000s of fails if set true
|
|
362
|
+
# For discussion - 1000s of fails if set true
|
|
363
363
|
Style/MethodCallWithArgsParentheses:
|
|
364
364
|
Enabled: false
|
|
365
365
|
|
|
@@ -438,7 +438,7 @@ Style/NegatedUnless:
|
|
|
438
438
|
Style/NegatedWhile:
|
|
439
439
|
Enabled: true
|
|
440
440
|
|
|
441
|
-
Style/NestedFileDirname:
|
|
441
|
+
Style/NestedFileDirname:
|
|
442
442
|
Enabled: true
|
|
443
443
|
|
|
444
444
|
Style/NestedModifier:
|
|
@@ -465,10 +465,10 @@ Style/NonNilCheck:
|
|
|
465
465
|
Style/Not:
|
|
466
466
|
Enabled: true
|
|
467
467
|
|
|
468
|
-
Style/NumberedParameters:
|
|
468
|
+
Style/NumberedParameters:
|
|
469
469
|
Enabled: true
|
|
470
470
|
|
|
471
|
-
Style/NumberedParametersLimit:
|
|
471
|
+
Style/NumberedParametersLimit:
|
|
472
472
|
Enabled: true
|
|
473
473
|
|
|
474
474
|
Style/NumericLiteralPrefix:
|
|
@@ -657,7 +657,7 @@ Style/ReturnNil:
|
|
|
657
657
|
|
|
658
658
|
# For discussion - as ReturnNil agreed configuration would be nice
|
|
659
659
|
Style/ReturnNilInPredicateMethodDefinition:
|
|
660
|
-
Enabled: false
|
|
660
|
+
Enabled: false
|
|
661
661
|
|
|
662
662
|
Style/SafeNavigation:
|
|
663
663
|
Enabled: false
|
data/lib/simplycop/version.rb
CHANGED