standard 1.47.0 → 1.49.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: 6dfa10f60a8a18a5bec2823e64bdba47e51120170c8b53b76d61a0e08f3320c1
4
+ data.tar.gz: 4a4d1ed1962678382fa00042139b83b64ebaa043f5a896687b9ae929a72d37d7
5
5
  SHA512:
6
- metadata.gz: a694531c92146d0e5f9f1243b3285f22d45b743bbefd0c1732f9e661c8a698ad76fad7d81d2497ae604ec70e8ca1a58241e1b06ffdc3fef0fae6818ba6ca287a
7
- data.tar.gz: d60e41d88e80c93ad1cdd1ee210df2ad26ec7fe60a2b374f3969a37956345c2c8e5e90c9ecc3b368451347249c7260d4d8c70b863fce51c8f8eedf61c6234be9
6
+ metadata.gz: 6bad8d3c3e54d60ad9d190a21545d95979cb90811203f01b613024ceaa88aa31c9971b14f3e6d0ae463a5517a58c785629c186312a19c336b3ce7842cdc25434
7
+ data.tar.gz: d295df34c3079f8ab8b90d45faf347f25bd7ddd9e45fda553449d843ce2bc1168fb14dde5e889da09a1febe53ed6a06129d459f2a233d90f76c3da87e6bad5f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.49.0
4
+
5
+ * Updates standard performance to 1.8.0
6
+
7
+ ## 1.48.0
8
+
9
+ * Updates rubocop to [1.75.2](https://github.com/rubocop/rubocop/tree/v1.75.2)
10
+
3
11
  ## 1.47.0
4
12
 
5
13
  * Updates standard performance to 1.7.0
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.47.0)
4
+ standard (1.49.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
- standard-performance (~> 1.7)
9
+ standard-performance (~> 1.8)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
@@ -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)
50
- rubocop-performance (1.24.0)
48
+ rubocop-ast (1.44.0)
49
+ parser (>= 3.3.7.2)
50
+ prism (~> 1.4)
51
+ rubocop-performance (1.25.0)
51
52
  lint_roller (~> 1.1)
52
- rubocop (>= 1.72.1, < 2.0)
53
+ rubocop (>= 1.75.0, < 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)
@@ -67,9 +68,9 @@ GEM
67
68
  standard-custom (1.0.2)
68
69
  lint_roller (~> 1.0)
69
70
  rubocop (~> 1.50)
70
- standard-performance (1.7.0)
71
+ standard-performance (1.8.0)
71
72
  lint_roller (~> 1.1)
72
- rubocop-performance (~> 1.24.0)
73
+ rubocop-performance (~> 1.25.0)
73
74
  unicode-display_width (2.5.0)
74
75
 
75
76
  PLATFORMS
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.49.0")
3
3
  end
data/standard.gemspec CHANGED
@@ -21,11 +21,11 @@ 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"
28
- spec.add_dependency "standard-performance", "~> 1.7"
28
+ spec.add_dependency "standard-performance", "~> 1.8"
29
29
 
30
30
  # not semver: first three are lsp protocol version, last is patch
31
31
  spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
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.49.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
@@ -57,14 +57,14 @@ dependencies:
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '1.7'
60
+ version: '1.8'
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.7'
67
+ version: '1.8'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: language_server-protocol
70
70
  requirement: !ruby/object:Gem::Requirement