standard 1.51.1 → 1.53.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/workflows/test.yml +4 -4
- data/.github/workflows/update.yml +2 -2
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +21 -23
- data/config/base.yml +6 -0
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b58509dd34b9a988d6cef6c33a7789909984c715db77befa4fa05648d000228c
|
|
4
|
+
data.tar.gz: c9b51c656fde71dca8bdddc38ba7a088c213f8259fc5c70ba860ff3fe7fe3b26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 006a31cac5c64d93a0e31abf846eb55d066776f2ef20c336c27dcefa8bf7724c29c230902b7c20e7a593e2ed8341ef6b0c3e962268804f9bb773dd1005246945
|
|
7
|
+
data.tar.gz: 5c3cc79a292062b3c3fe3d84f86fb6619e112c553b25f6e352a5abafdb08062f419acf3dcf3051f0b4d82d5b2d32c587974c2389e704e1ae54bfd875963a54fd
|
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@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
|
|
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.53.0
|
|
4
|
+
|
|
5
|
+
* Updates rubocop to [1.82.0](https://github.com/rubocop/rubocop/releases/tag/v1.82.0)
|
|
6
|
+
* Starts support for Ruby 4.0
|
|
7
|
+
|
|
8
|
+
## 1.52.0
|
|
9
|
+
|
|
10
|
+
* Updates rubocop to [1.81.7](https://github.com/rubocop/rubocop/tree/v1.81.7)
|
|
11
|
+
|
|
3
12
|
## 1.51.1
|
|
4
13
|
|
|
5
14
|
* Fixes Layout/EmptyLineAfterGuardClause back to false after [#750](https://github.com/standardrb/standard/issues/750)
|
data/Gemfile.lock
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
standard (1.
|
|
4
|
+
standard (1.53.0)
|
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
|
6
6
|
lint_roller (~> 1.0)
|
|
7
|
-
rubocop (~> 1.
|
|
7
|
+
rubocop (~> 1.82.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
|
-
|
|
23
|
-
method_source (1.0.0)
|
|
24
|
-
minitest (5.25.5)
|
|
20
|
+
m (1.7.0)
|
|
21
|
+
rake
|
|
22
|
+
minitest (5.26.1)
|
|
25
23
|
mutex_m (0.3.0)
|
|
26
24
|
parallel (1.27.0)
|
|
27
|
-
parser (3.3.
|
|
25
|
+
parser (3.3.10.0)
|
|
28
26
|
ast (~> 2.4.1)
|
|
29
27
|
racc
|
|
30
|
-
prism (1.
|
|
28
|
+
prism (1.6.0)
|
|
31
29
|
racc (1.8.1)
|
|
32
30
|
rainbow (3.1.1)
|
|
33
|
-
rake (13.3.
|
|
31
|
+
rake (13.3.1)
|
|
34
32
|
rbs (3.6.1)
|
|
35
33
|
logger
|
|
36
|
-
regexp_parser (2.11.
|
|
37
|
-
rubocop (1.
|
|
34
|
+
regexp_parser (2.11.3)
|
|
35
|
+
rubocop (1.82.1)
|
|
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.48.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.48.0)
|
|
49
47
|
parser (>= 3.3.7.2)
|
|
50
48
|
prism (~> 1.4)
|
|
51
|
-
rubocop-performance (1.
|
|
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.
|
|
72
|
-
unicode-display_width (3.
|
|
73
|
-
unicode-emoji (~> 4.
|
|
74
|
-
unicode-emoji (4.0
|
|
69
|
+
rubocop-performance (~> 1.26.0)
|
|
70
|
+
unicode-display_width (3.2.0)
|
|
71
|
+
unicode-emoji (~> 4.1)
|
|
72
|
+
unicode-emoji (4.2.0)
|
|
75
73
|
|
|
76
74
|
PLATFORMS
|
|
77
75
|
ruby
|
data/config/base.yml
CHANGED
|
@@ -1052,6 +1052,9 @@ Style/ArrayFirstLast:
|
|
|
1052
1052
|
Style/ArrayIntersect:
|
|
1053
1053
|
Enabled: false
|
|
1054
1054
|
|
|
1055
|
+
Style/ArrayIntersectWithSingleElement:
|
|
1056
|
+
Enabled: false
|
|
1057
|
+
|
|
1055
1058
|
Style/ArrayJoin:
|
|
1056
1059
|
Enabled: true
|
|
1057
1060
|
|
|
@@ -1451,6 +1454,9 @@ Style/MixinUsage:
|
|
|
1451
1454
|
Style/ModuleFunction:
|
|
1452
1455
|
Enabled: false
|
|
1453
1456
|
|
|
1457
|
+
Style/ModuleMemberExistenceCheck:
|
|
1458
|
+
Enabled: true
|
|
1459
|
+
|
|
1454
1460
|
Style/MultilineBlockChain:
|
|
1455
1461
|
Enabled: false
|
|
1456
1462
|
|
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.82.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,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: standard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.53.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rubocop
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.
|
|
18
|
+
version: 1.82.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.82.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: lint_roller
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
187
|
version: '0'
|
|
188
188
|
requirements: []
|
|
189
|
-
rubygems_version:
|
|
189
|
+
rubygems_version: 4.0.3
|
|
190
190
|
specification_version: 4
|
|
191
191
|
summary: Ruby Style Guide, with linter & automatic code fixer
|
|
192
192
|
test_files: []
|