standard 1.50.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1dad1a1aa45aed0a9491752fdfd605a8247b42cc7e7156147a2b9201ba66eae
4
- data.tar.gz: 617989cc9199aa69eb97dc02cd56dff78c988f5aed34e9d35a786f3b4198fd4d
3
+ metadata.gz: a53eca5836959d4d57f1fa90f4ca8617f2e4d790084486043c3cfd4510d4a704
4
+ data.tar.gz: cb2b1e497b658ff0d5a3e679a4d60faaf9d54427330afba8f635651a3fde613c
5
5
  SHA512:
6
- metadata.gz: ee6a0a8aba970e770c9cb0c5ae8ee1843bf5570e46dd64e927d0fb2045e8e7107610d26e0a2fe633411e7c2f068a9ff6382ae0dba27e68bb89a44eb1b64342db
7
- data.tar.gz: 7617315c4f097ca504993de4ef485daaedcabe34a15a9d8b066d9c390f46b6d2d1e4b9c2370e49fd8234fac498bc54242c1a941fca00619fbdd70b452174c795
6
+ metadata.gz: 367bc330fb20dc258811855843d11cc41dca32f737632ca9ce420861cf44d8df8f21382d1558422e5711e9fc8a2162616499abe20be4ab7523991cd091fb3075
7
+ data.tar.gz: bf3b143a32830e9caf1083f1b8bdc409e25a1c5656ef31d8a6fcbd9acd444b592db49ab16c3f926f8b731612364295b7c316234450c9a7535d6bfac8f31b864b
@@ -1,10 +1,12 @@
1
+ # Please see the documentation for all configuration options:
2
+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3
+
1
4
  version: 2
2
5
  updates:
3
- - package-ecosystem: "bundler"
6
+ - package-ecosystem: bundler
4
7
  directory: "/"
5
- allow:
6
- - dependency-name: "rubocop"
7
- - dependency-name: "rubocop-performance"
8
- schedule:
9
- interval: "weekly"
10
- day: monday
8
+ schedule: { interval: weekly, day: monday }
9
+ - package-ecosystem: github-actions
10
+ directory: "/"
11
+ schedule: { interval: monthly }
12
+ cooldown: { default-days: 14 }
@@ -2,33 +2,23 @@ name: Tests
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [main]
6
5
  pull_request:
7
- branches: [main]
6
+ workflow_dispatch:
7
+ schedule: [ cron: "42 0 7 * *" ] # https://crontab.guru/#42_0_7_*_*
8
8
  workflow_run:
9
- workflows: ["Update"]
10
- types:
11
- - completed
9
+ workflows: [ "Update" ]
10
+ types: [ completed ]
12
11
 
13
12
  jobs:
14
13
  test:
15
- strategy:
16
- matrix:
17
- os: [ubuntu-latest]
18
- ruby-version:
19
- - "3.1"
20
- - "3.2"
21
- - "3.3"
22
- - "3.4"
23
-
24
- runs-on: ${{ matrix.os }}
25
-
14
+ runs-on: ubuntu-latest
15
+ strategy: {matrix: {ruby: [ 3.1, 3.2, 3.3, 3.4, '4.0' ]}}
26
16
  steps:
27
- - uses: actions/checkout@v4
28
- - name: Set up Ruby ${{ matrix.ruby-version }}
29
- uses: ruby/setup-ruby@v1
17
+ - uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0
18
+ with: { egress-policy: audit }
19
+ - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
20
+ - uses: ruby/setup-ruby@4fc31e1c823882afd7ef55985266a526c589de90 # v1.282.0
30
21
  with:
31
- ruby-version: ${{ matrix.ruby-version }}
22
+ ruby-version: ${{ matrix.ruby }}
32
23
  bundler-cache: true
33
- - name: Run tests for Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
34
- run: bundle config unset deployment && ./bin/rake
24
+ - run: bin/rake
@@ -14,7 +14,7 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v4
17
+ - uses: actions/checkout@v6
18
18
  - name: Set up Ruby
19
19
  uses: ruby/setup-ruby@v1
20
20
  with:
@@ -45,7 +45,7 @@ jobs:
45
45
  id: date
46
46
  run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
47
47
  - name: Create Pull Request
