standard 1.52.0 → 1.54.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/.github/dependabot.yml +2 -1
- data/.github/workflows/test.yml +4 -4
- data/.github/workflows/update.yml +2 -2
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +16 -18
- data/config/base.yml +15 -0
- data/config/ruby-3.3.yml +1 -1
- data/config/ruby-3.4.yml +7 -0
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77d5ce1f11e78af6b5385e7f66c137cf19833a6630e3ad888aa4110b5b9f940a
|
|
4
|
+
data.tar.gz: 908d41047616f9b107bc363aeae0aed023989b6008437601ad6ee272191cd198
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb6aa66d810bda704d569d1ea2f37ef4dd24d0724826af0767c7bacd0fd8318d5639b0d3be335fad68541f0f4a6b4dfd9971db5cb681dedae6b644765a688341
|
|
7
|
+
data.tar.gz: dca94f93a49d1bcfd5b5bf21a53e22cf4ee2763e41b95b7787b5f2507f9d2f5381178342e83c6cdabf90c30711b3db5321803c1b8ed47ce9a807cd7f01361ef6
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/test.yml
CHANGED
|
@@ -12,12 +12,12 @@ on:
|
|
|
12
12
|
jobs:
|
|
13
13
|
test:
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
|
-
strategy: {matrix: {ruby: [
|
|
15
|
+
strategy: {matrix: {ruby: [ 3.1, 3.2, 3.3, 3.4, '4.0' ]}}
|
|
16
16
|
steps:
|
|
17
|
-
- uses: step-security/harden-runner@
|
|
17
|
+
- uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
|
|
18
18
|
with: { egress-policy: audit }
|
|
19
|
-
- uses: actions/checkout@
|
|
20
|
-
- uses: ruby/setup-ruby@
|
|
19
|
+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
20
|
+
- uses: ruby/setup-ruby@4fc31e1c823882afd7ef55985266a526c589de90 # v1.282.0
|
|
21
21
|
with:
|
|
22
22
|
ruby-version: ${{ matrix.ruby }}
|
|
23
23
|
bundler-cache: true
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@v6
|
|
18
18
|
- name: Set up Ruby
|
|
19
19
|
uses: ruby/setup-ruby@v1
|
|
20
20
|
with:
|
|
@@ -45,7 +45,7 @@ jobs:
|
|
|
45
45
|
id: date
|
|
46
46
|
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
|
47
47
|
- name: Create Pull Request
|
|
48
|
-
uses: peter-evans/create-pull-request@
|
|
48
|
+
uses: peter-evans/create-pull-request@v8
|
|
49
49
|
with:
|
|
50
50
|
reviewers: camilopayan
|
|
51
51
|
commit-message: '[ ${{ steps.date.outputs.date }} ] - Update dependencies'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.54.0
|
|
4
|
+
|
|
5
|
+
* Updates rubocop to [1.84.0](https://github.com/rubocop/rubocop/releases/tag/v1.84.2)
|
|
6
|
+
|
|
7
|
+
## 1.53.0
|
|
8
|
+
|
|
9
|
+
* Updates rubocop to [1.82.0](https://github.com/rubocop/rubocop/releases/tag/v1.82.0)
|
|
10
|
+
* Starts support for Ruby 4.0
|
|
11
|
+
|
|
3
12
|
## 1.52.0
|
|
4
13
|
|
|
5
14
|
* Updates rubocop to [1.81.7](https://github.com/rubocop/rubocop/tree/v1.81.7)
|
data/Gemfile.lock
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
standard (1.
|
|
4
|
+
standard (1.54.0)
|
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
|
6
6
|
lint_roller (~> 1.0)
|
|
7
|
-
rubocop (~> 1.
|
|
7
|
+
rubocop (~> 1.84.0)
|
|
8
8
|
standard-custom (~> 1.0.0)
|
|
9
9
|
standard-performance (~> 1.8)
|
|
10
10
|
|
|
@@ -13,28 +13,26 @@ GEM
|
|
|
13
13
|
specs:
|
|
14
14
|
ast (2.4.3)
|
|
15
15
|
docile (1.4.0)
|
|
16
|
-
json (2.
|
|
16
|
+
json (2.18.0)
|
|
17
17
|
language_server-protocol (3.17.0.5)
|
|
18
18
|
lint_roller (1.1.0)
|
|
19
19
|
logger (1.7.0)
|
|
20
|
-
m (1.
|
|
21
|
-
|
|
22
|
-
rake (>= 0.9.2.2)
|
|
23
|
-
method_source (1.0.0)
|
|
20
|
+
m (1.7.0)
|
|
21
|
+
rake
|
|
24
22
|
minitest (5.26.1)
|
|
25
23
|
mutex_m (0.3.0)
|
|
26
24
|
parallel (1.27.0)
|
|
27
25
|
parser (3.3.10.0)
|
|
28
26
|
ast (~> 2.4.1)
|
|
29
27
|
racc
|
|
30
|
-
prism (1.
|
|
28
|
+
prism (1.9.0)
|
|
31
29
|
racc (1.8.1)
|
|
32
30
|
rainbow (3.1.1)
|
|
33
31
|
rake (13.3.1)
|
|
34
32
|
rbs (3.6.1)
|
|
35
33
|
logger
|
|
36
34
|
regexp_parser (2.11.3)
|
|
37
|
-
rubocop (1.
|
|
35
|
+
rubocop (1.84.2)
|
|
38
36
|
json (~> 2.3)
|
|
39
37
|
language_server-protocol (~> 3.17.0.2)
|
|
40
38
|
lint_roller (~> 1.1.0)
|
|
@@ -42,17 +40,17 @@ GEM
|
|
|
42
40
|
parser (>= 3.3.0.2)
|
|
43
41
|
rainbow (>= 2.2.2, < 4.0)
|
|
44
42
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
45
|
-
rubocop-ast (>= 1.
|
|
43
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
46
44
|
ruby-progressbar (~> 1.7)
|
|
47
45
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
48
|
-
rubocop-ast (1.
|
|
46
|
+
rubocop-ast (1.49.0)
|
|
49
47
|
parser (>= 3.3.7.2)
|
|
50
|
-
prism (~> 1.
|
|
51
|
-
rubocop-performance (1.
|
|
48
|
+
prism (~> 1.7)
|
|
49
|
+
rubocop-performance (1.26.1)
|
|
52
50
|
lint_roller (~> 1.1)
|
|
53
51
|
rubocop (>= 1.75.0, < 2.0)
|
|
54
|
-
rubocop-ast (>= 1.
|
|
55
|
-
ruby-lsp (0.26.
|
|
52
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
53
|
+
ruby-lsp (0.26.4)
|
|
56
54
|
language_server-protocol (~> 3.17.0)
|
|
57
55
|
prism (>= 1.2, < 2.0)
|
|
58
56
|
rbs (>= 3, < 5)
|
|
@@ -66,12 +64,12 @@ GEM
|
|
|
66
64
|
standard-custom (1.0.2)
|
|
67
65
|
lint_roller (~> 1.0)
|
|
68
66
|
rubocop (~> 1.50)
|
|
69
|
-
standard-performance (1.
|
|
67
|
+
standard-performance (1.9.0)
|
|
70
68
|
lint_roller (~> 1.1)
|
|
71
|
-
rubocop-performance (~> 1.
|
|
69
|
+
rubocop-performance (~> 1.26.0)
|
|
72
70
|
unicode-display_width (3.2.0)
|
|
73
71
|
unicode-emoji (~> 4.1)
|
|
74
|
-
unicode-emoji (4.
|
|
72
|
+
unicode-emoji (4.2.0)
|
|
75
73
|
|
|
76
74
|
PLATFORMS
|
|
77
75
|
ruby
|
data/config/base.yml
CHANGED
|
@@ -1215,6 +1215,9 @@ Style/EmptyBlockParameter:
|
|
|
1215
1215
|
Style/EmptyCaseCondition:
|
|
1216
1216
|
Enabled: true
|
|
1217
1217
|
|
|
1218
|
+
Style/EmptyClassDefinition:
|
|
1219
|
+
Enabled: false
|
|
1220
|
+
|
|
1218
1221
|
Style/EmptyElse:
|
|
1219
1222
|
Enabled: true
|
|
1220
1223
|
AllowComments: true
|
|
@@ -1328,6 +1331,9 @@ Style/HashFetchChain:
|
|
|
1328
1331
|
Style/HashLikeCase:
|
|
1329
1332
|
Enabled: false
|
|
1330
1333
|
|
|
1334
|
+
Style/HashLookupMethod:
|
|
1335
|
+
Enabled: false
|
|
1336
|
+
|
|
1331
1337
|
Style/HashSlice:
|
|
1332
1338
|
Enabled: true
|
|
1333
1339
|
|
|
@@ -1454,6 +1460,9 @@ Style/MixinUsage:
|
|
|
1454
1460
|
Style/ModuleFunction:
|
|
1455
1461
|
Enabled: false
|
|
1456
1462
|
|
|
1463
|
+
Style/ModuleMemberExistenceCheck:
|
|
1464
|
+
Enabled: true
|
|
1465
|
+
|
|
1457
1466
|
Style/MultilineBlockChain:
|
|
1458
1467
|
Enabled: false
|
|
1459
1468
|
|
|
@@ -1497,6 +1506,9 @@ Style/NegatedUnless:
|
|
|
1497
1506
|
Style/NegatedWhile:
|
|
1498
1507
|
Enabled: true
|
|
1499
1508
|
|
|
1509
|
+
Style/NegativeArrayIndex:
|
|
1510
|
+
Enabled: true
|
|
1511
|
+
|
|
1500
1512
|
Style/NestedFileDirname:
|
|
1501
1513
|
Enabled: true
|
|
1502
1514
|
|
|
@@ -1752,6 +1764,9 @@ Style/ReturnNil:
|
|
|
1752
1764
|
Style/ReturnNilInPredicateMethodDefinition:
|
|
1753
1765
|
Enabled: false
|
|
1754
1766
|
|
|
1767
|
+
Style/ReverseFind:
|
|
1768
|
+
Enabled: true
|
|
1769
|
+
|
|
1755
1770
|
Style/SafeNavigation:
|
|
1756
1771
|
Enabled: true
|
|
1757
1772
|
ConvertCodeThatCanStartToReturnNil: false
|
data/config/ruby-3.3.yml
CHANGED
data/config/ruby-3.4.yml
ADDED
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.require_paths = ["lib"]
|
|
22
22
|
spec.metadata["rubygems_mfa_required"] = "true"
|
|
23
23
|
|
|
24
|
-
spec.add_dependency "rubocop", "~> 1.
|
|
24
|
+
spec.add_dependency "rubocop", "~> 1.84.0"
|
|
25
25
|
|
|
26
26
|
spec.add_dependency "lint_roller", "~> 1.0"
|
|
27
27
|
spec.add_dependency "standard-custom", "~> 1.0.0"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: standard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.54.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.
|
|
18
|
+
version: 1.84.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 1.
|
|
25
|
+
version: 1.84.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: lint_roller
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -117,6 +117,7 @@ files:
|
|
|
117
117
|
- config/ruby-3.1.yml
|
|
118
118
|
- config/ruby-3.2.yml
|
|
119
119
|
- config/ruby-3.3.yml
|
|
120
|
+
- config/ruby-3.4.yml
|
|
120
121
|
- docs/ARCHITECTURE.md
|
|
121
122
|
- docs/RELEASE.md
|
|
122
123
|
- docs/RUBY_VERSIONS.md
|
|
@@ -186,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
187
|
- !ruby/object:Gem::Version
|
|
187
188
|
version: '0'
|
|
188
189
|
requirements: []
|
|
189
|
-
rubygems_version:
|
|
190
|
+
rubygems_version: 4.0.3
|
|
190
191
|
specification_version: 4
|
|
191
192
|
summary: Ruby Style Guide, with linter & automatic code fixer
|
|
192
193
|
test_files: []
|