standard 1.43.0 → 1.44.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a63a20b7b80727310a27e1943a539b1981d88c2da2bf67ae4707488809069553
4
- data.tar.gz: 8a4c8281e35dc0359c9400238c581a8c00f836528b852067d7293146153d7f99
3
+ metadata.gz: '04918992d9b58c817d0721df32755f11ab74f786a53677107c27948b8a4cf622'
4
+ data.tar.gz: ae1b3e3635588893ac5ef45915c93d3b56ab70c0e3c20638842a69835cee2243
5
5
  SHA512:
6
- metadata.gz: 9b5cac5e093cfbafceb8dce7d1f95163aa3cf76543a648715af26f15d084ea6d9a3c23fa7b221e4acd4f194cd87aed986b980573d591ffea291c3c0b77eef891
7
- data.tar.gz: f0e69c6094538f45b2d79a7cbd5dab8d88ac5ab0202ce6a01b04e3997e8de33478ed46e75d1c694ff4c6359828a4ddbbc1dc5abf211a9378d970294b923a163e
6
+ metadata.gz: dacde9282ca5358769cf0118da0a07c5e20ec53306ef83988d36c57ed05508ce1cad69be57d55b1a7bfda88300207133190d9cd150c9d6d229ecd58c273d7fcb
7
+ data.tar.gz: 8cae0bfd2fe8aeb55987fbeb64362ed7a15422ce44bda5f6d615f7ce792571cd6ed8b450423f00b77f218ce0c456cd48a095d08012578d1fee679e0533401719
@@ -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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.44.0
4
+
5
+ * Updates rubocop to [1.70.0](https://github.com/rubocop/rubocop/tree/v1.70.0)
6
+
3
7
  ## 1.43.0
4
8
 
5
9
  * 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.44.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
- rubocop (~> 1.69.1)
7
+ rubocop (~> 1.70.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.70.0)
38
38
  json (~> 2.3)
39
39
  language_server-protocol (>= 3.17.0)
40
40
  parallel (~> 1.10)
data/config/base.yml CHANGED
@@ -464,6 +464,9 @@ Lint/ConstantDefinitionInBlock:
464
464
  Lint/ConstantOverwrittenInRescue:
465
465
  Enabled: true
466
466
 
467
+ Lint/ConstantReassignment:
468
+ Enabled: true
469
+
467
470
  Lint/ConstantResolution:
468
471
  Enabled: false
469
472
 
@@ -777,6 +780,9 @@ Lint/ShadowedException:
777
780
  Lint/ShadowingOuterLocalVariable:
778
781
  Enabled: false
779
782
 
783
+ Lint/SharedMutableDefault:
784
+ Enabled: true
785
+
780
786
  Lint/StructNewOverride:
781
787
  Enabled: false
782
788
 
@@ -1323,6 +1329,9 @@ Style/InvertibleUnlessCondition:
1323
1329
  Style/IpAddresses:
1324
1330
  Enabled: false
1325
1331
 
1332
+ Style/ItAssignment:
1333
+ Enabled: true
1334
+
1326
1335
  Style/KeywordArgumentsMerging:
1327
1336
  Enabled: false
1328
1337
 
@@ -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.44.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.70.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.44.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-01-14 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.70.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.70.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: []