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 +4 -4
- data/lib/ruby_lsp/ruby_lsp_rspec/addon.rb +5 -5
- data/lib/ruby_lsp_rspec/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 031e8a75633805bc1e2f6190b351d958c813ab1f7bdefce8bff97b002856c9bf
|
4
|
+
data.tar.gz: bae3682238d0fe5f8265c8659c11e9dc85f4db2d2906aea66bec9707bd26c72e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
26
|
+
dispatcher: Prism::Dispatcher,
|
27
27
|
).void
|
28
28
|
end
|
29
|
-
def create_code_lens_listener(response_builder, uri,
|
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,
|
32
|
+
CodeLens.new(response_builder, uri, dispatcher)
|
33
33
|
end
|
34
34
|
|
35
35
|
sig do
|
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.
|
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-
|
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.
|
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.
|
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.
|
68
|
+
rubygems_version: 3.5.7
|
69
69
|
signing_key:
|
70
70
|
specification_version: 4
|
71
71
|
summary: RSpec addon for ruby-lsp
|