standard 1.53.0 → 1.55.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/dependabot.yml +2 -1
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +11 -11
- data/config/base.yml +51 -0
- data/config/ruby-2.6.yml +3 -0
- data/config/ruby-3.1.yml +3 -0
- data/config/ruby-3.3.yml +1 -1
- data/config/ruby-3.4.yml +7 -0
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a53eca5836959d4d57f1fa90f4ca8617f2e4d790084486043c3cfd4510d4a704
|
|
4
|
+
data.tar.gz: cb2b1e497b658ff0d5a3e679a4d60faaf9d54427330afba8f635651a3fde613c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 367bc330fb20dc258811855843d11cc41dca32f737632ca9ce420861cf44d8df8f21382d1558422e5711e9fc8a2162616499abe20be4ab7523991cd091fb3075
|
|
7
|
+
data.tar.gz: bf3b143a32830e9caf1083f1b8bdc409e25a1c5656ef31d8a6fcbd9acd444b592db49ab16c3f926f8b731612364295b7c316234450c9a7535d6bfac8f31b864b
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/test.yml
CHANGED
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
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@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0
|
|
18
18
|
with: { egress-policy: audit }
|
|
19
19
|
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
20
20
|
- uses: ruby/setup-ruby@4fc31e1c823882afd7ef55985266a526c589de90 # v1.282.0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.55.0
|
|
4
|
+
|
|
5
|
+
* Updates rubocop to [1.87.0](https://github.com/rubocop/rubocop/releases/tag/v1.87.0)
|
|
6
|
+
|
|
7
|
+
## 1.54.0
|
|
8
|
+
|
|
9
|
+
* Updates rubocop to [1.84.0](https://github.com/rubocop/rubocop/releases/tag/v1.84.2)
|
|
10
|
+
|
|
3
11
|
## 1.53.0
|
|
4
12
|
|
|
5
13
|
* Updates rubocop to [1.82.0](https://github.com/rubocop/rubocop/releases/tag/v1.82.0)
|
data/Gemfile.lock
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
standard (1.
|
|
4
|
+
standard (1.55.0)
|
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
|
6
6
|
lint_roller (~> 1.0)
|
|
7
|
-
rubocop (~> 1.
|
|
7
|
+
rubocop (~> 1.87.0)
|
|
8
8
|
standard-custom (~> 1.0.0)
|
|
9
9
|
standard-performance (~> 1.8)
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ GEM
|
|
|
13
13
|
specs:
|
|
14
14
|
ast (2.4.3)
|
|
15
15
|
docile (1.4.0)
|
|
16
|
-
json (2.
|
|
16
|
+
json (2.19.2)
|
|
17
17
|
language_server-protocol (3.17.0.5)
|
|
18
18
|
lint_roller (1.1.0)
|
|
19
19
|
logger (1.7.0)
|
|
@@ -25,32 +25,32 @@ GEM
|
|
|
25
25
|
parser (3.3.10.0)
|
|
26
26
|
ast (~> 2.4.1)
|
|
27
27
|
racc
|
|
28
|
-
prism (1.
|
|
28
|
+
prism (1.9.0)
|
|
29
29
|
racc (1.8.1)
|
|
30
30
|
rainbow (3.1.1)
|
|
31
|
-
rake (13.
|
|
31
|
+
rake (13.4.2)
|
|
32
32
|
rbs (3.6.1)
|
|
33
33
|
logger
|
|
34
34
|
regexp_parser (2.11.3)
|
|
35
|
-
rubocop (1.
|
|
35
|
+
rubocop (1.87.0)
|
|
36
36
|
json (~> 2.3)
|
|
37
37
|
language_server-protocol (~> 3.17.0.2)
|
|
38
38
|
lint_roller (~> 1.1.0)
|
|
39
|
-
parallel (
|
|
39
|
+
parallel (>= 1.10)
|
|
40
40
|
parser (>= 3.3.0.2)
|
|
41
41
|
rainbow (>= 2.2.2, < 4.0)
|
|
42
42
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
43
|
-
rubocop-ast (>= 1.
|
|
43
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
44
44
|
ruby-progressbar (~> 1.7)
|
|
45
45
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
46
|
-
rubocop-ast (1.
|
|
46
|
+
rubocop-ast (1.49.0)
|
|
47
47
|
parser (>= 3.3.7.2)
|
|
48
|
-
prism (~> 1.
|
|
48
|
+
prism (~> 1.7)
|
|
49
49
|
rubocop-performance (1.26.1)
|
|
50
50
|
lint_roller (~> 1.1)
|
|
51
51
|
rubocop (>= 1.75.0, < 2.0)
|
|
52
52
|
rubocop-ast (>= 1.47.1, < 2.0)
|
|
53
|
-
ruby-lsp (0.26.
|
|
53
|
+
ruby-lsp (0.26.8)
|
|
54
54
|
language_server-protocol (~> 3.17.0)
|
|
55
55
|
prism (>= 1.2, < 2.0)
|
|
56
56
|
rbs (>= 3, < 5)
|
data/config/base.yml
CHANGED
|
@@ -484,6 +484,9 @@ Lint/ConstantResolution:
|
|
|
484
484
|
Lint/CopDirectiveSyntax:
|
|
485
485
|
Enabled: true
|
|
486
486
|
|
|
487
|
+
Lint/DataDefineOverride:
|
|
488
|
+
Enabled: false
|
|
489
|
+
|
|
487
490
|
Lint/Debugger:
|
|
488
491
|
Enabled: true
|
|
489
492
|
|
|
@@ -852,6 +855,9 @@ Lint/UnreachableCode:
|
|
|
852
855
|
Lint/UnreachableLoop:
|
|
853
856
|
Enabled: false
|
|
854
857
|
|
|
858
|
+
Lint/UnreachablePatternBranch:
|
|
859
|
+
Enabled: true
|
|
860
|
+
|
|
855
861
|
Lint/UnusedBlockArgument:
|
|
856
862
|
Enabled: false
|
|
857
863
|
|
|
@@ -1215,6 +1221,9 @@ Style/EmptyBlockParameter:
|
|
|
1215
1221
|
Style/EmptyCaseCondition:
|
|
1216
1222
|
Enabled: true
|
|
1217
1223
|
|
|
1224
|
+
Style/EmptyClassDefinition:
|
|
1225
|
+
Enabled: false
|
|
1226
|
+
|
|
1218
1227
|
Style/EmptyElse:
|
|
1219
1228
|
Enabled: true
|
|
1220
1229
|
AllowComments: true
|
|
@@ -1275,6 +1284,9 @@ Style/FileEmpty:
|
|
|
1275
1284
|
Style/FileNull:
|
|
1276
1285
|
Enabled: true
|
|
1277
1286
|
|
|
1287
|
+
Style/FileOpen:
|
|
1288
|
+
Enabled: false
|
|
1289
|
+
|
|
1278
1290
|
Style/FileRead:
|
|
1279
1291
|
Enabled: true
|
|
1280
1292
|
|
|
@@ -1328,6 +1340,9 @@ Style/HashFetchChain:
|
|
|
1328
1340
|
Style/HashLikeCase:
|
|
1329
1341
|
Enabled: false
|
|
1330
1342
|
|
|
1343
|
+
Style/HashLookupMethod:
|
|
1344
|
+
Enabled: false
|
|
1345
|
+
|
|
1331
1346
|
Style/HashSlice:
|
|
1332
1347
|
Enabled: true
|
|
1333
1348
|
|
|
@@ -1413,6 +1428,9 @@ Style/MapCompactWithConditionalBlock:
|
|
|
1413
1428
|
Style/MapIntoArray:
|
|
1414
1429
|
Enabled: false
|
|
1415
1430
|
|
|
1431
|
+
Style/MapJoin:
|
|
1432
|
+
Enabled: true
|
|
1433
|
+
|
|
1416
1434
|
Style/MapToHash:
|
|
1417
1435
|
Enabled: false
|
|
1418
1436
|
|
|
@@ -1500,6 +1518,9 @@ Style/NegatedUnless:
|
|
|
1500
1518
|
Style/NegatedWhile:
|
|
1501
1519
|
Enabled: true
|
|
1502
1520
|
|
|
1521
|
+
Style/NegativeArrayIndex:
|
|
1522
|
+
Enabled: true
|
|
1523
|
+
|
|
1503
1524
|
Style/NestedFileDirname:
|
|
1504
1525
|
Enabled: true
|
|
1505
1526
|
|
|
@@ -1566,6 +1587,9 @@ Style/NumericPredicate:
|
|
|
1566
1587
|
Style/ObjectThen:
|
|
1567
1588
|
Enabled: false
|
|
1568
1589
|
|
|
1590
|
+
Style/OneClassPerFile:
|
|
1591
|
+
Enabled: false
|
|
1592
|
+
|
|
1569
1593
|
Style/OneLineConditional:
|
|
1570
1594
|
Enabled: true
|
|
1571
1595
|
|
|
@@ -1595,6 +1619,9 @@ Style/ParenthesesAroundCondition:
|
|
|
1595
1619
|
AllowSafeAssignment: true
|
|
1596
1620
|
AllowInMultilineConditions: false
|
|
1597
1621
|
|
|
1622
|
+
Style/PartitionInsteadOfDoubleSelect:
|
|
1623
|
+
Enabled: false
|
|
1624
|
+
|
|
1598
1625
|
Style/PercentLiteralDelimiters:
|
|
1599
1626
|
Enabled: true
|
|
1600
1627
|
PreferredDelimiters:
|
|
@@ -1611,6 +1638,9 @@ Style/PercentQLiterals:
|
|
|
1611
1638
|
Style/PerlBackrefs:
|
|
1612
1639
|
Enabled: false
|
|
1613
1640
|
|
|
1641
|
+
Style/PredicateWithKind:
|
|
1642
|
+
Enabled: false
|
|
1643
|
+
|
|
1614
1644
|
Style/PreferredHashMethods:
|
|
1615
1645
|
Enabled: false
|
|
1616
1646
|
|
|
@@ -1627,6 +1657,9 @@ Style/RaiseArgs:
|
|
|
1627
1657
|
Style/RandomWithOffset:
|
|
1628
1658
|
Enabled: true
|
|
1629
1659
|
|
|
1660
|
+
Style/ReduceToHash:
|
|
1661
|
+
Enabled: false
|
|
1662
|
+
|
|
1630
1663
|
Style/RedundantArgument:
|
|
1631
1664
|
Enabled: false
|
|
1632
1665
|
|
|
@@ -1696,6 +1729,9 @@ Style/RedundantInterpolationUnfreeze:
|
|
|
1696
1729
|
Style/RedundantLineContinuation:
|
|
1697
1730
|
Enabled: true
|
|
1698
1731
|
|
|
1732
|
+
Style/RedundantMinMaxBy:
|
|
1733
|
+
Enabled: true
|
|
1734
|
+
|
|
1699
1735
|
Style/RedundantParentheses:
|
|
1700
1736
|
Enabled: true
|
|
1701
1737
|
|
|
@@ -1736,6 +1772,9 @@ Style/RedundantSortBy:
|
|
|
1736
1772
|
Style/RedundantStringEscape:
|
|
1737
1773
|
Enabled: true
|
|
1738
1774
|
|
|
1775
|
+
Style/RedundantStructKeywordInit:
|
|
1776
|
+
Enabled: true
|
|
1777
|
+
|
|
1739
1778
|
Style/RegexpLiteral:
|
|
1740
1779
|
Enabled: false
|
|
1741
1780
|
|
|
@@ -1755,6 +1794,9 @@ Style/ReturnNil:
|
|
|
1755
1794
|
Style/ReturnNilInPredicateMethodDefinition:
|
|
1756
1795
|
Enabled: false
|
|
1757
1796
|
|
|
1797
|
+
Style/ReverseFind:
|
|
1798
|
+
Enabled: true
|
|
1799
|
+
|
|
1758
1800
|
Style/SafeNavigation:
|
|
1759
1801
|
Enabled: true
|
|
1760
1802
|
ConvertCodeThatCanStartToReturnNil: false
|
|
@@ -1771,6 +1813,12 @@ Style/SafeNavigationChainLength:
|
|
|
1771
1813
|
Style/Sample:
|
|
1772
1814
|
Enabled: true
|
|
1773
1815
|
|
|
1816
|
+
Style/SelectByKind:
|
|
1817
|
+
Enabled: false
|
|
1818
|
+
|
|
1819
|
+
Style/SelectByRange:
|
|
1820
|
+
Enabled: false
|
|
1821
|
+
|
|
1774
1822
|
Style/SelectByRegexp:
|
|
1775
1823
|
Enabled: false
|
|
1776
1824
|
|
|
@@ -1867,6 +1915,9 @@ Style/SymbolLiteral:
|
|
|
1867
1915
|
Style/SymbolProc:
|
|
1868
1916
|
Enabled: false
|
|
1869
1917
|
|
|
1918
|
+
Style/TallyMethod:
|
|
1919
|
+
Enabled: true
|
|
1920
|
+
|
|
1870
1921
|
Style/TernaryParentheses:
|
|
1871
1922
|
Enabled: true
|
|
1872
1923
|
EnforcedStyle: require_parentheses_when_complex
|
data/config/ruby-2.6.yml
CHANGED
data/config/ruby-3.1.yml
CHANGED
data/config/ruby-3.3.yml
CHANGED
data/config/ruby-3.4.yml
ADDED
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.87.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.
|
|
4
|
+
version: 1.55.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.
|
|
18
|
+
version: 1.87.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.87.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:
|
|
190
|
+
rubygems_version: 3.6.7
|
|
190
191
|
specification_version: 4
|
|
191
192
|
summary: Ruby Style Guide, with linter & automatic code fixer
|
|
192
193
|
test_files: []
|