boxt_ruby_style_guide 4.1.1 → 4.4.2
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 +26 -8
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c671ecd597787c1ea952283575ed3a9ce2705a7b800e7ffc4b4a946456356f35
|
4
|
+
data.tar.gz: 49f6e15e7fa07e3859d7807b51f90c53c699e8f289d9a5a64d2978e0b4e1d6fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b84fac5f7e196274fa5d00c7963456cc2a43b0cedbb4781f3dfcb66c89e57331205ae42a472be8c2727d298a715499c179767e49ea4615c24383d94c9d537b4
|
7
|
+
data.tar.gz: 34d7cccc2995b0f89cec34d17da5f180bd80072c73d2b7acc9a4c3f2856136ee885e469ba891915a556c71830911e3f87ec43d35ac5d3fe63375eba9af72b955
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.
|
1
|
+
4.4.2
|
data/default.yml
CHANGED
@@ -4,25 +4,43 @@ 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:
|
18
20
|
Enabled: false
|
19
21
|
Style/Documentation:
|
20
22
|
Enabled: false # Disable Style/Documentation because...
|
23
|
+
Style/StringLiterals:
|
24
|
+
EnforcedStyle: double_quotes # Use double quotes ALL THE TIME!!!
|
25
|
+
# These cops are currently pending and will be enabled by default at some point, but adding for now to stop Rubocop
|
26
|
+
# complaining...
|
27
|
+
Lint/DeprecatedOpenSSLConstant:
|
28
|
+
Enabled: true
|
29
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
30
|
+
Enabled: true
|
31
|
+
Layout/SpaceAroundMethodCallOperator:
|
32
|
+
Enabled: true
|
33
|
+
Lint/RaiseException:
|
34
|
+
Enabled: true
|
35
|
+
Lint/StructNewOverride:
|
36
|
+
Enabled: true
|
37
|
+
Style/ExponentialNotation:
|
38
|
+
Enabled: true
|
21
39
|
Style/HashEachMethods:
|
22
|
-
Enabled: true
|
40
|
+
Enabled: true
|
23
41
|
Style/HashTransformKeys:
|
24
|
-
Enabled: true
|
42
|
+
Enabled: true
|
25
43
|
Style/HashTransformValues:
|
26
|
-
Enabled: true
|
27
|
-
Style/
|
28
|
-
|
44
|
+
Enabled: true
|
45
|
+
Style/SlicingWithRange:
|
46
|
+
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.4.2
|
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-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,28 +16,28 @@ 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
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0
|
33
|
+
version: '1.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0
|
40
|
+
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|