google-style 0.2.0 → 0.3.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 +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e91b1e269f045903f83245b3ffd71444aecc972dfabd8cb13974bd0b5e55d2b7
|
4
|
+
data.tar.gz: e32a28291694e740295447c9beb8a5123eca14cab290ea7b976582ba476d0af3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85c42e6c1e774536775d6e31472f964e6e40368d5ba5432fa2fce2d2143c5fed8c343a34a14a9e15f64e54a4149d4e1dc951d62ac4c48c0b81ca6bccc4dfc7c4
|
7
|
+
data.tar.gz: d4c6abf64a6a3757f48b7e2a27ad432dd7bc3bfbd39ba354c0f515dcab1ad8565377e3aa9e3b1c68860e99b0225b7729bd8f32c6771172d61eb163f6834b02f8
|
data/google-style.yml
CHANGED
@@ -35,6 +35,8 @@ Metrics/PerceivedComplexity:
|
|
35
35
|
Max: 10
|
36
36
|
Naming/VariableNumber:
|
37
37
|
Enabled: false
|
38
|
+
Style/EmptyMethod:
|
39
|
+
EnforcedStyle: expanded
|
38
40
|
Style/FrozenStringLiteralComment:
|
39
41
|
Enabled: false
|
40
42
|
Style/MethodCallWithArgsParentheses:
|
@@ -42,11 +44,16 @@ Style/MethodCallWithArgsParentheses:
|
|
42
44
|
EnforcedStyle: omit_parentheses
|
43
45
|
AllowParenthesesInMultilineCall: true
|
44
46
|
AllowParenthesesInCamelCaseMethod: true
|
47
|
+
AllowParenthesesInChaining: true
|
45
48
|
Style/MethodDefParentheses:
|
46
49
|
EnforcedStyle: require_no_parentheses
|
47
50
|
Style/RescueModifier:
|
48
51
|
Enabled: false
|
49
52
|
Style/StringLiterals:
|
50
53
|
EnforcedStyle: double_quotes
|
54
|
+
Style/SymbolArray:
|
55
|
+
EnforcedStyle: brackets
|
51
56
|
Style/TrivialAccessors:
|
52
57
|
Enabled: false
|
58
|
+
Style/WordArray:
|
59
|
+
EnforcedStyle: brackets
|
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: 0.
|
4
|
+
version: 0.3.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: 2019-
|
11
|
+
date: 2019-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 2.
|
79
|
+
version: 2.3.0
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|