standard 1.44.0 → 1.46.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: '04918992d9b58c817d0721df32755f11ab74f786a53677107c27948b8a4cf622'
4
- data.tar.gz: ae1b3e3635588893ac5ef45915c93d3b56ab70c0e3c20638842a69835cee2243
3
+ metadata.gz: f90a5608364a14a9eb3b54ec51dde4263da398b531aaa9033d3a97d89d5dbe82
4
+ data.tar.gz: e82fe12c2b8057d8a6b91d9907d8464924f09de56f8c5c35d0b9cab4106ba83f
5
5
  SHA512:
6
- metadata.gz: dacde9282ca5358769cf0118da0a07c5e20ec53306ef83988d36c57ed05508ce1cad69be57d55b1a7bfda88300207133190d9cd150c9d6d229ecd58c273d7fcb
7
- data.tar.gz: 8cae0bfd2fe8aeb55987fbeb64362ed7a15422ce44bda5f6d615f7ce792571cd6ed8b450423f00b77f218ce0c456cd48a095d08012578d1fee679e0533401719
6
+ metadata.gz: adf46662e296f621c18fa05603b45117f4a61f30b5c9bc92ee937db0ee1ba9f7c147aac85646bf999be544d03bf8a6c7a8754839159a79de947de9200dd96065
7
+ data.tar.gz: 723833968b9ad8fcb5e0a2c1819843d380a20a54f61580f10b8199be752c4a27e58006f35735d437de154e85411e5fb46c7a0cdeef0bb5237792f67b95496ce0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.46.0
4
+
5
+ * Updates rubocop to [1.73.2](https://github.com/rubocop/rubocop/tree/v1.73.2)
6
+
7
+ ## 1.45.0
8
+
9
+ * Updates rubocop to [1.71.0](https://github.com/rubocop/rubocop/tree/v1.71.0)
10
+
3
11
  ## 1.44.0
4
12
 
5
13
  * Updates rubocop to [1.70.0](https://github.com/rubocop/rubocop/tree/v1.70.0)
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.44.0)
4
+ standard (1.46.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.70.0)
7
+ rubocop (~> 1.73.0)
8
8
  standard-custom (~> 1.0.0)
9
9
  standard-performance (~> 1.6)
10
10
 
@@ -34,17 +34,18 @@ GEM
34
34
  rbs (3.5.2)
35
35
  logger
36
36
  regexp_parser (2.9.3)
37
- rubocop (1.70.0)
37
+ rubocop (1.73.2)
38
38
  json (~> 2.3)
39
- language_server-protocol (>= 3.17.0)
39
+ language_server-protocol (~> 3.17.0.2)
40
+ lint_roller (~> 1.1.0)
40
41
  parallel (~> 1.10)
41
42
  parser (>= 3.3.0.2)
42
43
  rainbow (>= 2.2.2, < 4.0)
43
44
  regexp_parser (>= 2.9.3, < 3.0)
44
- rubocop-ast (>= 1.36.2, < 2.0)
45
+ rubocop-ast (>= 1.38.0, < 2.0)
45
46
  ruby-progressbar (~> 1.7)
46
47
  unicode-display_width (>= 2.4.0, < 4.0)
47
- rubocop-ast (1.36.2)
48
+ rubocop-ast (1.38.1)
48
49
  parser (>= 3.3.1.0)
49
50
  rubocop-performance (1.23.0)
50
51
  rubocop (>= 1.48.1, < 2.0)
data/config/base.yml CHANGED
@@ -439,6 +439,10 @@ Lint/AmbiguousRange:
439
439
  Lint/AmbiguousRegexpLiteral:
440
440
  Enabled: true
441
441
 
442
+ Lint/ArrayLiteralInRegexp:
443
+ Enabled: true
444
+ AutoCorrect: false
445
+
442
446
  Lint/AssignmentInCondition:
443
447
  Enabled: true
444
448
  AllowSafeAssignment: true
@@ -470,6 +474,9 @@ Lint/ConstantReassignment:
470
474
  Lint/ConstantResolution:
471
475
  Enabled: false
472
476
 
477
+ Lint/CopDirectiveSyntax:
478
+ Enabled: true
479
+
473
480
  Lint/Debugger:
474
481
  Enabled: true
475
482
 
@@ -710,6 +717,9 @@ Lint/RedundantSplatExpansion:
710
717
  Lint/RedundantStringCoercion:
711
718
  Enabled: true
712
719
 
720
+ Lint/RedundantTypeConversion:
721
+ Enabled: true
722
+
713
723
  Lint/RedundantWithIndex:
714
724
  Enabled: true
715
725
 
@@ -789,6 +799,10 @@ Lint/StructNewOverride:
789
799
  Lint/SuppressedException:
790
800
  Enabled: false
791
801
 
802
+ Lint/SuppressedExceptionInNumberConversion:
803
+ Enabled: true
804
+ AutoCorrect: false
805
+
792
806
  Lint/SymbolConversion:
793
807
  Enabled: true
794
808
 
@@ -849,6 +863,9 @@ Lint/UselessAccessModifier:
849
863
  Lint/UselessAssignment:
850
864
  Enabled: true
851
865
 
866
+ Lint/UselessConstantScoping:
867
+ Enabled: true
868
+
852
869
  Lint/UselessDefined:
853
870
  Enabled: true
854
871
 
@@ -1279,6 +1296,9 @@ Style/HashExcept:
1279
1296
  Style/HashLikeCase:
1280
1297
  Enabled: false
1281
1298
 
1299
+ Style/HashSlice:
1300
+ Enabled: true
1301
+
1282
1302
  Style/HashSyntax:
1283
1303
  Enabled: true
1284
1304
  EnforcedStyle: ruby19_no_mixed_keys
@@ -1613,6 +1633,9 @@ Style/RedundantFileExtensionInRequire:
1613
1633
  Style/RedundantFilterChain:
1614
1634
  Enabled: false
1615
1635
 
1636
+ Style/RedundantFormat:
1637
+ Enabled: true
1638
+
1616
1639
  Style/RedundantFreeze:
1617
1640
  Enabled: true
1618
1641
 
data/config/ruby-2.4.yml CHANGED
@@ -5,3 +5,6 @@ AllCops:
5
5
 
6
6
  Style/RedundantBegin:
7
7
  Enabled: false
8
+
9
+ Style/HashSlice:
10
+ Enabled: false
data/config/ruby-2.5.yml CHANGED
@@ -5,3 +5,6 @@ AllCops:
5
5
 
6
6
  Style/SlicingWithRange:
7
7
  Enabled: false
8
+
9
+ Lint/SuppressedExceptionInNumberConversion:
10
+ Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.44.0")
2
+ VERSION = Gem::Version.new("1.46.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.70.0"
24
+ spec.add_dependency "rubocop", "~> 1.73.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.44.0
4
+ version: 1.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-01-14 00:00:00.000000000 Z
10
+ date: 2025-03-11 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.70.0
18
+ version: 1.73.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.70.0
25
+ version: 1.73.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: lint_roller
28
28
  requirement: !ruby/object:Gem::Requirement