standard 1.42.1 → 1.43.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: '0297e5fe8c926fcc0d104811d5ea18751167321b677d90b3a103487372128863'
4
- data.tar.gz: 7cc845b331082fadea50e51cdb8d7467c7b502ff452c40aaec17db7ed1a8dfab
3
+ metadata.gz: a63a20b7b80727310a27e1943a539b1981d88c2da2bf67ae4707488809069553
4
+ data.tar.gz: 8a4c8281e35dc0359c9400238c581a8c00f836528b852067d7293146153d7f99
5
5
  SHA512:
6
- metadata.gz: 4f84b657321275fdf794441d537ff04f645207d44f5b3bdf74f5258bef0f990e01be0c48531ef9872d02ea706befcffeed90746a4e2e1c6b96b6cfc6a855b2fd
7
- data.tar.gz: c7a9199c18586a6bfc8b8bc9a9afcf297be12635a77a1f0b85b5df418cae8b11d4f697cf5f2c8d39f3638a283c42730efcd58df34050e00ae81dd39790c05c17
6
+ metadata.gz: 9b5cac5e093cfbafceb8dce7d1f95163aa3cf76543a648715af26f15d084ea6d9a3c23fa7b221e4acd4f194cd87aed986b980573d591ffea291c3c0b77eef891
7
+ data.tar.gz: f0e69c6094538f45b2d79a7cbd5dab8d88ac5ab0202ce6a01b04e3997e8de33478ed46e75d1c694ff4c6359828a4ddbbc1dc5abf211a9378d970294b923a163e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## 1.43.0
4
+
5
+ * Updates rubocop to [1.69.1](https://github.com/rubocop/rubocop/tree/v1.69.1)
4
6
 
5
7
  ## 1.42.1
6
8
 
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.42.1)
4
+ standard (1.43.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.68.0)
7
+ rubocop (~> 1.69.1)
8
8
  standard-custom (~> 1.0.0)
9
- standard-performance (~> 1.5)
9
+ standard-performance (~> 1.6)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
@@ -33,20 +33,20 @@ GEM
33
33
  rake (13.0.6)
34
34
  rbs (3.5.2)
35
35
  logger
36
- regexp_parser (2.8.2)
37
- rubocop (1.68.0)
36
+ regexp_parser (2.9.3)
37
+ rubocop (1.69.1)
38
38
  json (~> 2.3)
39
39
  language_server-protocol (>= 3.17.0)
40
40
  parallel (~> 1.10)
41
41
  parser (>= 3.3.0.2)
42
42
  rainbow (>= 2.2.2, < 4.0)
43
- regexp_parser (>= 2.4, < 3.0)
44
- rubocop-ast (>= 1.32.2, < 2.0)
43
+ regexp_parser (>= 2.9.3, < 3.0)
44
+ rubocop-ast (>= 1.36.2, < 2.0)
45
45
  ruby-progressbar (~> 1.7)
46
- unicode-display_width (>= 2.4.0, < 3.0)
47
- rubocop-ast (1.32.3)
46
+ unicode-display_width (>= 2.4.0, < 4.0)
47
+ rubocop-ast (1.36.2)
48
48
  parser (>= 3.3.1.0)
49
- rubocop-performance (1.22.1)
49
+ rubocop-performance (1.23.0)
50
50
  rubocop (>= 1.48.1, < 2.0)
51
51
  rubocop-ast (>= 1.31.1, < 2.0)
52
52
  ruby-lsp (0.17.7)
@@ -65,9 +65,9 @@ GEM
65
65
  standard-custom (1.0.2)
66
66
  lint_roller (~> 1.0)
67
67
  rubocop (~> 1.50)
68
- standard-performance (1.5.0)
68
+ standard-performance (1.6.0)
69
69
  lint_roller (~> 1.1)
70
- rubocop-performance (~> 1.22.0)
70
+ rubocop-performance (~> 1.23.0)
71
71
  unicode-display_width (2.5.0)
72
72
 
73
73
  PLATFORMS
