simplycop 1.13.7 → 1.13.9

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: 59299bcff5ac3dc3bce977f8598b1047758e9855e0ff4711146fd8dae34aea30
4
- data.tar.gz: 52479c389a07be9a3220bfd1b2998cec80ec3e85eaa72de6431963a98bca4c93
3
+ metadata.gz: 32900dbfca72cb4082501a3023183e3d13f10e7d573bae10cab7d13d61308f91
4
+ data.tar.gz: 8478400ec3951beec7b6a21637d95c18e786e1fc37f10303856de8cf151db235
5
5
  SHA512:
6
- metadata.gz: '0678d3c35c18122ebc10eea15c510bcd6bb764eb8158b7e0860808a5c707fb453fcaad2f85400a3d820ce12a19d60ccc8cb56a17c5b51cbec0cb9a1adbb9b971'
7
- data.tar.gz: 8c98023d68a76ca757d91ab25fe3b41ff64524ae451e038a589df940c7563344a674241d81d0e2e89e1fc692cf278105827017d8b55da1c1a7d5bebaaff21293
6
+ metadata.gz: 736365716ad3edc37fccbff8980f5a44bbffb0dfbc28a7f087a1c23c70cfb81d0c4b5a19c9c9e3ed26a1b8ccf4e36e23830b68afb32269e8d1562d4d8f2a9381
7
+ data.tar.gz: 8e59836e7ca6074ce0bf8bb045c724fd9d98254cc895a8944fe8bf80a9ff10da16633518ff1b3a43ab889d8239d61e17b7204e3e9fcddf7bd84eb80b291a21e9
data/.simplycop.yml CHANGED
@@ -887,12 +887,14 @@ Naming/MethodParameterName:
887
887
  AllowedNames:
888
888
  - as
889
889
  - ex
890
+ - id
891
+ - ip
890
892
  - n
891
893
  - to
892
894
 
893
- # To discuss: suggest true but 52 fails in Chopin, 8 in Coco (consider with Naming/AccessorName)
894
895
  Naming/PredicateName:
895
- Enabled: false
896
+ Enabled: true
897
+ ForbiddenPrefixes: []
896
898
 
897
899
  # Need Chopin override
898
900
  Naming/RescuedExceptionsVariableName:
@@ -908,6 +910,7 @@ Naming/VariableNumber:
908
910
  EnforcedStyle: snake_case
909
911
  AllowedIdentifiers:
910
912
  - capture3
913
+ - e164
911
914
  - iso8601
912
915
  - oauth2
913
916
  - rfc1123_date
@@ -915,6 +918,8 @@ Naming/VariableNumber:
915
918
  - rfc2822
916
919
  - rfc3339
917
920
  - x86_64
921
+ AllowedPatterns:
922
+ - v\d+
918
923
 
919
924
  # Overridden to false in Chopin
920
925
  Security/CompoundHash:
@@ -1646,9 +1651,9 @@ Style/SpecialGlobalVars:
1646
1651
  Style/StabbyLambdaParentheses:
1647
1652
  Enabled: true
1648
1653
 
1649
- # Will require Chopin override
1654
+ # Unsafe autocorrect and many fails on multiple repos
1650
1655
  Style/StaticClass:
1651
- Enabled: true
1656
+ Enabled: false
1652
1657
 
1653
1658
  # TODO: Small number of autocorrects in Chopin
1654
1659
  Style/StderrPuts:
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.13.7'
10
+ VERSION = '1.13.9'
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.13.7
4
+ version: 1.13.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-04 00:00:00.000000000 Z
11
+ date: 2023-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop