standard 1.54.0 → 1.57.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/workflows/test.yml +2 -2
- data/.github/workflows/update.yml +1 -1
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +9 -9
- data/config/base.yml +65 -4
- data/config/ruby-2.6.yml +3 -0
- data/config/ruby-3.1.yml +3 -0
- 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: 8df30580828c027487ca00ce0be5f1abd104c2ffdfdbdf1e23095f895003aef6
|
|
4
|
+
data.tar.gz: c6859422ff441f2cc5453194289315950384a18749344bbe30299c4efc87ed15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05145cac4a23a31408736eaf9b58a4eff2d08cc0220969e7e2b93bd543391aa7ae3f1df3eeac2d416eaa4b4fb49de7a7527fb56390c8a4f0ce87581bc824c072
|
|
7
|
+
data.tar.gz: 0cdfa6f2564e61ac1097f337e3393bffb1b566a315354742f2728d1abfeef82f9b1eccfa1c11f2d441d2418fcc7040f68102821834c3929dcd6f828d0b3c58c7
|
data/.github/workflows/test.yml
CHANGED
|
@@ -14,9 +14,9 @@ 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@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1
|
|
18
18
|
with: { egress-policy: audit }
|
|
19
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
20
20
|
- uses: ruby/setup-ruby@4fc31e1c823882afd7ef55985266a526c589de90 # v1.282.0
|
|
21
21
|
with:
|
|
22
22
|
ruby-version: ${{ matrix.ruby }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.57.0
|
|
4
|
+
|
|
5
|
+
* Updates rubocop to [1.91.0](https://github.com/rubocop/rubocop/releases/tag/v1.91.0)
|
|
6
|
+
|
|
7
|
+
## 1.56.0
|
|
8
|
+
|
|
9
|
+
* Updates rubocop to [1.88.0](https://github.com/rubocop/rubocop/releases/tag/v1.88.2)
|
|
10
|
+
|
|
11
|
+
## 1.55.0
|
|
12
|
+
|
|
13
|
+
* Updates rubocop to [1.87.0](https://github.com/rubocop/rubocop/releases/tag/v1.87.0)
|
|
14
|
+
|
|
3
15
|
## 1.54.0
|
|
4
16
|
|
|
5
17
|
* Updates rubocop to [1.84.0](https://github.com/rubocop/rubocop/releases/tag/v1.84.2)
|
data/Gemfile.lock
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
standard (1.
|
|
4
|
+
standard (1.57.0)
|
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
|
6
6
|
lint_roller (~> 1.0)
|
|
7
|
-
rubocop (~> 1.
|
|
7
|
+
rubocop (~> 1.91.0)
|
|
8
8
|
standard-custom (~> 1.0.0)
|
|
9
9
|
standard-performance (~> 1.8)
|
|
10
10
|
|
|
@@ -13,8 +13,8 @@ GEM
|
|
|
13
13
|
specs:
|
|
14
14
|
ast (2.4.3)
|
|
15
15
|
docile (1.4.0)
|
|
16
|
-
json (2.
|
|
17
|
-
language_server-protocol (3.17.0.
|
|
16
|
+
json (2.19.9)
|
|
17
|
+
language_server-protocol (3.17.0.6)
|
|
18
18
|
lint_roller (1.1.0)
|
|
19
19
|
logger (1.7.0)
|
|
20
20
|
m (1.7.0)
|
|
@@ -28,15 +28,15 @@ GEM
|
|
|
28
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.
|
|
36
|
-
json (
|
|
35
|
+
rubocop (1.91.0)
|
|
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)
|
|
@@ -50,7 +50,7 @@ GEM
|
|
|
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.11)
|
|
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
|
@@ -446,6 +446,9 @@ Lint/AmbiguousRange:
|
|
|
446
446
|
Lint/AmbiguousRegexpLiteral:
|
|
447
447
|
Enabled: true
|
|
448
448
|
|
|
449
|
+
Lint/ArgumentMismatch:
|
|
450
|
+
Enabled: false
|
|
451
|
+
|
|
449
452
|
Lint/ArrayLiteralInRegexp:
|
|
450
453
|
Enabled: true
|
|
451
454
|
AutoCorrect: false
|
|
@@ -484,6 +487,9 @@ Lint/ConstantResolution:
|
|
|
484
487
|
Lint/CopDirectiveSyntax:
|
|
485
488
|
Enabled: true
|
|
486
489
|
|
|
490
|
+
Lint/DataDefineOverride:
|
|
491
|
+
Enabled: false
|
|
492
|
+
|
|
487
493
|
Lint/Debugger:
|
|
488
494
|
Enabled: true
|
|
489
495
|
|
|
@@ -496,6 +502,9 @@ Lint/DeprecatedConstants:
|
|
|
496
502
|
Lint/DeprecatedOpenSSLConstant:
|
|
497
503
|
Enabled: true
|
|
498
504
|
|
|
505
|
+
Lint/DeprecatedReference:
|
|
506
|
+
Enabled: false
|
|
507
|
+
|
|
499
508
|
Lint/DisjunctiveAssignmentInConstructor:
|
|
500
509
|
Enabled: false
|
|
501
510
|
|
|
@@ -630,9 +639,13 @@ Lint/LiteralInInterpolation:
|
|
|
630
639
|
Lint/Loop:
|
|
631
640
|
Enabled: true
|
|
632
641
|
|
|
642
|
+
Lint/MisplacedMagicComment:
|
|
643
|
+
Enabled: true
|
|
644
|
+
AutoCorrect: false
|
|
645
|
+
|
|
633
646
|
Lint/MissingCopEnableDirective:
|
|
634
647
|
Enabled: true
|
|
635
|
-
|
|
648
|
+
MaxRangeSize: .inf
|
|
636
649
|
|
|
637
650
|
Lint/MissingSuper:
|
|
638
651
|
Enabled: false
|
|
@@ -646,6 +659,9 @@ Lint/MixedRegexpCaptureTypes:
|
|
|
646
659
|
Lint/MultipleComparison:
|
|
647
660
|
Enabled: true
|
|
648
661
|
|
|
662
|
+
Lint/NameTypo:
|
|
663
|
+
Enabled: false
|
|
664
|
+
|
|
649
665
|
Lint/NestedMethodDefinition:
|
|
650
666
|
Enabled: true
|
|
651
667
|
|
|
@@ -803,6 +819,9 @@ Lint/SharedMutableDefault:
|
|
|
803
819
|
Lint/StructNewOverride:
|
|
804
820
|
Enabled: false
|
|
805
821
|
|
|
822
|
+
Lint/SuperArgumentMismatch:
|
|
823
|
+
Enabled: false
|
|
824
|
+
|
|
806
825
|
Lint/SuppressedException:
|
|
807
826
|
Enabled: false
|
|
808
827
|
|
|
@@ -852,12 +871,18 @@ Lint/UnreachableCode:
|
|
|
852
871
|
Lint/UnreachableLoop:
|
|
853
872
|
Enabled: false
|
|
854
873
|
|
|
874
|
+
Lint/UnreachablePatternBranch:
|
|
875
|
+
Enabled: true
|
|
876
|
+
|
|
855
877
|
Lint/UnusedBlockArgument:
|
|
856
878
|
Enabled: false
|
|
857
879
|
|
|
858
880
|
Lint/UnusedMethodArgument:
|
|
859
881
|
Enabled: false
|
|
860
882
|
|
|
883
|
+
Lint/UnusedPrivateMethod:
|
|
884
|
+
Enabled: false
|
|
885
|
+
|
|
861
886
|
Lint/UriEscapeUnescape:
|
|
862
887
|
Enabled: true
|
|
863
888
|
|
|
@@ -1185,6 +1210,9 @@ Style/Dir:
|
|
|
1185
1210
|
Style/DirEmpty:
|
|
1186
1211
|
Enabled: true
|
|
1187
1212
|
|
|
1213
|
+
Style/DirectiveScope:
|
|
1214
|
+
Enabled: false
|
|
1215
|
+
|
|
1188
1216
|
Style/DisableCopsWithinSourceCodeDirective:
|
|
1189
1217
|
Enabled: false
|
|
1190
1218
|
|
|
@@ -1197,9 +1225,6 @@ Style/Documentation:
|
|
|
1197
1225
|
Style/DocumentationMethod:
|
|
1198
1226
|
Enabled: false
|
|
1199
1227
|
|
|
1200
|
-
Style/DoubleCopDisableDirective:
|
|
1201
|
-
Enabled: false
|
|
1202
|
-
|
|
1203
1228
|
Style/DoubleNegation:
|
|
1204
1229
|
Enabled: false
|
|
1205
1230
|
|
|
@@ -1278,6 +1303,9 @@ Style/FileEmpty:
|
|
|
1278
1303
|
Style/FileNull:
|
|
1279
1304
|
Enabled: true
|
|
1280
1305
|
|
|
1306
|
+
Style/FileOpen:
|
|
1307
|
+
Enabled: false
|
|
1308
|
+
|
|
1281
1309
|
Style/FileRead:
|
|
1282
1310
|
Enabled: true
|
|
1283
1311
|
|
|
@@ -1419,6 +1447,9 @@ Style/MapCompactWithConditionalBlock:
|
|
|
1419
1447
|
Style/MapIntoArray:
|
|
1420
1448
|
Enabled: false
|
|
1421
1449
|
|
|
1450
|
+
Style/MapJoin:
|
|
1451
|
+
Enabled: true
|
|
1452
|
+
|
|
1422
1453
|
Style/MapToHash:
|
|
1423
1454
|
Enabled: false
|
|
1424
1455
|
|
|
@@ -1575,6 +1606,9 @@ Style/NumericPredicate:
|
|
|
1575
1606
|
Style/ObjectThen:
|
|
1576
1607
|
Enabled: false
|
|
1577
1608
|
|
|
1609
|
+
Style/OneClassPerFile:
|
|
1610
|
+
Enabled: false
|
|
1611
|
+
|
|
1578
1612
|
Style/OneLineConditional:
|
|
1579
1613
|
Enabled: true
|
|
1580
1614
|
|
|
@@ -1604,6 +1638,9 @@ Style/ParenthesesAroundCondition:
|
|
|
1604
1638
|
AllowSafeAssignment: true
|
|
1605
1639
|
AllowInMultilineConditions: false
|
|
1606
1640
|
|
|
1641
|
+
Style/PartitionInsteadOfDoubleSelect:
|
|
1642
|
+
Enabled: false
|
|
1643
|
+
|
|
1607
1644
|
Style/PercentLiteralDelimiters:
|
|
1608
1645
|
Enabled: true
|
|
1609
1646
|
PreferredDelimiters:
|
|
@@ -1620,6 +1657,9 @@ Style/PercentQLiterals:
|
|
|
1620
1657
|
Style/PerlBackrefs:
|
|
1621
1658
|
Enabled: false
|
|
1622
1659
|
|
|
1660
|
+
Style/PredicateWithKind:
|
|
1661
|
+
Enabled: false
|
|
1662
|
+
|
|
1623
1663
|
Style/PreferredHashMethods:
|
|
1624
1664
|
Enabled: false
|
|
1625
1665
|
|
|
@@ -1636,6 +1676,9 @@ Style/RaiseArgs:
|
|
|
1636
1676
|
Style/RandomWithOffset:
|
|
1637
1677
|
Enabled: true
|
|
1638
1678
|
|
|
1679
|
+
Style/ReduceToHash:
|
|
1680
|
+
Enabled: false
|
|
1681
|
+
|
|
1639
1682
|
Style/RedundantArgument:
|
|
1640
1683
|
Enabled: false
|
|
1641
1684
|
|
|
@@ -1705,6 +1748,9 @@ Style/RedundantInterpolationUnfreeze:
|
|
|
1705
1748
|
Style/RedundantLineContinuation:
|
|
1706
1749
|
Enabled: true
|
|
1707
1750
|
|
|
1751
|
+
Style/RedundantMinMaxBy:
|
|
1752
|
+
Enabled: true
|
|
1753
|
+
|
|
1708
1754
|
Style/RedundantParentheses:
|
|
1709
1755
|
Enabled: true
|
|
1710
1756
|
|
|
@@ -1745,6 +1791,9 @@ Style/RedundantSortBy:
|
|
|
1745
1791
|
Style/RedundantStringEscape:
|
|
1746
1792
|
Enabled: true
|
|
1747
1793
|
|
|
1794
|
+
Style/RedundantStructKeywordInit:
|
|
1795
|
+
Enabled: true
|
|
1796
|
+
|
|
1748
1797
|
Style/RegexpLiteral:
|
|
1749
1798
|
Enabled: false
|
|
1750
1799
|
|
|
@@ -1783,6 +1832,12 @@ Style/SafeNavigationChainLength:
|
|
|
1783
1832
|
Style/Sample:
|
|
1784
1833
|
Enabled: true
|
|
1785
1834
|
|
|
1835
|
+
Style/SelectByKind:
|
|
1836
|
+
Enabled: false
|
|
1837
|
+
|
|
1838
|
+
Style/SelectByRange:
|
|
1839
|
+
Enabled: false
|
|
1840
|
+
|
|
1786
1841
|
Style/SelectByRegexp:
|
|
1787
1842
|
Enabled: false
|
|
1788
1843
|
|
|
@@ -1879,11 +1934,17 @@ Style/SymbolLiteral:
|
|
|
1879
1934
|
Style/SymbolProc:
|
|
1880
1935
|
Enabled: false
|
|
1881
1936
|
|
|
1937
|
+
Style/TallyMethod:
|
|
1938
|
+
Enabled: true
|
|
1939
|
+
|
|
1882
1940
|
Style/TernaryParentheses:
|
|
1883
1941
|
Enabled: true
|
|
1884
1942
|
EnforcedStyle: require_parentheses_when_complex
|
|
1885
1943
|
AllowSafeAssignment: true
|
|
1886
1944
|
|
|
1945
|
+
Style/TimeNow:
|
|
1946
|
+
Enabled: true
|
|
1947
|
+
|
|
1887
1948
|
Style/TopLevelMethodDefinition:
|
|
1888
1949
|
Enabled: false
|
|
1889
1950
|
|
data/config/ruby-2.6.yml
CHANGED
data/config/ruby-3.1.yml
CHANGED
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.91.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.57.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.91.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.91.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: lint_roller
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
187
187
|
- !ruby/object:Gem::Version
|
|
188
188
|
version: '0'
|
|
189
189
|
requirements: []
|
|
190
|
-
rubygems_version:
|
|
190
|
+
rubygems_version: 3.6.7
|
|
191
191
|
specification_version: 4
|
|
192
192
|
summary: Ruby Style Guide, with linter & automatic code fixer
|
|
193
193
|
test_files: []
|