google-style 1.26.0 → 1.26.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: ddaff33d2cc315a8556e8c10de5fb5559eb4af9135cac54ff8887b0bdbcc3836
4
- data.tar.gz: 8face950d19f86e994dad1766a658a4870ffbccea2ebb294af32fd64dc4cedc7
3
+ metadata.gz: 9cf976418f6fe3bdfa07c70d61dc86a1cd6764bd859a1e15a7ce86f10580bbf4
4
+ data.tar.gz: cd82c62b351a460bcbd5450a4acc43b6af61db532ceb4ffbc1ddeab51c199847
5
5
  SHA512:
6
- metadata.gz: f66d50b81fbeef78654f9c1b0ce532a5779d38866894ff1d79970192917eb47d07e789503e792e1e0b92f6f109232854baa6b8ad87c4eeecca467e1864d3b98d
7
- data.tar.gz: 3547fb4bce7a282685bf28dc6992f4089091e00a6d89ecd93e9eef4e3b1ba5c93ebf0839968e6f396b7658ae2a9cfad297a844e538988371d43a71bfd73bb662
6
+ metadata.gz: 969b9f0f7af2b99aa0304db81fffe0e830304068c6b9153dfab516e731f1767a9a098b26c3b8e01da5b17a2dd0c0509fa24fa22ccc6270f8788e9598584cf1d6
7
+ data.tar.gz: af993b3c47dabc6f12c234d1f7e730b8059f1978a2270a18ed0308802e7e2ada8ab7f3f83627c0a6245d3c1c5708fec6c55cc02e0bd8162c57ec62adc9030367
data/README.md CHANGED
@@ -47,12 +47,12 @@ specific minor version.
47
47
 
48
48
  Contributions to this library are always welcome and highly encouraged.
49
49
 
50
- See the [Contributing Guide](CONTRIBUTING.md)
50
+ See the {file:CONTRIBUTING.md Contributing Guide}
51
51
  for more information on how to get started.
52
52
 
53
53
  Please note that this project is released with a Contributor Code of Conduct. By
54
- participating in this project you agree to abide by its terms. See the [Code of
55
- Conduct](CODE_OF_CONDUCT.md) for more information.
54
+ participating in this project you agree to abide by its terms. See the {file:CODE_OF_CONDUCT.md Code of
55
+ Conduct} for more information.
56
56
 
57
57
  ## License
58
58
 
data/google-style.yml CHANGED
@@ -17,10 +17,6 @@ AllCops:
17
17
  SuggestExtensions: false
18
18
  TargetRubyVersion: 2.6
19
19
 
20
- # Added in Rubocop 1.10
21
- Gemspec/DateAssignment:
22
- Enabled: true
23
-
24
20
  # Added in Rubocop 1.30
25
21
  Gemspec/DeprecatedAttributeAssignment:
26
22
  Enabled: true
@@ -42,6 +38,14 @@ Layout/EmptyLines:
42
38
  Layout/HashAlignment:
43
39
  Enabled: false
44
40
 
41
+ # Added in Rubocop 1.31
42
+ Layout/LineContinuationLeadingSpace:
43
+ Enabled: true
44
+
45
+ # Added in Rubocop 1.31
46
+ Layout/LineContinuationSpacing:
47
+ Enabled: true
48
+
45
49
  # Added in Rubocop 1.18
46
50
  Layout/LineEndStringConcatenationIndentation:
47
51
  Enabled: true
@@ -66,6 +70,10 @@ Lint/AmbiguousOperatorPrecedence:
66
70
  Lint/AmbiguousRange:
67
71
  Enabled: true
68
72
 
73
+ # Added in Rubocop 1.31
74
+ Lint/ConstantOverwrittenInRescue:
75
+ Enabled: true
76
+
69
77
  # Added in Rubocop 1.8
70
78
  Lint/DeprecatedConstants:
71
79
  Enabled: true
@@ -102,6 +110,10 @@ Lint/LambdaWithoutLiteralBlock:
102
110
  Lint/NoReturnInBeginEndBlocks:
103
111
  Enabled: true
104
112
 
113
+ # Added in Rubocop 1.31
114
+ Lint/NonAtomicFileOperation:
115
+ Enabled: true
116
+
105
117
  # Added in Rubocop 1.9
106
118
  Lint/NumberedParameterAssignment:
107
119
  Enabled: true
@@ -341,11 +353,16 @@ Style/RedundantInitialize:
341
353
  Style/RedundantSelfAssignmentBranch:
342
354
  Enabled: true
343
355
 
356
+ # Disabled because we find it to be pedantic. The enforced rules are too simple
357
+ # to capture readability, and are especially problematic for generated code.
358
+ Style/RegexpLiteral:
359
+ Enabled: false
360
+
344
361
  # The idiom is useful in a variety of cases. We prefer to allow it.
345
362
  Style/RescueModifier:
346
363
  Enabled: false
347
364
 
348
- # We disagree with this one. Grep is more specialized than select/reject
365
+ # We disagree with this one. Grep is more specialized than select/reject.
349
366
  Style/SelectByRegexp:
350
367
  Enabled: false
351
368
 
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Google
18
18
  module Style
19
- VERSION = "1.26.0"
19
+ VERSION = "1.26.2"
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.0
4
+ version: 1.26.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  - Graham Paye
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-05-27 00:00:00.000000000 Z
12
+ date: 2022-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.30'
20
+ version: '1.31'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.30'
27
+ version: '1.31'
28
28
  description: Shared style guide for Google's ruby projects
29
29
  email:
30
30
  - dazuma@google.com
@@ -43,7 +43,7 @@ homepage: https://github.com/googleapis/ruby-style/
43
43
  licenses:
44
44
  - Apache-2.0
45
45
  metadata: {}
46
- post_install_message:
46
+ post_install_message:
47
47
  rdoc_options: []
48
48
  require_paths:
49
49
  - lib
@@ -58,8 +58,8 @@ 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.7
62
- signing_key:
61
+ rubygems_version: 3.3.14
62
+ signing_key:
63
63
  specification_version: 4
64
64
  summary: Collection of rubocop rules
65
65
  test_files: []