boxt_ruby_style_guide 4.3.0 → 5.0.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 +18 -4
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 990c11d38d6f55aa69736086dd46cd6e3219bf1eca081ee49e53f91dfaef14f8
|
4
|
+
data.tar.gz: 56a3e58543c52e2a80151e2205a90e765e4d61e48d323a6b2aa0cda824e3278e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 379f9970696c4a40c5a832914e5a3fef1d6ee7507ba786d5b8231ad256e9433d352e6d5bec241adb18ce2fd58a2c27136f7883748fca5c66208e382ac5084fdc
|
7
|
+
data.tar.gz: 37198a5649dcfb1b0a2630403f3194ce7f902ed45c3f600b42f3b2504b22347ce40edd717be5a11a795d19156c32b812df85ab1b2fef86f9b0fa8233dc35baf9
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
5.0.0
|
data/default.yml
CHANGED
@@ -1,17 +1,19 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.7.
|
2
|
+
TargetRubyVersion: 2.7.1
|
3
3
|
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,6 +24,12 @@ 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
|
25
33
|
Layout/SpaceAroundMethodCallOperator:
|
26
34
|
Enabled: true
|
27
35
|
Lint/RaiseException:
|
@@ -36,3 +44,9 @@ Style/HashTransformKeys:
|
|
36
44
|
Enabled: true
|
37
45
|
Style/HashTransformValues:
|
38
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
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-11 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
|
@@ -156,7 +156,7 @@ homepage: https://github.com/boxt/ruby-style-guide
|
|
156
156
|
licenses:
|
157
157
|
- MIT
|
158
158
|
metadata: {}
|
159
|
-
post_install_message:
|
159
|
+
post_install_message:
|
160
160
|
rdoc_options: []
|
161
161
|
require_paths:
|
162
162
|
- lib
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
requirements: []
|
174
174
|
rubygems_version: 3.1.2
|
175
|
-
signing_key:
|
175
|
+
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: Ruby styleguide info for the BOXT Ruby projects
|
178
178
|
test_files: []
|