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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b8e57cd624c6e6ac38fbe263887972ffab205323e9c6ed027f901de8ba7dce6
4
- data.tar.gz: 30f13368c6051938a6e26d35848ac6579d7268ba5abe6a480ba69323016d9833
3
+ metadata.gz: 77d5ce1f11e78af6b5385e7f66c137cf19833a6630e3ad888aa4110b5b9f940a
4
+ data.tar.gz: 908d41047616f9b107bc363aeae0aed023989b6008437601ad6ee272191cd198
5
5
  SHA512:
6
- metadata.gz: 6c3d511c3dcc0a30e72f47e70f6f4934bbeacde41b0146a110db0710dda2be3b3366f92bd0664e5d6ae3f95035613ae376bdc94aa6a590065afd506f38e9b927
7
- data.tar.gz: 6d260623955c59047a31a806e470618fbdfde7941865f2496434d3103e51bbde09f8c9f2613152c73bea1da0cd75905a73cffaa2a1538f07b026d85cad2f446a
6
+ metadata.gz: cb6aa66d810bda704d569d1ea2f37ef4dd24d0724826af0767c7bacd0fd8318d5639b0d3be335fad68541f0f4a6b4dfd9971db5cb681dedae6b644765a688341
7
+ data.tar.gz: dca94f93a49d1bcfd5b5bf21a53e22cf4ee2763e41b95b7787b5f2507f9d2f5381178342e83c6cdabf90c30711b3db5321803c1b8ed47ce9a807cd7f01361ef6
@@ -8,4 +8,5 @@ updates:
8
8
  schedule: { interval: weekly, day: monday }
9
9
  - package-ecosystem: github-actions
10
10
  directory: "/"
11
- schedule: { interval: weekly }
11
+ schedule: { interval: monthly }
12
+ cooldown: { default-days: 14 }
@@ -12,12 +12,12 @@ on:
12
12
  jobs:
13
13
  test:
14
14
  runs-on: ubuntu-latest
15
- strategy: {matrix: {ruby: [ '3.0', 3.1, 3.2, 3.3, 3.4 ]}}
15
+ strategy: {matrix: {ruby: [ 3.1, 3.2, 3.3, 3.4, '4.0' ]}}
16
16
  steps:
17
- - uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
17
+ - uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
18
18
  with: { egress-policy: audit }
19
- - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20
- - uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651 # v1.245.0
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@v5
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@v7
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.52.0)
4
+ standard (1.54.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.81.7)
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.15.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.6.2)
21
- method_source (>= 0.6.7)
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.6.0)
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.81.7)
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.47.1, < 2.0)
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.47.1)
46
+ rubocop-ast (1.49.0)
49
47
  parser (>= 3.3.7.2)
50
- prism (~> 1.4)
51
- rubocop-performance (1.25.0)
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.38.0, < 2.0)
55
- ruby-lsp (0.26.2)
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.8.0)
67
+ standard-performance (1.9.0)
70
68
  lint_roller (~> 1.1)
71
- rubocop-performance (~> 1.25.0)
69
+ rubocop-performance (~> 1.26.0)
72
70
  unicode-display_width (3.2.0)
73
71
  unicode-emoji (~> 4.1)
74
- unicode-emoji (4.1.0)
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
@@ -1,4 +1,4 @@
1
- inherit_from: ./base.yml
1
+ inherit_from: ./ruby-3.4.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 3.3
@@ -0,0 +1,7 @@
1
+ inherit_from: ./base.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 3.4
5
+
6
+ Style/ReverseFind:
7
+ Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.52.0")
2
+ VERSION = Gem::Version.new("1.54.0")
3
3
  end
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.81.7"
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.52.0
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.81.7
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.81.7
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: 3.6.9
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: []