google-style 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/google-style.yml +55 -9
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e954fc240902e4faacb8fcdb6e4d40cd2b910e36408e73cc25cdf9010c2a7b10
|
4
|
+
data.tar.gz: 58e410551ca3077977df5eed54c089e2a80e28482e6e9f07abf76e02594e67bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a04d43f1bffbe7cb7edfb7a26039a95121c5aced3557a5fc233a3cdd37f4d673c577e69d3e8299a72fcd51fbb89aaf65621b91430f5e0668253ddbcd8f7af81f
|
7
|
+
data.tar.gz: 46b22449cc84c46c005cc6b72e9a498a85e51e7b0f6aa54be308f2b186e8d659bfe04951cd3980a5a4e0b1b8f25a2e8786b891e1f05d21c6234b4f4d6e6858fe
|
data/google-style.yml
CHANGED
@@ -13,20 +13,48 @@
|
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
15
|
AllCops:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
EnforcedColonStyle: table
|
16
|
+
SuggestExtensions: true
|
17
|
+
TargetRubyVersion: 2.5
|
18
|
+
|
20
19
|
Layout/EmptyLineAfterGuardClause:
|
21
20
|
Enabled: false
|
22
21
|
Layout/EmptyLines: # for the extra line between copyright and code
|
23
22
|
Enabled: false
|
23
|
+
Layout/HashAlignment:
|
24
|
+
EnforcedColonStyle: table
|
25
|
+
EnforcedHashRocketStyle: table
|
26
|
+
Layout/LineLength:
|
27
|
+
Max: 120
|
28
|
+
Layout/SpaceBeforeBrackets:
|
29
|
+
Enabled: true
|
30
|
+
Lint/AmbiguousAssignment:
|
31
|
+
Enabled: true
|
32
|
+
Lint/DeprecatedConstants:
|
33
|
+
Enabled: true
|
34
|
+
Lint/DuplicateBranch:
|
35
|
+
Enabled: true
|
36
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
37
|
+
Enabled: true
|
38
|
+
Lint/EmptyBlock:
|
39
|
+
Enabled: true
|
40
|
+
Lint/EmptyClass:
|
41
|
+
Enabled: true
|
42
|
+
Lint/LambdaWithoutLiteralBlock:
|
43
|
+
Enabled: true
|
44
|
+
Lint/NoReturnInBeginEndBlocks:
|
45
|
+
Enabled: true
|
46
|
+
Lint/RedundantDirGlobSort:
|
47
|
+
Enabled: true
|
48
|
+
Lint/ToEnumArguments:
|
49
|
+
Enabled: true
|
50
|
+
Lint/UnexpectedBlockArity:
|
51
|
+
Enabled: true
|
52
|
+
Lint/UnmodifiedReduceAccumulator:
|
53
|
+
Enabled: true
|
24
54
|
Metrics/AbcSize:
|
25
55
|
Max: 30
|
26
56
|
Metrics/CyclomaticComplexity:
|
27
57
|
Max: 10
|
28
|
-
Metrics/LineLength:
|
29
|
-
Max: 120
|
30
58
|
Metrics/MethodLength:
|
31
59
|
Max: 25
|
32
60
|
Metrics/ParameterLists:
|
@@ -35,22 +63,40 @@ Metrics/PerceivedComplexity:
|
|
35
63
|
Max: 10
|
36
64
|
Naming/VariableNumber:
|
37
65
|
Enabled: false
|
66
|
+
Style/ArgumentsForwarding:
|
67
|
+
Enabled: true
|
68
|
+
Style/CollectionCompact:
|
69
|
+
Enabled: true
|
70
|
+
Style/DocumentDynamicEvalDefinition:
|
71
|
+
Enabled: true
|
38
72
|
Style/EmptyMethod:
|
39
73
|
EnforcedStyle: expanded
|
74
|
+
Style/EndlessMethod:
|
75
|
+
Enabled: true
|
40
76
|
Style/FrozenStringLiteralComment:
|
41
77
|
Enabled: false
|
42
|
-
Style/
|
78
|
+
Style/HashExcept:
|
43
79
|
Enabled: true
|
44
|
-
|
45
|
-
AllowParenthesesInMultilineCall: true
|
80
|
+
Style/MethodCallWithArgsParentheses:
|
46
81
|
AllowParenthesesInCamelCaseMethod: true
|
47
82
|
AllowParenthesesInChaining: true
|
83
|
+
AllowParenthesesInMultilineCall: true
|
84
|
+
Enabled: true
|
85
|
+
EnforcedStyle: omit_parentheses
|
48
86
|
Style/MethodDefParentheses:
|
49
87
|
EnforcedStyle: require_no_parentheses
|
88
|
+
Style/NegatedIfElseCondition:
|
89
|
+
Enabled: true
|
90
|
+
Style/NilLambda:
|
91
|
+
Enabled: true
|
92
|
+
Style/RedundantArgument:
|
93
|
+
Enabled: true
|
50
94
|
Style/RescueModifier:
|
51
95
|
Enabled: false
|
52
96
|
Style/StringLiterals:
|
53
97
|
EnforcedStyle: double_quotes
|
98
|
+
Style/SwapValues:
|
99
|
+
Enabled: true
|
54
100
|
Style/SymbolArray:
|
55
101
|
EnforcedStyle: brackets
|
56
102
|
Style/TrivialAccessors:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Graham Paye
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-28 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:
|
19
|
+
version: '1.8'
|
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:
|
26
|
+
version: '1.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,14 +76,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 2.
|
79
|
+
version: 2.5.0
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
86
|
+
rubyforge_project:
|
87
|
+
rubygems_version: 2.7.6
|
87
88
|
signing_key:
|
88
89
|
specification_version: 4
|
89
90
|
summary: Collection of rubocop rules
|