boxt_ruby_style_guide 7.0.2 → 7.2.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 +3 -3
- data/pending.yml +101 -90
- data/rails.yml +8 -0
- metadata +30 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad901e73bc30af6e1eee0a142fb2ca9422abceb733bc5e31f4652014c43dcb9b
|
4
|
+
data.tar.gz: bfabdeb23f3c4448d7192a27786ba9b8febebf669358a449bbab57c9b24103e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80994cd501fc8e71b7bd94215b12db3ae55186349fefe1a81a0e03095f2b1f92ce165074ace9042f5c469e3636e1512e137de6170edd931a85a261cc61c3fc70
|
7
|
+
data.tar.gz: 55c6bc374533770ea2ff28b774247a71670314b46b5c2ee4324d1d1a8ea74ff905d6b023d9746aa814ae88a9b3174f9975bd6675f8c022eaa7d8c8732e4191b1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.0
|
1
|
+
7.2.0
|
data/default.yml
CHANGED
@@ -15,15 +15,15 @@ Metrics/BlockLength:
|
|
15
15
|
- "*.gemspec"
|
16
16
|
- "Gemfile"
|
17
17
|
- "config/routes.rb"
|
18
|
-
- "
|
18
|
+
- "spec/**/*"
|
19
19
|
- "test/**/*"
|
20
20
|
Metrics/ClassLength:
|
21
21
|
Exclude:
|
22
|
-
- "
|
22
|
+
- "spec/**/*"
|
23
23
|
- "test/**/*"
|
24
24
|
Metrics/MethodLength:
|
25
25
|
Exclude:
|
26
|
-
- "
|
26
|
+
- "spec/**/*"
|
27
27
|
- "test/**/*"
|
28
28
|
Style/DoubleNegation:
|
29
29
|
Enabled: false
|
data/pending.yml
CHANGED
@@ -1,92 +1,103 @@
|
|
1
1
|
# These cops are currently pending and will be enabled by default at some point, but adding for now to stop Rubocop
|
2
2
|
# or VSCode complaining...
|
3
|
-
|
4
|
-
|
5
|
-
Layout/
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
Lint/
|
12
|
-
|
13
|
-
Lint/
|
14
|
-
|
15
|
-
Lint/
|
16
|
-
|
17
|
-
Lint/
|
18
|
-
|
19
|
-
Lint/
|
20
|
-
|
21
|
-
Lint/
|
22
|
-
|
23
|
-
Lint/
|
24
|
-
|
25
|
-
Lint/
|
26
|
-
|
27
|
-
Lint/
|
28
|
-
|
29
|
-
Lint/
|
30
|
-
|
31
|
-
Lint/
|
32
|
-
|
33
|
-
Lint/
|
34
|
-
|
35
|
-
Lint/
|
36
|
-
|
37
|
-
Lint/
|
38
|
-
|
39
|
-
Lint/
|
40
|
-
|
41
|
-
Lint/
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
Style/
|
54
|
-
|
55
|
-
Style/
|
56
|
-
|
57
|
-
Style/
|
58
|
-
|
59
|
-
Style/
|
60
|
-
|
61
|
-
Style/
|
62
|
-
|
63
|
-
Style/
|
64
|
-
|
65
|
-
Style/
|
66
|
-
|
67
|
-
Style/
|
68
|
-
|
69
|
-
Style/
|
70
|
-
|
71
|
-
Style/
|
72
|
-
|
73
|
-
Style/
|
74
|
-
|
75
|
-
Style/
|
76
|
-
|
77
|
-
Style/
|
78
|
-
|
79
|
-
Style/
|
80
|
-
|
81
|
-
Style/
|
82
|
-
|
83
|
-
Style/
|
84
|
-
|
85
|
-
Style/
|
86
|
-
|
87
|
-
Style/
|
88
|
-
|
89
|
-
Style/
|
90
|
-
|
91
|
-
Style/
|
92
|
-
|
3
|
+
AllCops:
|
4
|
+
NewCops: enable
|
5
|
+
# Layout/BeginEndAlignment: # (new in 0.91)
|
6
|
+
# Enabled: true
|
7
|
+
# Layout/EmptyLinesAroundAttributeAccessor: # (new in 0.83)
|
8
|
+
# Enabled: true
|
9
|
+
# Layout/SpaceAroundMethodCallOperator: # (new in 0.82)
|
10
|
+
# Enabled: true
|
11
|
+
# Lint/BinaryOperatorWithIdenticalOperands: # (new in 0.89)
|
12
|
+
# Enabled: true
|
13
|
+
# Lint/ConstantDefinitionInBlock: # (new in 0.91)
|
14
|
+
# Enabled: true
|
15
|
+
# Lint/DeprecatedOpenSSLConstant: # (new in 0.84)
|
16
|
+
# Enabled: true
|
17
|
+
# Lint/DuplicateElsifCondition: # (new in 0.88)
|
18
|
+
# Enabled: true
|
19
|
+
# Lint/DuplicateRequire: # (new in 0.90)
|
20
|
+
# Enabled: true
|
21
|
+
# Lint/DuplicateRescueException: # (new in 0.89)
|
22
|
+
# Enabled: true
|
23
|
+
# Lint/EmptyConditionalBody: # (new in 0.89)
|
24
|
+
# Enabled: true
|
25
|
+
# Lint/EmptyFile: # (new in 0.90)
|
26
|
+
# Enabled: true
|
27
|
+
# Lint/FloatComparison: # (new in 0.89)
|
28
|
+
# Enabled: true
|
29
|
+
# Lint/IdentityComparison: # (new in 0.91)
|
30
|
+
# Enabled: true
|
31
|
+
# Lint/MissingSuper: # (new in 0.89)
|
32
|
+
# Enabled: true
|
33
|
+
# Lint/MixedRegexpCaptureTypes: # (new in 0.85)
|
34
|
+
# Enabled: true
|
35
|
+
# Lint/OutOfRangeRegexpRef: # (new in 0.89)
|
36
|
+
# Enabled: true
|
37
|
+
# Lint/RaiseException: # (new in 0.81)
|
38
|
+
# Enabled: true
|
39
|
+
# Lint/SelfAssignment: # (new in 0.89)
|
40
|
+
# Enabled: true
|
41
|
+
# Lint/StructNewOverride: # (new in 0.81)
|
42
|
+
# Enabled: true
|
43
|
+
# Lint/TopLevelReturnWithArgument: # (new in 0.89)
|
44
|
+
# Enabled: true
|
45
|
+
# Lint/TrailingCommaInAttributeDeclaration: # (new in 0.90)
|
46
|
+
# Enabled: true
|
47
|
+
# Lint/UnreachableLoop: # (new in 0.89)
|
48
|
+
# Enabled: true
|
49
|
+
# Lint/UselessMethodDefinition: # (new in 0.90)
|
50
|
+
# Enabled: true
|
51
|
+
# Lint/UselessTimes: # (new in 0.91)
|
52
|
+
# Enabled: true
|
53
|
+
# Style/AccessorGrouping: # (new in 0.87)
|
54
|
+
# Enabled: true
|
55
|
+
# Style/ArrayCoercion: # (new in 0.88)
|
56
|
+
# Enabled: true
|
57
|
+
# Style/BisectedAttrAccessor: # (new in 0.87)
|
58
|
+
# Enabled: true
|
59
|
+
# Style/CaseLikeIf: # (new in 0.88)
|
60
|
+
# Enabled: true
|
61
|
+
# Style/CombinableLoops: # (new in 0.90)
|
62
|
+
# Enabled: true
|
63
|
+
# Style/ExplicitBlockArgument: # (new in 0.89)
|
64
|
+
# Enabled: true
|
65
|
+
# Style/ExponentialNotation: # (new in 0.82)
|
66
|
+
# Enabled: true
|
67
|
+
# Style/GlobalStdStream: # (new in 0.89)
|
68
|
+
# Enabled: true
|
69
|
+
# Style/HashAsLastArrayItem: # (new in 0.88)
|
70
|
+
# Enabled: true
|
71
|
+
# Style/HashEachMethods: # (new in 0.80)
|
72
|
+
# Enabled: true
|
73
|
+
# Style/HashLikeCase: # (new in 0.88)
|
74
|
+
# Enabled: true
|
75
|
+
# Style/HashTransformKeys: # (new in 0.80)
|
76
|
+
# Enabled: true
|
77
|
+
# Style/HashTransformValues: # (new in 0.80)
|
78
|
+
# Enabled: true
|
79
|
+
# Style/KeywordParametersOrder: # (new in 0.90)
|
80
|
+
# Enabled: true
|
81
|
+
# Style/OptionalBooleanParameter: # (new in 0.89)
|
82
|
+
# Enabled: true
|
83
|
+
# Style/RedundantAssignment: # (new in 0.87)
|
84
|
+
# Enabled: true
|
85
|
+
# Style/RedundantFetchBlock: # (new in 0.86)
|
86
|
+
# Enabled: true
|
87
|
+
# Style/RedundantFileExtensionInRequire: # (new in 0.88)
|
88
|
+
# Enabled: true
|
89
|
+
# Style/RedundantRegexpCharacterClass: # (new in 0.85)
|
90
|
+
# Enabled: true
|
91
|
+
# Style/RedundantRegexpEscape: # (new in 0.85)
|
92
|
+
# Enabled: true
|
93
|
+
# Style/RedundantSelfAssignment: # (new in 0.90)
|
94
|
+
# Enabled: true
|
95
|
+
# Style/SingleArgumentDig: # (new in 0.89)
|
96
|
+
# Enabled: true
|
97
|
+
# Style/SlicingWithRange: # (new in 0.83)
|
98
|
+
# Enabled: true
|
99
|
+
# Style/SoleNestedConditional: # (new in 0.89)
|
100
|
+
# Enabled: true
|
101
|
+
# Style/StringConcatenation: # (new in 0.89)
|
102
|
+
# Enabled: true
|
103
|
+
# For more information: https://docs.rubocop.org/rubocop/versioning.html
|
data/rails.yml
CHANGED
@@ -9,6 +9,14 @@ Rails/SkipsModelValidations:
|
|
9
9
|
- "lib/tasks/**/*"
|
10
10
|
- "spec/**/*"
|
11
11
|
- "test/**/*"
|
12
|
+
Rails/UnknownEnv:
|
13
|
+
Environments:
|
14
|
+
- cucumber
|
15
|
+
- development
|
16
|
+
- production
|
17
|
+
- qa
|
18
|
+
- test
|
19
|
+
- uat
|
12
20
|
|
13
21
|
# These rails cops are currently pending and will be enabled by default at some point, but adding for now to stop
|
14
22
|
# Rubocop or VSCode complaining...
|
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: 7.0
|
4
|
+
version: 7.2.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-09-
|
11
|
+
date: 2020-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.91.1
|
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.91.1
|
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:
|
33
|
+
version: 1.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:
|
40
|
+
version: 1.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 2.8.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 2.8.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.43.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.43.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '13.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.9'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.9'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rspec-nc
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|