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 +4 -4
- data/.simplycop.yml +9 -4
- data/lib/simplycop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32900dbfca72cb4082501a3023183e3d13f10e7d573bae10cab7d13d61308f91
|
4
|
+
data.tar.gz: 8478400ec3951beec7b6a21637d95c18e786e1fc37f10303856de8cf151db235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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
|
-
#
|
1654
|
+
# Unsafe autocorrect and many fails on multiple repos
|
1650
1655
|
Style/StaticClass:
|
1651
|
-
Enabled:
|
1656
|
+
Enabled: false
|
1652
1657
|
|
1653
1658
|
# TODO: Small number of autocorrects in Chopin
|
1654
1659
|
Style/StderrPuts:
|
data/lib/simplycop/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|