google-style 1.27.1 → 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: 87007242fed89be89a436b81be70abd484e4f537c6a565c4150adfb0bb6552ed
4
- data.tar.gz: f7e4172dba6edaa4072a9f40c33d4fefc5e1c89c1e4d9308411ec2db51c80cd4
3
+ metadata.gz: 906c9087cfa64f0c44573dab2331178d760beb23837553fc22efa90ecc722337
4
+ data.tar.gz: '088d4999f8f76939340b340c790c2faa83d892290cb1307326d7b20bd2ce530d'
5
5
  SHA512:
6
- metadata.gz: f25a2ec00e086296c7e9e8c99e89ee94a8add0697baef9d1e43b3d531c3e217d38cb4416ebd222c2275827a4cf443efd17405ad720a18cb0b25f98917d5e3633
7
- data.tar.gz: 94682d1ae0e65c8528f650f1192e55992b468523769c79ca7e8293f108d061e5abb08d1f521816ebc82e90961184a1d2c399ec2a576f58d5915f76cca190f984
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
@@ -345,6 +353,10 @@ Style/MagicCommentFormat:
345
353
  Style/MapCompactWithConditionalBlock:
346
354
  Enabled: true
347
355
 
356
+ # Added in Rubocop 1.63
357
+ Style/MapIntoArray:
358
+ Enabled: true
359
+
348
360
  # Added in Rubocop 1.24
349
361
  Style/MapToHash:
350
362
  Enabled: true
@@ -504,6 +516,10 @@ Style/ReturnNilInPredicateMethodDefinition:
504
516
  Style/SelectByRegexp:
505
517
  Enabled: false
506
518
 
519
+ # Added in Rubocop 1.57
520
+ Style/SingleLineDoEndBlock:
521
+ Enabled: true
522
+
507
523
  # Added in Rubocop 1.12
508
524
  Style/StringChars:
509
525
  Enabled: true
@@ -512,6 +528,10 @@ Style/StringChars:
512
528
  Style/StringLiterals:
513
529
  EnforcedStyle: double_quotes
514
530
 
531
+ # We prefer omitting parentheses where possible.
532
+ Style/SuperWithArgsParentheses:
533
+ Enabled: false
534
+
515
535
  # Added in Rubocop 1.1
516
536
  Style/SwapValues:
517
537
  Enabled: true
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Google
18
18
  module Style
19
- VERSION = "1.27.1"
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.1
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: 2024-01-20 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.5.3
61
+ rubygems_version: 3.5.6
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Collection of rubocop rules