ruby-lsp-rspec 0.1.20 → 0.1.21
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/document_symbol.rb +2 -2
- data/lib/ruby_lsp_rspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f01b37d539883d5abc213c66cba4c967c362ae8722a9e8c1afb4b8b39c4d069
|
4
|
+
data.tar.gz: 418b518147829b9770d22b64b9c64ec89efc8f699c6b266be5be29ad08f98bc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf2cad39b55746c3f1078235670b02e0d7dd1840327b873e19919828f3f5ac5e98929958254952089235ef0849cf52d5b2434988a2461bb70eddd406898d37fe
|
7
|
+
data.tar.gz: cb4e6d74c193c5b0cd876f88d8ae6948563f7c40c988729f9d18f94e951f3517df04e3de94d40dded9e0d5f04b788497272f86443a129385ea4ded8f328b5a60
|
@@ -34,7 +34,7 @@ module RubyLsp
|
|
34
34
|
selection_range: range_from_node(node),
|
35
35
|
range: range_from_node(node),
|
36
36
|
)
|
37
|
-
when "context", "describe"
|
37
|
+
when "context", "describe", "shared_examples", "shared_context", "shared_examples_for"
|
38
38
|
return if node.receiver && node.receiver&.slice != "RSpec"
|
39
39
|
|
40
40
|
name = generate_name(node)
|
@@ -57,7 +57,7 @@ module RubyLsp
|
|
57
57
|
sig { params(node: Prism::CallNode).void }
|
58
58
|
def on_call_node_leave(node)
|
59
59
|
case node.message
|
60
|
-
when "context", "describe"
|
60
|
+
when "context", "describe", "shared_examples", "shared_context", "shared_examples_for"
|
61
61
|
return if node.receiver && node.receiver&.slice != "RSpec"
|
62
62
|
|
63
63
|
@response_builder.pop
|
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.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stan Lo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-lsp
|