simplycop 1.17.2 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d73cc6b9eee0dd4f1610b459fd28f15f465af1d29af4dd15716fed72d48f2901
4
- data.tar.gz: 3ce477163e0b6df17f2bd1138c243228cb664b62e8a1de97727a9f1441632a25
3
+ metadata.gz: 592b75c9ce80564fbf37a0ad99eb31dad5b198d5ea2fb7acd27cfdbc2177a2c5
4
+ data.tar.gz: c3f9312fef83870230c9191df6a3caf9cf3af9899f9473a210deb0bdb0398701
5
5
  SHA512:
6
- metadata.gz: 49969933d55531508f609f7158289f7c0f2697753bb968d011747ae1f907e10aa7f6e8811c6fbce131fe8db97aee2888c94e3204546e3f063f0ec706afd6e9e9
7
- data.tar.gz: 11c2918e8016a688f3975513b9ebd83164f4fd7e83b9d919740f416e06c4cc955f139ce8e7917e1543673cc5bb50967a8332c1ea95e18c148121b59764a69d6f
6
+ metadata.gz: 3522981c689a9010b96f3a769216e4dc056191d5d9035dc5876f5c1dc1c538c46389d0993efdc93c5d897781421d084222dfb9bcfbd91ee0ab49d8c2bf1ddef3
7
+ data.tar.gz: 69c869e22681ffe8b006062f9ec0b0eaad477ab75b3dcbd83b0d4d96aa717c611fdee23f8a9095db0978266045d141b9b29315ce9d1bddaefc27e03b034e729b
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: consistent
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
@@ -678,6 +678,9 @@ Style/Semicolon:
678
678
  Style/Send:
679
679
  Enabled: false
680
680
 
681
+ Style/SendWithLiteralMethodName:
682
+ Enabled: true
683
+
681
684
  Style/SignalException:
682
685
  Enabled: true
683
686
 
@@ -740,6 +743,9 @@ Style/Strip:
740
743
  Style/StructInheritance:
741
744
  Enabled: true
742
745
 
746
+ Style/SuperArguments:
747
+ Enabled: true
748
+
743
749
  Style/SuperWithArgsParentheses:
744
750
  Enabled: true
745
751
 
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.17.2'
10
+ VERSION = '1.19.0'
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplycop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.2
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-28 00:00:00.000000000 Z
11
+ date: 2024-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop