google-style 1.27.0 → 1.30.0

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: 58a49ab0c0da9f69e6d6ddd9c41f6b3c68e38c1cbca9e6779afc3c7e9e076788
4
- data.tar.gz: 8696d4e76014ab0319a17570fad4d3bf39b4cc93e71e1dde5d9e5f57b70be2cb
3
+ metadata.gz: 906c9087cfa64f0c44573dab2331178d760beb23837553fc22efa90ecc722337
4
+ data.tar.gz: '088d4999f8f76939340b340c790c2faa83d892290cb1307326d7b20bd2ce530d'
5
5
  SHA512:
6
- metadata.gz: 7d16ac0ac6c7603dacfc3c215e2234f2811cc09ae05b2cad5339549ed284f06ce806c2ec620e385fdb9cbdd08131775079462a7405f8ddef180af8cfe5e63118
7
- data.tar.gz: 0e84cc6d4f5fa48cea843efd4568b2dc8e6743447c1887aa905d60293d7ed51cdc7611d519583bea98639f6adb73424f7ea52f843d8b7a2ec98fafe05267989b
6
+ metadata.gz: becf5c2eba0ddc711ef2f329b6dddca06f7d9f2acf606465a798a4bbe44f8ca628b623b1e73e7dcb255908405d8b81b4630f0ca24d8fc99b43032226bb9b3a1f
7
+ data.tar.gz: 1ad2e4a7a03e3edf0d891650117c53a216c597af75d47b9fc3fa87bbeb075163d6c59286760126ff6a6ae66d0f79be75c379acb822972815e40c4fd1f432e71b
data/google-style.yml CHANGED
@@ -15,7 +15,7 @@
15
15
  AllCops:
16
16
  NewCops: disable
17
17
  SuggestExtensions: false
18
- TargetRubyVersion: 2.7
18
+ TargetRubyVersion: 3.0
19
19
 
20
20
  # Added in Rubocop 1.30
21
21
  Gemspec/DeprecatedAttributeAssignment:
@@ -120,10 +120,18 @@ Lint/EmptyInPattern:
120
120
  Lint/IncompatibleIoSelectWithFiberScheduler:
121
121
  Enabled: true
122
122
 
123
+ # Added in Rubocop 1.59
124
+ Lint/ItWithoutArgumentsInBlock:
125
+ Enabled: true
126
+
123
127
  # Added in Rubocop 1.8
124
128
  Lint/LambdaWithoutLiteralBlock:
125
129
  Enabled: true
126
130
 
131
+ # Added in Rubocop 1.58
132
+ Lint/LiteralAssignmentInCondition:
133
+ Enabled: true
134
+
127
135
  # Added in Rubocop 1.53
128
136
  Lint/MixedCaseRange:
129
137
  Enabled: true
@@ -242,6 +250,10 @@ Style/AccessorGrouping:
242
250
  # Added in Rubocop 1.1
243
251
  Style/ArgumentsForwarding:
244
252
  Enabled: true
253
+ RedundantBlockArgumentNames: [] # To support Ruby < 3.2
254
+ RedundantKeywordRestArgumentNames: [] # To support Ruby < 3.2
255
+ RedundantRestArgumentNames: [] # To support Ruby < 3.2
256
+ UseAnonymousForwarding: false # To support Ruby < 3.2
245
257
 
246
258
  # Problematic for generated code which might include unicode in comments.
247
259
  Style/AsciiComments:
@@ -341,6 +353,10 @@ Style/MagicCommentFormat:
341
353
  Style/MapCompactWithConditionalBlock:
342
354
  Enabled: true
343
355
 
356
+ # Added in Rubocop 1.63
357
+ Style/MapIntoArray:
358
+ Enabled: true
359
+
344
360
  # Added in Rubocop 1.24
345
361
  Style/MapToHash:
346
362
  Enabled: true
@@ -500,6 +516,10 @@ Style/ReturnNilInPredicateMethodDefinition:
500
516
  Style/SelectByRegexp:
501
517
  Enabled: false
502
518
 
519
+ # Added in Rubocop 1.57
520
+ Style/SingleLineDoEndBlock:
521
+ Enabled: true
522
+
503
523
  # Added in Rubocop 1.12
504
524
  Style/StringChars:
505
525
  Enabled: true
@@ -508,6 +528,10 @@ Style/StringChars:
508
528
  Style/StringLiterals:
509
529
  EnforcedStyle: double_quotes
510
530
 
531
+ # We prefer omitting parentheses where possible.
532
+ Style/SuperWithArgsParentheses:
533
+ Enabled: false
534
+
511
535
  # Added in Rubocop 1.1
512
536
  Style/SwapValues:
513
537
  Enabled: true
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Google
18
18
  module Style
19
- VERSION = "1.27.0"
19
+ VERSION = "1.30.0"
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.27.0
4
+ version: 1.30.0
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: 2023-09-13 00:00:00.000000000 Z
12
+ date: 2024-04-24 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.56'
20
+ version: '1.63'
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.56'
27
+ version: '1.63'
28
28
  description: Shared style guide for Google's ruby projects
29
29
  email:
30
30
  - dazuma@google.com
@@ -51,14 +51,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 2.7.0
54
+ version: 3.0.0
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
- rubygems_version: 3.4.19
61
+ rubygems_version: 3.5.6
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Collection of rubocop rules