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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +11 -10
- data/README.md +1 -0
- data/config/base.yml +11 -1
- data/config/ruby-2.2.yml +3 -0
- data/config/ruby-3.3.yml +3 -0
- data/lib/standard/rake.rb +1 -1
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d764824ce126f2de1f76cf04f6c99cd40bfe92cb268124b145b461bcb0c93aac
|
4
|
+
data.tar.gz: f8acada0f0347136f1d9f4c2297914bc4eb5b8384d2dc4f3cc8355e57ea1e360
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e44cef1edeb1f2615092ecdb4b37c7f91fbf8150455bcc72209e4e23905e9ea845a15d55c19771135b0f124400c60abad76356a4f45bb56d3e10c6ccde16d40
|
7
|
+
data.tar.gz: dbf6ab8450302b3b03b4cd730542b345391f0e7cc288b350bdcb0b8ae15054b638a61583d5a62fa2a8e41e289e09e1a151b7ea7c05f7588df73b4978c672ca12
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (1.
|
4
|
+
standard (1.48.0)
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
6
6
|
lint_roller (~> 1.0)
|
7
|
-
rubocop (~> 1.
|
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.
|
27
|
+
parser (3.3.7.4)
|
28
28
|
ast (~> 2.4.1)
|
29
29
|
racc
|
30
|
-
prism (
|
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.
|
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.
|
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.
|
49
|
-
parser (>= 3.3.
|
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.
|
55
|
+
ruby-lsp (0.23.13)
|
55
56
|
language_server-protocol (~> 3.17.0)
|
56
|
-
prism (>=
|
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:
|
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
data/config/ruby-3.3.yml
CHANGED
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
|
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
|
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.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.
|
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-
|
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.
|
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.
|
25
|
+
version: 1.75.2
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: lint_roller
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|