google-style 1.26.1 → 1.26.3
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 +12 -1
- data/lib/google/style/version.rb +1 -1
- 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: bb8c5399943415765d795bc95251a6ab82f13a849f3175ce4fbbf8c80d0fe810
|
4
|
+
data.tar.gz: 620917fb65836aa5e66661f560207816be0a104575cd67ec186e69ef717a9f9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bfa83900a3864ff049cfccc5c5fa4865f4f60cfb5bb1dcb76189693b0e8da7a5ef4a849c614b05422b69fa9652ab2621351796d7141e6e2887cc1d42c1c80fd
|
7
|
+
data.tar.gz: 93f12589c597908e926262cfcf2cd31d0c58562f0c67c5a737d98c6d30d474f01ccf0e1fdec95cbcc6b71b822d4ba23f2ba5e83cd475db3d112db58798e7dca3
|
data/google-style.yml
CHANGED
@@ -74,6 +74,12 @@ Lint/AmbiguousRange:
|
|
74
74
|
Lint/ConstantOverwrittenInRescue:
|
75
75
|
Enabled: true
|
76
76
|
|
77
|
+
# Samples often use Kernel#p which Lint/Debugger doesn't like.
|
78
|
+
Lint/Debugger:
|
79
|
+
Exclude:
|
80
|
+
- "samples/**/*.rb"
|
81
|
+
- "snippets/**/*.rb"
|
82
|
+
|
77
83
|
# Added in Rubocop 1.8
|
78
84
|
Lint/DeprecatedConstants:
|
79
85
|
Enabled: true
|
@@ -353,11 +359,16 @@ Style/RedundantInitialize:
|
|
353
359
|
Style/RedundantSelfAssignmentBranch:
|
354
360
|
Enabled: true
|
355
361
|
|
362
|
+
# Disabled because we find it to be pedantic. The enforced rules are too simple
|
363
|
+
# to capture readability, and are especially problematic for generated code.
|
364
|
+
Style/RegexpLiteral:
|
365
|
+
Enabled: false
|
366
|
+
|
356
367
|
# The idiom is useful in a variety of cases. We prefer to allow it.
|
357
368
|
Style/RescueModifier:
|
358
369
|
Enabled: false
|
359
370
|
|
360
|
-
# We disagree with this one. Grep is more specialized than select/reject
|
371
|
+
# We disagree with this one. Grep is more specialized than select/reject.
|
361
372
|
Style/SelectByRegexp:
|
362
373
|
Enabled: false
|
363
374
|
|
data/lib/google/style/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.26.
|
4
|
+
version: 1.26.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
|
-
rubygems_version: 3.
|
61
|
+
rubygems_version: 3.4.2
|
62
62
|
signing_key:
|
63
63
|
specification_version: 4
|
64
64
|
summary: Collection of rubocop rules
|