48
- uses: peter-evans/create-pull-request@v6
48
+ uses: peter-evans/create-pull-request@v8
49
49
  with:
50
50
  reviewers: camilopayan
51
51
  commit-message: '[ ${{ steps.date.outputs.date }} ] - Update dependencies'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
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
+
11
+ ## 1.53.0
12
+
13
+ * Updates rubocop to [1.82.0](https://github.com/rubocop/rubocop/releases/tag/v1.82.0)
14
+ * Starts support for Ruby 4.0
15
+
16
+ ## 1.52.0
17
+
18
+ * Updates rubocop to [1.81.7](https://github.com/rubocop/rubocop/tree/v1.81.7)
19
+
20
+ ## 1.51.1
21
+
22
+ * Fixes Layout/EmptyLineAfterGuardClause back to false after [#750](https://github.com/standardrb/standard/issues/750)
23
+
24
+ ## 1.51.0
25
+
26
+ * Updates rubocop to [1.81.2](https://github.com/rubocop/rubocop/tree/v1.81.2)
27
+
3
28
  ## 1.50.0
4
29
 
5
30
  * Updates rubocop to [1.75.5](https://github.com/rubocop/rubocop/tree/v1.75.5)
data/Gemfile CHANGED
@@ -3,15 +3,14 @@ source "https://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  gem "bundler"
6
- gem "minitest", "~> 5.0"
7
- gem "rake", "~> 13.0"
8
6
  gem "m"
7
+ gem "minitest"
9
8
  gem "mutex_m"
9
+ gem "rake"
10
10
  gem "ruby-lsp"
11
+ gem "simplecov"
11
12
 
12
13
  # You may want to run these off path locally:
13
14
  # gem "lint_roller", path: "../lint_roller"
14
15
  # gem "standard-custom", path: "../standard-custom"
15
16
  # gem "standard-performance", path: "../standard-performance"
16
-
17
- gem "simplecov"
data/Gemfile.lock CHANGED
@@ -1,62 +1,59 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.50.0)
4
+ standard (1.55.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.75.5)
7
+ rubocop (~> 1.87.0)
8
8
  standard-custom (~> 1.0.0)
9
9
  standard-performance (~> 1.8)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- ast (2.4.2)
14
+ ast (2.4.3)
15
15
  docile (1.4.0)
16
- json (2.6.3)
17
- language_server-protocol (3.17.0.3)
16
+ json (2.19.2)
17
+ language_server-protocol (3.17.0.5)
18
18
  lint_roller (1.1.0)
19
- logger (1.6.0)
20
- m (1.6.2)
21
- method_source (>= 0.6.7)
22
- rake (>= 0.9.2.2)
23
- method_source (1.0.0)
24
- minitest (5.25.1)
25
- mutex_m (0.2.0)
26
- parallel (1.23.0)
27
- parser (3.3.7.4)
19
+ logger (1.7.0)
20
+ m (1.7.0)
21
+ rake
22
+ minitest (5.26.1)
23
+ mutex_m (0.3.0)
24
+ parallel (1.27.0)
25
+ parser (3.3.10.0)
28
26
  ast (~> 2.4.1)
29
27
  racc
30
- prism (1.4.0)
31
- racc (1.7.1)
28
+ prism (1.9.0)
29
+ racc (1.8.1)
32
30
  rainbow (3.1.1)
33
- rake (13.0.6)
34
- rbs (3.5.2)
31
+ rake (13.4.2)
32
+ rbs (3.6.1)
35
33
  logger
36
- regexp_parser (2.9.3)
37
- rubocop (1.75.5)
34
+ regexp_parser (2.11.3)
35
+ rubocop (1.87.0)
38
36
  json (~> 2.3)
39
37
  language_server-protocol (~> 3.17.0.2)
40
38
  lint_roller (~> 1.1.0)
41
- parallel (~> 1.10)
39
+ parallel (>= 1.10)
42
40
  parser (>= 3.3.0.2)
43
41
  rainbow (>= 2.2.2, < 4.0)
44
42
  regexp_parser (>= 2.9.3, < 3.0)
45
- rubocop-ast (>= 1.44.0, < 2.0)
43
+ rubocop-ast (>= 1.49.0, < 2.0)
46
44
  ruby-progressbar (~> 1.7)
47
45
  unicode-display_width (>= 2.4.0, < 4.0)
48
- rubocop-ast (1.44.0)
46
+ rubocop-ast (1.49.0)
49
47
  parser (>= 3.3.7.2)
50
- prism (~> 1.4)
51
- rubocop-performance (1.25.0)
48
+ prism (~> 1.7)
49
+ rubocop-performance (1.26.1)
52
50
  lint_roller (~> 1.1)
53
51
  rubocop (>= 1.75.0, < 2.0)
54
- rubocop-ast (>= 1.38.0, < 2.0)
55
- ruby-lsp (0.23.13)
52
+ rubocop-ast (>= 1.47.1, < 2.0)
53
+ ruby-lsp (0.26.8)
56
54
  language_server-protocol (~> 3.17.0)
57
55
  prism (>= 1.2, < 2.0)
58
- rbs (>= 3, < 4)
59
- sorbet-runtime (>= 0.5.10782)
56
+ rbs (>= 3, < 5)
60
57
  ruby-progressbar (1.13.0)
61
58
  simplecov (0.22.0)
62
59
  docile (~> 1.1)
@@ -64,14 +61,15 @@ GEM
64
61
  simplecov_json_formatter (~> 0.1)
65
62
  simplecov-html (0.13.1)
66
63
  simplecov_json_formatter (0.1.4)
67
- sorbet-runtime (0.5.11481)
68
64
  standard-custom (1.0.2)
69
65
  lint_roller (~> 1.0)
70
66
  rubocop (~> 1.50)
71
- standard-performance (1.8.0)
67
+ standard-performance (1.9.0)
72
68
  lint_roller (~> 1.1)
73
- rubocop-performance (~> 1.25.0)
74
- unicode-display_width (2.5.0)
69
+ rubocop-performance (~> 1.26.0)
70
+ unicode-display_width (3.2.0)
71
+ unicode-emoji (~> 4.1)
72
+ unicode-emoji (4.2.0)
75
73
 
76
74
  PLATFORMS
77
75
  ruby
@@ -80,9 +78,9 @@ PLATFORMS
80
78
  DEPENDENCIES
81
79
  bundler
82
80
  m
83
- minitest (~> 5.0)
81
+ minitest
84
82
  mutex_m
85
- rake (~> 13.0)
83
+ rake
86
84
  ruby-lsp
87
85
  simplecov
88
86
  standard!
data/README.md CHANGED
@@ -153,14 +153,16 @@ continuous integration systems.
153
153
 
154
154
  We've added a number of editing guides for getting started:
155
155
 
156
- - [VS Code](https://github.com/standardrb/standard/wiki/IDE:-vscode)
157
- - [vim](https://github.com/standardrb/standard/wiki/IDE:-vim)
158
- - [neovim](https://github.com/standardrb/standard/wiki/IDE:-neovim)
159
- - [RubyMine](https://www.jetbrains.com/help/ruby/rubocop.html#disable_rubocop)
160
- - [emacs](https://www.flycheck.org/en/latest/languages.html#syntax-checker-ruby-standard)
161
- - [Helix](https://github.com/helix-editor/helix/wiki/External-formatter-configuration#standardrb)
162
156
  - [Atom](https://github.com/standardrb/standard/wiki/IDE:-Atom)
157
+ - [emacs](https://www.flycheck.org/en/latest/languages.html#syntax-checker-ruby-standard)
158
+ - [Helix](https://github.com/helix-editor/helix/wiki/Formatter-configurations#standardrb)
159
+ - [neovim](https://github.com/standardrb/standard/wiki/IDE:-neovim)
163
160
  - [Nova](https://codeberg.org/edwardloveall/nova-standard)
161
+ - [RubyMine](https://www.jetbrains.com/help/ruby/rubocop.html#disable_rubocop)
162
+ - [vim](https://github.com/standardrb/standard/wiki/IDE:-vim)
163
+ - [VS Code](https://github.com/standardrb/standard/wiki/IDE:-vscode)
164
+ - [Zed](https://zed.dev/docs/languages/ruby#setting-up-ruby-lsp)
165
+ - [Sublime Text](https://github.com/standardrb/standard/wiki/IDE:-Sublime-Text)
164
166
 
165
167
  If you'd like to help by creating a guide, please draft one [in an
166
168
  issue](https://github.com/standardrb/standard/issues/new) and we'll get it
data/config/base.yml CHANGED
@@ -30,6 +30,9 @@ Bundler/OrderedGems:
30
30
  Gemspec/AddRuntimeDependency:
31
31
  Enabled: false
32
32
 
33
+ Gemspec/AttributeAssignment:
34
+ Enabled: false
35
+
33
36
  Gemspec/DependencyVersion:
34
37
  Enabled: false
35
38
 
@@ -132,12 +135,15 @@ Layout/EmptyLineAfterMultilineCondition:
132
135
 
133
136
  Layout/EmptyLineBetweenDefs:
134
137
  Enabled: true
135
- AllowAdjacentOneLineDefs: false
138
+ AllowAdjacentOneLineDefs: true
136
139
  NumberOfEmptyLines: 1
137
140
 
138
141
  Layout/EmptyLines:
139
142
  Enabled: true
140
143
 
144
+ Layout/EmptyLinesAfterModuleInclusion:
145
+ Enabled: true
146
+
141
147
  Layout/EmptyLinesAroundAccessModifier:
142
148
  Enabled: true
143
149
 
@@ -243,6 +249,7 @@ Layout/InitialIndentation:
243
249
 
244
250
  Layout/LeadingCommentSpace:
245
251
  Enabled: true
252
+ AllowRBSInlineAnnotation: true
246
253
 
247
254
  Layout/LeadingEmptyLines:
248
255
  Enabled: true
@@ -477,6 +484,9 @@ Lint/ConstantResolution:
477
484
  Lint/CopDirectiveSyntax:
478
485
  Enabled: true
479
486
 
487
+ Lint/DataDefineOverride:
488
+ Enabled: false
489
+
480
490
  Lint/Debugger:
481
491
  Enabled: true
482
492
 
@@ -845,6 +855,9 @@ Lint/UnreachableCode:
845
855
  Lint/UnreachableLoop:
846
856
  Enabled: false
847
857
 
858
+ Lint/UnreachablePatternBranch:
859
+ Enabled: true
860
+
848
861
  Lint/UnusedBlockArgument:
849
862
  Enabled: false
850
863
 
@@ -866,6 +879,9 @@ Lint/UselessAssignment:
866
879
  Lint/UselessConstantScoping:
867
880
  Enabled: false
868
881
 
882
+ Lint/UselessDefaultValueArgument:
883
+ Enabled: false
884
+
869
885
  Lint/UselessDefined:
870
886
  Enabled: true
871
887
 
@@ -878,6 +894,9 @@ Lint/UselessMethodDefinition:
878
894
  Lint/UselessNumericOperation:
879
895
  Enabled: false
880
896
 
897
+ Lint/UselessOr:
898
+ Enabled: true
899
+
881
900
  Lint/UselessRescue:
882
901
  Enabled: true
883
902
 
@@ -974,7 +993,10 @@ Naming/MethodName:
974
993
  Naming/MethodParameterName:
975
994
  Enabled: false
976
995
 
977
- Naming/PredicateName:
996
+ Naming/PredicateMethod:
997
+ Enabled: false
998
+
999
+ Naming/PredicatePrefix:
978
1000
  Enabled: false
979
1001
 
980
1002
  Naming/RescuedExceptionsVariableName:
@@ -1036,6 +1058,9 @@ Style/ArrayFirstLast:
1036
1058
  Style/ArrayIntersect:
1037
1059
  Enabled: false
1038
1060
 
1061
+ Style/ArrayIntersectWithSingleElement:
1062
+ Enabled: false
1063
+
1039
1064
  Style/ArrayJoin:
1040
1065
  Enabled: true
1041
1066
 
@@ -1101,6 +1126,9 @@ Style/CollectionCompact:
1101
1126
  Style/CollectionMethods:
1102
1127
  Enabled: false
1103
1128
 
1129
+ Style/CollectionQuerying:
1130
+ Enabled: false
1131
+
1104
1132
  Style/ColonMethodCall:
1105
1133
  Enabled: true
1106
1134
 
@@ -1193,6 +1221,9 @@ Style/EmptyBlockParameter:
1193
1221
  Style/EmptyCaseCondition:
1194
1222
  Enabled: true
1195
1223
 
1224
+ Style/EmptyClassDefinition:
1225
+ Enabled: false
1226
+
1196
1227
  Style/EmptyElse:
1197
1228
  Enabled: true
1198
1229
  AllowComments: true
@@ -1211,6 +1242,10 @@ Style/EmptyMethod:
1211
1242
  Enabled: true
1212
1243
  EnforcedStyle: expanded
1213
1244
 
1245
+ Style/EmptyStringInsideInterpolation:
1246
+ Enabled: true
1247
+ EnforcedStyle: trailing_conditional
1248
+
1214
1249
  Style/Encoding:
1215
1250
  Enabled: true
1216
1251
 
@@ -1249,6 +1284,9 @@ Style/FileEmpty:
1249
1284
  Style/FileNull:
1250
1285
  Enabled: true
1251
1286
 
1287
+ Style/FileOpen:
1288
+ Enabled: false
1289
+
1252
1290
  Style/FileRead:
1253
1291
  Enabled: true
1254
1292
 
@@ -1302,6 +1340,9 @@ Style/HashFetchChain:
1302
1340
  Style/HashLikeCase:
1303
1341
  Enabled: false
1304
1342
 
1343
+ Style/HashLookupMethod:
1344
+ Enabled: false
1345
+
1305
1346
  Style/HashSlice:
1306
1347
  Enabled: true
1307
1348
 
@@ -1387,6 +1428,9 @@ Style/MapCompactWithConditionalBlock:
1387
1428
  Style/MapIntoArray:
1388
1429
  Enabled: false
1389
1430
 
1431
+ Style/MapJoin:
1432
+ Enabled: true
1433
+
1390
1434
  Style/MapToHash:
1391
1435
  Enabled: false
1392
1436
 
@@ -1428,6 +1472,9 @@ Style/MixinUsage:
1428
1472
  Style/ModuleFunction:
1429
1473
  Enabled: false
1430
1474
 
1475
+ Style/ModuleMemberExistenceCheck:
1476
+ Enabled: true
1477
+
1431
1478
  Style/MultilineBlockChain:
1432
1479
  Enabled: false
1433
1480
 
@@ -1471,6 +1518,9 @@ Style/NegatedUnless:
1471
1518
  Style/NegatedWhile:
1472
1519
  Enabled: true
1473
1520
 
1521
+ Style/NegativeArrayIndex:
1522
+ Enabled: true
1523
+
1474
1524
  Style/NestedFileDirname:
1475
1525
  Enabled: true
1476
1526
 
@@ -1537,6 +1587,9 @@ Style/NumericPredicate:
1537
1587
  Style/ObjectThen:
1538
1588
  Enabled: false
1539
1589
 
1590
+ Style/OneClassPerFile:
1591
+ Enabled: false
1592
+
1540
1593
  Style/OneLineConditional:
1541
1594
  Enabled: true
1542
1595
 
@@ -1566,6 +1619,9 @@ Style/ParenthesesAroundCondition:
1566
1619
  AllowSafeAssignment: true
1567
1620
  AllowInMultilineConditions: false
1568
1621
 
1622
+ Style/PartitionInsteadOfDoubleSelect:
1623
+ Enabled: false
1624
+
1569
1625
  Style/PercentLiteralDelimiters:
1570
1626
  Enabled: true
1571
1627
  PreferredDelimiters:
@@ -1582,6 +1638,9 @@ Style/PercentQLiterals:
1582
1638
  Style/PerlBackrefs:
1583
1639
  Enabled: false
1584
1640
 
1641
+ Style/PredicateWithKind:
1642
+ Enabled: false
1643
+
1585
1644
  Style/PreferredHashMethods:
1586
1645
  Enabled: false
1587
1646
 
@@ -1598,12 +1657,18 @@ Style/RaiseArgs:
1598
1657
  Style/RandomWithOffset:
1599
1658
  Enabled: true
1600
1659
 
1660
+ Style/ReduceToHash:
1661
+ Enabled: false
1662
+
1601
1663
  Style/RedundantArgument:
1602
1664
  Enabled: false
1603
1665
 
1604
1666
  Style/RedundantArrayConstructor:
1605
1667
  Enabled: true
1606
1668
 
1669
+ Style/RedundantArrayFlatten:
1670
+ Enabled: true
1671
+
1607
1672
  Style/RedundantAssignment:
1608
1673
  Enabled: true
1609
1674
 
@@ -1664,6 +1729,9 @@ Style/RedundantInterpolationUnfreeze:
1664
1729
  Style/RedundantLineContinuation:
1665
1730
  Enabled: true
1666
1731
 
1732
+ Style/RedundantMinMaxBy:
1733
+ Enabled: true
1734
+
1667
1735
  Style/RedundantParentheses:
1668
1736
  Enabled: true
1669
1737
 
@@ -1704,6 +1772,9 @@ Style/RedundantSortBy:
1704
1772
  Style/RedundantStringEscape:
1705
1773
  Enabled: true
1706
1774
 
1775
+ Style/RedundantStructKeywordInit:
1776
+ Enabled: true
1777
+
1707
1778
  Style/RegexpLiteral:
1708
1779
  Enabled: false
1709
1780
 
@@ -1723,6 +1794,9 @@ Style/ReturnNil:
1723
1794
  Style/ReturnNilInPredicateMethodDefinition:
1724
1795
  Enabled: false
1725
1796
 
1797
+ Style/ReverseFind:
1798
+ Enabled: true
1799
+
1726
1800
  Style/SafeNavigation:
1727
1801
  Enabled: true
1728
1802
  ConvertCodeThatCanStartToReturnNil: false
@@ -1739,6 +1813,12 @@ Style/SafeNavigationChainLength:
1739
1813
  Style/Sample:
1740
1814
  Enabled: true
1741
1815
 
1816
+ Style/SelectByKind:
1817
+ Enabled: false
1818
+
1819
+ Style/SelectByRange:
1820
+ Enabled: false
1821
+
1742
1822
  Style/SelectByRegexp:
1743
1823
  Enabled: false
1744
1824
 
@@ -1835,6 +1915,9 @@ Style/SymbolLiteral:
1835
1915
  Style/SymbolProc:
1836
1916
  Enabled: false
1837
1917
 
1918
+ Style/TallyMethod:
1919
+ Enabled: true
1920
+
1838
1921
  Style/TernaryParentheses:
1839
1922
  Enabled: true
1840
1923
  EnforcedStyle: require_parentheses_when_complex
data/config/ruby-2.6.yml CHANGED
@@ -11,3 +11,6 @@ Style/NumberedParametersLimit:
11
11
 
12
12
  Lint/DuplicateMatchPattern:
13
13
  Enabled: false
14
+
15
+ Style/TallyMethod:
16
+ Enabled: false
data/config/ruby-3.1.yml CHANGED
@@ -9,3 +9,6 @@ Style/DataInheritance:
9
9
  Style/ArgumentsForwarding:
10
10
  Enabled: false
11
11
  AllowOnlyRestArgument: true
12
+
13
+ Style/RedundantStructKeywordInit:
14
+ Enabled: false
data/config/ruby-3.3.yml CHANGED
@@ -1,4 +1,4 @@
1
- inherit_from: ./base.yml
1
+ inherit_from: ./ruby-3.4.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 3.3
@@ -0,0 +1,7 @@
1
+ inherit_from: ./base.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 3.4
5
+
6
+ Style/ReverseFind:
7
+ Enabled: false
@@ -2,6 +2,7 @@ module RubyLsp
2
2
  module Standard
3
3
  class WrapsBuiltinLspStandardizer
4
4
  include RubyLsp::Requests::Support::Formatter
5
+
5
6
  def initialize
6
7
  init!
7
8
  end
@@ -12,6 +12,7 @@ module Standard
12
12
 
13
13
  def puts_once(message)
14
14
  return if @puts_onces.include?(message)
15
+
15
16
  @puts_onces << message
16
17
  puts(message)
17
18
  end
@@ -21,6 +21,7 @@ module Standard
21
21
 
22
22
  def argv_value_for(argv, option_name)
23
23
  return unless (index = argv.index(option_name))
24
+
24
25
  argv[index + 1]
25
26
  end
26
27
  end
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.50.0")
2
+ VERSION = Gem::Version.new("1.55.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.75.5"
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,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-05-13 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.75.5
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.75.5
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: 3.6.2
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: []