standard 1.43.0 → 1.45.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: a63a20b7b80727310a27e1943a539b1981d88c2da2bf67ae4707488809069553
4
- data.tar.gz: 8a4c8281e35dc0359c9400238c581a8c00f836528b852067d7293146153d7f99
3
+ metadata.gz: 6ee0e74f6cfd7408d24356f8fa836ac18c29195c06c01ae1018abb0aca395990
4
+ data.tar.gz: 23da8da2abdab699a7ed14039292677eb6c75a0167fe98acddd74e5cf63a0829
5
5
  SHA512:
6
- metadata.gz: 9b5cac5e093cfbafceb8dce7d1f95163aa3cf76543a648715af26f15d084ea6d9a3c23fa7b221e4acd4f194cd87aed986b980573d591ffea291c3c0b77eef891
7
- data.tar.gz: f0e69c6094538f45b2d79a7cbd5dab8d88ac5ab0202ce6a01b04e3997e8de33478ed46e75d1c694ff4c6359828a4ddbbc1dc5abf211a9378d970294b923a163e
6
+ metadata.gz: 337e1473e99a7b6ef5b46215ff0442fb860a2602407836dbb3e67c6a949468b6601cc2eef9499a3e4c3a09da227a9f4fbf9da1cb0ea4ab4e68d582f3079552cc
7
+ data.tar.gz: 353ff9f93558477fd4ec1e4435013e91405cc9dd062ecfec59d706b5b8764f71103eec2323b941ca18c91c9825f7415b867c81d7a4e967ad728099db3f8f28c5
@@ -16,10 +16,10 @@ jobs:
16
16
  matrix:
17
17
  os: [ubuntu-latest]
18
18
  ruby-version:
19
- - "3.0"
20
19
  - "3.1"
21
20
  - "3.2"
22
21
  - "3.3"
22
+ - "3.4"
23
23
 
24
24
  runs-on: ${{ matrix.os }}
25
25
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.45.0
4
+
5
+ * Updates rubocop to [1.71.0](https://github.com/rubocop/rubocop/tree/v1.71.0)
6
+
7
+ ## 1.44.0
8
+
9
+ * Updates rubocop to [1.70.0](https://github.com/rubocop/rubocop/tree/v1.70.0)
10
+
3
11
  ## 1.43.0
4
12
 
5
13
  * Updates rubocop to [1.69.1](https://github.com/rubocop/rubocop/tree/v1.69.1)
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.43.0)
4
+ standard (1.45.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.69.1)
7
+ rubocop (~> 1.71.0)
8
8
  standard-custom (~> 1.0.0)
9
9
  standard-performance (~> 1.6)
10
10
 
@@ -34,7 +34,7 @@ GEM
34
34
  rbs (3.5.2)
35
35
  logger
36
36
  regexp_parser (2.9.3)
37
- rubocop (1.69.1)
37
+ rubocop (1.71.0)
38
38
  json (~> 2.3)
39
39
  language_server-protocol (>= 3.17.0)
40
40
  parallel (~> 1.10)
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
@@ -464,6 +468,9 @@ Lint/ConstantDefinitionInBlock:
464
468
  Lint/ConstantOverwrittenInRescue:
465
469
  Enabled: true
466
470
 
471
+ Lint/ConstantReassignment:
472
+ Enabled: true
473
+
467
474
  Lint/ConstantResolution:
468
475
  Enabled: false
469
476
 
@@ -777,6 +784,9 @@ Lint/ShadowedException:
777
784
  Lint/ShadowingOuterLocalVariable:
778
785
  Enabled: false
779
786
 
787
+ Lint/SharedMutableDefault:
788
+ Enabled: true
789
+
780
790
  Lint/StructNewOverride:
781
791
  Enabled: false
782
792
 
@@ -1273,6 +1283,9 @@ Style/HashExcept:
1273
1283
  Style/HashLikeCase:
1274
1284
  Enabled: false
1275
1285
 
1286
+ Style/HashSlice:
1287
+ Enabled: true
1288
+
1276
1289
  Style/HashSyntax:
1277
1290
  Enabled: true
1278
1291
  EnforcedStyle: ruby19_no_mixed_keys
@@ -1323,6 +1336,9 @@ Style/InvertibleUnlessCondition:
1323
1336
  Style/IpAddresses:
1324
1337
  Enabled: false
1325
1338
 
1339
+ Style/ItAssignment:
1340
+ Enabled: true
1341
+
1326
1342
  Style/KeywordArgumentsMerging:
1327
1343
  Enabled: false
1328
1344
 
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
@@ -11,7 +11,7 @@ module RubyLsp
11
11
  def activate(global_state, message_queue)
12
12
  @logger = ::Standard::Lsp::Logger.new(prefix: "[Standard Ruby]")
13
13
  @logger.puts "Activating Standard Ruby LSP addon v#{::Standard::VERSION}"
14
- RuboCop::LSP.enable
14
+ ::RuboCop::LSP.enable
15
15
  @wraps_built_in_lsp_standardizer = WrapsBuiltinLspStandardizer.new
16
16
  global_state.register_formatter("standard", @wraps_built_in_lsp_standardizer)
17
17
  register_additional_file_watchers(global_state, message_queue)
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.43.0")
2
+ VERSION = Gem::Version.new("1.45.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.69.1"
24
+ spec.add_dependency "rubocop", "~> 1.71.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,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-11 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rubocop
@@ -16,14 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 1.69.1
18
+ version: 1.71.0
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 1.69.1
25
+ version: 1.71.0
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: lint_roller
29
28
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +79,6 @@ dependencies:
80
79
  - - "~>"
81
80
  - !ruby/object:Gem::Version
82
81
  version: 3.17.0.2
83
- description:
84
82
  email:
85
83
  - searls@gmail.com
86
84
  executables:
@@ -174,7 +172,6 @@ metadata:
174
172
  source_code_uri: https://github.com/standardrb/standard
175
173
  changelog_uri: https://github.com/standardrb/standard/blob/main/CHANGELOG.md
176
174
  rubygems_mfa_required: 'true'
177
- post_install_message:
178
175
  rdoc_options: []
179
176
  require_paths:
180
177
  - lib
@@ -189,8 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
186
  - !ruby/object:Gem::Version
190
187
  version: '0'
191
188
  requirements: []
192
- rubygems_version: 3.4.10
193
- signing_key:
189
+ rubygems_version: 3.6.2
194
190
  specification_version: 4
195
191
  summary: Ruby Style Guide, with linter & automatic code fixer
196
192
  test_files: []