google-style 1.27.1 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/google-style.yml +21 -1
- data/lib/google/style/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 906c9087cfa64f0c44573dab2331178d760beb23837553fc22efa90ecc722337
|
|
4
|
+
data.tar.gz: '088d4999f8f76939340b340c790c2faa83d892290cb1307326d7b20bd2ce530d'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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
|
data/lib/google/style/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
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.
|
|
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:
|
|
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.
|
|
61
|
+
rubygems_version: 3.5.6
|
|
62
62
|
signing_key:
|
|
63
63
|
specification_version: 4
|
|
64
64
|
summary: Collection of rubocop rules
|