standard 1.47.0 → 1.48.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: 840fcb4ce3ed7b684f1d9f56e467a16be1a8dbce72592ebd5998e57b0f25c08f
4
- data.tar.gz: a998d8f1a4c2587d936c50020fc91f0cc06e92dc4d861d6ba15fac4118639501
3
+ metadata.gz: d764824ce126f2de1f76cf04f6c99cd40bfe92cb268124b145b461bcb0c93aac
4
+ data.tar.gz: f8acada0f0347136f1d9f4c2297914bc4eb5b8384d2dc4f3cc8355e57ea1e360
5
5
  SHA512:
6
- metadata.gz: a694531c92146d0e5f9f1243b3285f22d45b743bbefd0c1732f9e661c8a698ad76fad7d81d2497ae604ec70e8ca1a58241e1b06ffdc3fef0fae6818ba6ca287a
7
- data.tar.gz: d60e41d88e80c93ad1cdd1ee210df2ad26ec7fe60a2b374f3969a37956345c2c8e5e90c9ecc3b368451347249c7260d4d8c70b863fce51c8f8eedf61c6234be9
6
+ metadata.gz: 5e44cef1edeb1f2615092ecdb4b37c7f91fbf8150455bcc72209e4e23905e9ea845a15d55c19771135b0f124400c60abad76356a4f45bb56d3e10c6ccde16d40
7
+ data.tar.gz: dbf6ab8450302b3b03b4cd730542b345391f0e7cc288b350bdcb0b8ae15054b638a61583d5a62fa2a8e41e289e09e1a151b7ea7c05f7588df73b4978c672ca12
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.48.0
4
+
5
+ * Updates rubocop to [1.75.2](https://github.com/rubocop/rubocop/tree/v1.75.2)
6
+
3
7
  ## 1.47.0
4
8
 
5
9
  * Updates standard performance to 1.7.0
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.47.0)
4
+ standard (1.48.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.73.0)
7
+ rubocop (~> 1.75.2)
8
8
  standard-custom (~> 1.0.0)
9
9
  standard-performance (~> 1.7)
10
10
 
@@ -24,17 +24,17 @@ GEM
24
24
  minitest (5.25.1)
25
25
  mutex_m (0.2.0)
26
26
  parallel (1.23.0)
27
- parser (3.3.6.0)
27
+ parser (3.3.7.4)
28
28
  ast (~> 2.4.1)
29
29
  racc
30
- prism (0.30.0)
30
+ prism (1.4.0)
31
31
  racc (1.7.1)
32
32
  rainbow (3.1.1)
33
33
  rake (13.0.6)
34
34
  rbs (3.5.2)
35
35
  logger
36
36
  regexp_parser (2.9.3)
37
- rubocop (1.73.2)
37
+ rubocop (1.75.2)
38
38
  json (~> 2.3)
39
39
  language_server-protocol (~> 3.17.0.2)
40
40
  lint_roller (~> 1.1.0)
@@ -42,18 +42,19 @@ GEM
42
42
  parser (>= 3.3.0.2)
43
43
  rainbow (>= 2.2.2, < 4.0)
44
44
  regexp_parser (>= 2.9.3, < 3.0)
45
- rubocop-ast (>= 1.38.0, < 2.0)
45
+ rubocop-ast (>= 1.44.0, < 2.0)
46
46
  ruby-progressbar (~> 1.7)
47
47
  unicode-display_width (>= 2.4.0, < 4.0)
48
- rubocop-ast (1.38.1)
49
- parser (>= 3.3.1.0)
48
+ rubocop-ast (1.44.0)
49
+ parser (>= 3.3.7.2)
50
+ prism (~> 1.4)
50
51
  rubocop-performance (1.24.0)
51
52
  lint_roller (~> 1.1)
52
53
  rubocop (>= 1.72.1, < 2.0)
53
54
  rubocop-ast (>= 1.38.0, < 2.0)
54
- ruby-lsp (0.17.7)
55
+ ruby-lsp (0.23.13)
55
56
  language_server-protocol (~> 3.17.0)