data/README.md CHANGED
@@ -160,6 +160,7 @@ We've added a number of editing guides for getting started:
160
160
  - [emacs](https://www.flycheck.org/en/latest/languages.html#syntax-checker-ruby-standard)
161
161
  - [Helix](https://github.com/helix-editor/helix/wiki/External-formatter-configuration#standardrb)
162
162
  - [Atom](https://github.com/standardrb/standard/wiki/IDE:-Atom)
163
+ - [Nova](https://codeberg.org/edwardloveall/nova-standard)
163
164
 
164
165
  If you'd like to help by creating a guide, please draft one [in an
165
166
  issue](https://github.com/standardrb/standard/issues/new) and we'll get it
data/config/base.yml CHANGED
@@ -570,6 +570,9 @@ Lint/FormatParameterMismatch:
570
570
  Lint/HashCompareByIdentity:
571
571
  Enabled: false
572
572
 
573
+ Lint/HashNewWithKeywordArgumentsAsDefault:
574
+ Enabled: true
575
+
573
576
  Lint/HeredocMethodCallPosition:
574
577
  Enabled: false
575
578
 
@@ -653,6 +656,9 @@ Lint/NumberConversion:
653
656
  Lint/NumberedParameterAssignment:
654
657
  Enabled: true
655
658
 
659
+ Lint/NumericOperationWithConstantResult:
660
+ Enabled: false
661
+
656
662
  Lint/OrAssignmentToConstant:
657
663
  Enabled: true
658
664
 
@@ -837,6 +843,9 @@ Lint/UselessAccessModifier:
837
843
  Lint/UselessAssignment:
838
844
  Enabled: true
839
845
 
846
+ Lint/UselessDefined:
847
+ Enabled: true
848
+
840
849
  Lint/UselessElseWithoutRescue:
841
850
  Enabled: false
842
851
 
@@ -1119,6 +1128,9 @@ Style/DateTime:
1119
1128
  Style/DefWithParentheses:
1120
1129
  Enabled: true
1121
1130
 
1131
+ Style/DigChain:
1132
+ Enabled: true
1133
+
1122
1134
  Style/Dir:
1123
1135
  Enabled: true
1124
1136
 
@@ -1208,9 +1220,15 @@ Style/FetchEnvVar:
1208
1220
  Style/FileEmpty:
1209
1221
  Enabled: false
1210
1222
 
1223
+ Style/FileNull:
1224
+ Enabled: true
1225
+
1211
1226
  Style/FileRead:
1212
1227
  Enabled: true
1213
1228
 
1229
+ Style/FileTouch:
1230
+ Enabled: false
1231
+
1214
1232
  Style/FileWrite:
1215
1233
  Enabled: true
1216
1234
 
data/config/ruby-1.9.yml CHANGED
@@ -9,3 +9,6 @@ Style/HashConversion:
9
9
  # Percent delimiters are not supported until Ruby 2.0
10
10
  Style/PercentLiteralDelimiters:
11
11
  Enabled: false
12
+
13
+ Style/FileNull:
14
+ Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.42.1")
2
+ VERSION = Gem::Version.new("1.43.0")
3
3
  end
data/standard.gemspec CHANGED
@@ -21,11 +21,11 @@ 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.68.0"
24
+ spec.add_dependency "rubocop", "~> 1.69.1"
25
25
 
26
26
  spec.add_dependency "lint_roller", "~> 1.0"
27
27
  spec.add_dependency "standard-custom", "~> 1.0.0"
28
- spec.add_dependency "standard-performance", "~> 1.5"
28
+ spec.add_dependency "standard-performance", "~> 1.6"
29
29
 
30
30
  # not semver: first three are lsp protocol version, last is patch
31
31
  spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.42.1
4
+ version: 1.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.68.0
19
+ version: 1.69.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.68.0
26
+ version: 1.69.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: lint_roller
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.5'
61
+ version: '1.6'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.5'
68
+ version: '1.6'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: language_server-protocol
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  - !ruby/object:Gem::Version
190
190
  version: '0'
191
191
  requirements: []
192
- rubygems_version: 3.3.3
192
+ rubygems_version: 3.4.10
193
193
  signing_key:
194
194
  specification_version: 4
195
195
  summary: Ruby Style Guide, with linter & automatic code fixer