google-style 1.25.1 → 1.25.2

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: c8b6fc152c4c0d78c5e933d64a1a9b5fd355aaa18f9e889efe073994b75a4379
4
- data.tar.gz: e3e0dbcdfd7beb63b8201d1083c3bbad01a0c46069edbe23ed0e0247e356857b
3
+ metadata.gz: 642e8669ef6ba1abaf3f85c254735d0282f39dbdc3b09335a3bfdb0d8112909e
4
+ data.tar.gz: f9bec1c16dda8668e61e272f8d1e9c3137bfa843bc4ccedd3d0cb5c24c69338a
5
5
  SHA512:
6
- metadata.gz: 36145174df5f7281ac6d953b806a55d9ac3422ce2a5f66ea9b5e64e93dfa30dc0e61d8386d118231d055a49731fa7ae186b3ed0be3e106de97c0fdf8217fd4d7
7
- data.tar.gz: 976ea6551cd0d27b8b6cc412fd5d7920667181f6569698206f78225fef423690ca65b8aa913e0a39405e06b4327aa149e208705d61c8e701f009ad3eeb503fe0
6
+ metadata.gz: dfcfe24caf4cf56e27f5368cc7054f8ca63a8073ca8eb3f8f8e916496bafb6e52a479b8458c607e3ee03ec2e246bf19eadd582ad6bd03824550994252da89ca7
7
+ data.tar.gz: ef48b6b27a48bf78501f0d9dee7a771943a1dfadb98c9916aaa158ca6846e735c5446f0a194b2f7ad2eaa87907ce109dd16b38d90a093c977380e5c96bdba35a
data/README.md CHANGED
@@ -45,13 +45,13 @@ For all `1.x.x` gem versions:
45
45
 
46
46
  Contributions to this library are always welcome and highly encouraged.
47
47
 
48
- See the [Contributing
49
- Guide](CONTRIBUTING.md)
48
+ See the {file:CONTRIBUTING.md Contributing
49
+ Guide}
50
50
  for more information on how to get started.
51
51
 
52
52
  Please note that this project is released with a Contributor Code of Conduct. By
53
- participating in this project you agree to abide by its terms. See the [Code of
54
- Conduct](CODE_OF_CONDUCT.md)
53
+ participating in this project you agree to abide by its terms. See the {file:CODE_OF_CONDUCT.md Code of
54
+ Conduct}
55
55
  for more information.
56
56
 
57
57
  ## License
data/google-style.yml CHANGED
@@ -207,6 +207,11 @@ Style/NilLambda:
207
207
  Style/RedundantArgument:
208
208
  Enabled: true
209
209
 
210
+ # Disabled because we prefer to keep begin-end blocks in memoization for
211
+ # readability (see https://github.com/rubocop/rubocop/pull/9602).
212
+ Style/RedundantBegin:
213
+ Enabled: false
214
+
210
215
  # The idiom is useful in a variety of cases. We prefer to allow it.
211
216
  Style/RescueModifier:
212
217
  Enabled: false
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module Google
18
+ module Style
19
+ VERSION = "1.25.2"
20
+ end
21
+ end
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.25.1
4
+ version: 1.25.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Graham Paye
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-09 00:00:00.000000000 Z
11
+ date: 2021-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -64,7 +64,8 @@ files:
64
64
  - LICENSE
65
65
  - README.md
66
66
  - google-style.yml
67
- homepage: https://github.com/googleapis/ruby-style/tree/master/
67
+ - lib/google/style/version.rb
68
+ homepage: https://github.com/googleapis/ruby-style/
68
69
  licenses:
69
70
  - Apache-2.0
70
71
  metadata: {}
@@ -83,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
84
  - !ruby/object:Gem::Version
84
85
  version: '0'
85
86
  requirements: []
86
- rubygems_version: 3.1.4
87
+ rubygems_version: 3.2.17
87
88
  signing_key:
88
89
  specification_version: 4
89
90
  summary: Collection of rubocop rules