56
- prism (>= 0.29.0, < 0.31)
57
+ prism (>= 1.2, < 2.0)
57
58
  rbs (>= 3, < 4)
58
59
  sorbet-runtime (>= 0.5.10782)
59
60
  ruby-progressbar (1.13.0)
data/README.md CHANGED
@@ -503,6 +503,7 @@ Here are a few examples of Ruby Standard-compliant teams & projects:
503
503
  * [Honeybadger](https://www.honeybadger.io)
504
504
  * [JetThoughts](https://www.jetthoughts.com/)
505
505
  * [Level UP Solutions](https://levups.com)
506
+ * [Lobsters](https://github.com/lobsters/lobsters)
506
507
  * [Monterail](https://www.monterail.com)
507
508
  * [myRent](https://www.myrent.co.nz)
508
509
  * [OBLSK](https://oblsk.com/)
data/config/base.yml CHANGED
@@ -864,7 +864,7 @@ Lint/UselessAssignment:
864
864
  Enabled: true
865
865
 
866
866
  Lint/UselessConstantScoping:
867
- Enabled: true
867
+ Enabled: false
868
868
 
869
869
  Lint/UselessDefined:
870
870
  Enabled: true
@@ -1124,6 +1124,9 @@ Style/CommentAnnotation:
1124
1124
  Style/CommentedKeyword:
1125
1125
  Enabled: false
1126
1126
 
1127
+ Style/ComparableBetween:
1128
+ Enabled: true
1129
+
1127
1130
  Style/ComparableClamp:
1128
1131
  Enabled: true
1129
1132
 
@@ -1293,6 +1296,9 @@ Style/HashEachMethods:
1293
1296
  Style/HashExcept:
1294
1297
  Enabled: true
1295
1298
 
1299
+ Style/HashFetchChain:
1300
+ Enabled: false
1301
+
1296
1302
  Style/HashLikeCase:
1297
1303
  Enabled: false
1298
1304
 
@@ -1352,6 +1358,10 @@ Style/IpAddresses:
1352
1358
  Style/ItAssignment:
1353
1359
  Enabled: true
1354
1360
 
1361
+ Style/ItBlockParameter:
1362
+ Enabled: true
1363
+ EnforcedStyle: only_numbered_parameters
1364
+
1355
1365
  Style/KeywordArgumentsMerging:
1356
1366
  Enabled: false
1357
1367
 
data/config/ruby-2.2.yml CHANGED
@@ -6,6 +6,9 @@ AllCops:
6
6
  # The below cops are for features not available until Ruby 2.3 but,
7
7
  # as of this writing, the cops don't correctly use the TargetRubyVersion.
8
8
 
9
+ Style/HashFetchChain:
10
+ Enabled: false
11
+
9
12
  Layout/HeredocIndentation:
10
13
  Enabled: false
11
14
 
data/config/ruby-3.3.yml CHANGED
@@ -2,3 +2,6 @@ inherit_from: ./base.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 3.3
5
+
6
+ Style/ItBlockParameter:
7
+ Enabled: false
data/lib/standard/rake.rb CHANGED
@@ -25,7 +25,7 @@ task :"standard:fix" do
25
25
  fail unless exit_code == 0
26
26
  end
27
27
 
28
- desc "Lint and automatically make fixes (even unsafe ones!) with the Standard Ruby style guide"
28
+ desc "Lint and automatically make fixes (even unsafe ones) with the Standard Ruby style guide"
29
29
  task :"standard:fix_unsafely" do
30
30
  require "standard"
31
31
  exit_code = Standard::Cli.new(Standard::RakeSupport.argvify + ["--fix-unsafely"]).run
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.47.0")
2
+ VERSION = Gem::Version.new("1.48.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.73.0"
24
+ spec.add_dependency "rubocop", "~> 1.75.2"
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.47.0
4
+ version: 1.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-03-11 00:00:00.000000000 Z
10
+ date: 2025-04-08 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.73.0
18
+ version: 1.75.2
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.73.0
25
+ version: 1.75.2
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: lint_roller
28
28
  requirement: !ruby/object:Gem::Requirement