ruby-lsp-rspec 0.1.10 → 0.1.12

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: 14dfb45f32aa9c2a4041da7e65a851fb7c78928ec3fe29663092b2511c186ada
4
- data.tar.gz: 382982a793771a83e0ac9da31756244eca80750b1f35d7ed146fe01c3168514b
3
+ metadata.gz: 031e8a75633805bc1e2f6190b351d958c813ab1f7bdefce8bff97b002856c9bf
4
+ data.tar.gz: bae3682238d0fe5f8265c8659c11e9dc85f4db2d2906aea66bec9707bd26c72e
5
5
  SHA512:
6
- metadata.gz: e9404a0138a746c552480bada9b04869a2a3f2935db75a785669a0bbb9c15f5d87f25c3e11b16041f87c5bb432693afc8e960abab05b1b9efd43b040050f090a
7
- data.tar.gz: 22abcfadc79d4de2aecca269cce28ec987f64ee20df4afdc94fc334d565bc524ca8afaf384cf6a50481705762653e5633b2a9eff2e3f23f56b91753702354c55
6
+ metadata.gz: 3c6543ea11e0d836c8ddebd24f0a9a66826491a3fc83d603bd970d445a73a0736d33a70d0a7e5b481a0aa644e349e78208e4babc1192d13d9f73b92cb4400761
7
+ data.tar.gz: c16727cafdfe3974a20a96c31878db63a320b001bc6c163ff1530f0830a0905d6439085451c89372da6e06339d6ea0dcd1f9eaa221ef7b2f3d2e500c3ba20f8a
@@ -12,8 +12,8 @@ module RubyLsp
12
12
  class Addon < ::RubyLsp::Addon
13
13
  extend T::Sig
14
14
 
15
- sig { override.params(message_queue: Thread::Queue).void }
16
- def activate(message_queue); end
15
+ sig { override.params(global_state: GlobalState, message_queue: Thread::Queue).void }
16
+ def activate(global_state, message_queue); end
17
17
 
18
18
  sig { override.void }
19
19
  def deactivate; end
@@ -23,13 +23,13 @@ module RubyLsp
23
23
  override.params(
24
24
  response_builder: ResponseBuilders::CollectionResponseBuilder[Interface::CodeLens],
25
25
  uri: URI::Generic,
26
- emitter: Prism::Dispatcher,
26
+ dispatcher: Prism::Dispatcher,
27
27
  ).void
28
28
  end
29
- def create_code_lens_listener(response_builder, uri, emitter)
29
+ def create_code_lens_listener(response_builder, uri, dispatcher)
30
30
  return unless uri.to_standardized_path&.end_with?("_test.rb") || uri.to_standardized_path&.end_with?("_spec.rb")
31
31
 
32
- CodeLens.new(response_builder, uri, emitter)
32
+ CodeLens.new(response_builder, uri, dispatcher)
33
33
  end
34
34
 
35
35
  sig do
@@ -3,6 +3,6 @@
3
3
 
4
4
  module RubyLsp
5
5
  module RSpec
6
- VERSION = "0.1.10"
6
+ VERSION = "0.1.12"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lsp-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Lo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-10 00:00:00.000000000 Z
11
+ date: 2024-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-lsp
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.17.0
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: 0.14.0
26
+ version: 0.17.0
27
27
  description: RSpec addon for ruby-lsp
28
28
  email:
29
29
  - stan001212@gmail.com
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.5.1
68
+ rubygems_version: 3.5.7
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: RSpec addon for ruby-lsp