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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa90af2ef1f40c43821166303755429a57f478c0674fa8b3b97a019e53018a3f
4
- data.tar.gz: 2f59c7078749ffadb4aa643ae7ad9ffd67785e9db0e9335e0f3979329403a45c
3
+ metadata.gz: bb8c5399943415765d795bc95251a6ab82f13a849f3175ce4fbbf8c80d0fe810
4
+ data.tar.gz: 620917fb65836aa5e66661f560207816be0a104575cd67ec186e69ef717a9f9d
5
5
  SHA512:
6
- metadata.gz: 22db03593c84225b5db41a7f4d007131df77b837ca470e4db1d37ee40c72e0324d7b1d211b38c8ca4bfa44e076406595f4b60664ec832a61fd7dd87d6ae1276c
7
- data.tar.gz: cd28ec976dbdb2ef46612915178dd2d23a08055a45e5f22634fedb4837e1a309dfaa0bf8a3d2e66222d777358de1c56053a3e3918dada420f361306cf111eac7
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
 
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Google
18
18
  module Style
19
- VERSION = "1.26.1"
19
+ VERSION = "1.26.3"
20
20
  end
21
21
  end
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.1
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: 2022-06-27 00:00:00.000000000 Z
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.3.14
61
+ rubygems_version: 3.4.2
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Collection of rubocop rules