boxt_ruby_style_guide 4.2.0 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/default.yml +21 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d19f77cc83a82775393531673adf8a9e0e9ea96c3c784b0bfdac197cf0708222
|
4
|
+
data.tar.gz: b8054560a4926718c76aba4e9f90d7d70667eaf760f95eb2ba1b4abd33029258
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43cd3abbe5fa4e07b1d60232748afc1c594095e8f88b1295c702f6554437680a6b241165f6ca9666d08d61b6607a858e0be35624d0c1555684f94f33045598ab
|
7
|
+
data.tar.gz: 20de9bad1ffd65cc488f9a51f57fca817ac95515bdba5244934d24ca91829489cc30f8488c15b5d46863d0f06c2efd4025e38a2201ad5e3e959b7af1a6b0bd17
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.
|
1
|
+
4.5.0
|
data/default.yml
CHANGED
@@ -4,14 +4,16 @@ Layout/LineLength:
|
|
4
4
|
Max: 120 # Increase line length to 120
|
5
5
|
Exclude:
|
6
6
|
- "config/routes.rb"
|
7
|
-
Metrics/BlockLength:
|
7
|
+
Metrics/BlockLength:
|
8
8
|
Exclude:
|
9
|
+
- "*.gemspec"
|
10
|
+
- "Gemfile"
|
9
11
|
- "config/routes.rb"
|
10
12
|
- "test/**/*"
|
11
|
-
Metrics/ClassLength:
|
13
|
+
Metrics/ClassLength:
|
12
14
|
Exclude:
|
13
15
|
- "test/**/*"
|
14
|
-
Metrics/MethodLength:
|
16
|
+
Metrics/MethodLength:
|
15
17
|
Exclude:
|
16
18
|
- "test/**/*"
|
17
19
|
Style/DoubleNegation:
|
@@ -22,13 +24,29 @@ Style/StringLiterals:
|
|
22
24
|
EnforcedStyle: double_quotes # Use double quotes ALL THE TIME!!!
|
23
25
|
# These cops are currently pending and will be enabled by default at some point, but adding for now to stop Rubocop
|
24
26
|
# complaining...
|
27
|
+
Lint/DeprecatedOpenSSLConstant:
|
28
|
+
Enabled: true
|
29
|
+
Lint/MixedRegexpCaptureTypes:
|
30
|
+
Enabled: true
|
31
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
32
|
+
Enabled: true
|
33
|
+
Layout/SpaceAroundMethodCallOperator:
|
34
|
+
Enabled: true
|
25
35
|
Lint/RaiseException:
|
26
36
|
Enabled: true
|
27
37
|
Lint/StructNewOverride:
|
28
38
|
Enabled: true
|
39
|
+
Style/ExponentialNotation:
|
40
|
+
Enabled: true
|
29
41
|
Style/HashEachMethods:
|
30
42
|
Enabled: true
|
31
43
|
Style/HashTransformKeys:
|
32
44
|
Enabled: true
|
33
45
|
Style/HashTransformValues:
|
34
46
|
Enabled: true
|
47
|
+
Style/RedundantRegexpCharacterClass:
|
48
|
+
Enabled: true
|
49
|
+
Style/RedundantRegexpEscape:
|
50
|
+
Enabled: true
|
51
|
+
Style/SlicingWithRange:
|
52
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxt_ruby_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.83'
|
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: '0.
|
26
|
+
version: '0.83'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|