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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcc390efb4feaaae45f6debf661965c3065c479fe6519f53dfab3f52a076c80d
4
- data.tar.gz: 3b427365fa10bae114a9cb3dbfb8d7f6e58ba4ac0612ce4e17854cdb7d548111
3
+ metadata.gz: 5f01b37d539883d5abc213c66cba4c967c362ae8722a9e8c1afb4b8b39c4d069
4
+ data.tar.gz: 418b518147829b9770d22b64b9c64ec89efc8f699c6b266be5be29ad08f98bc3
5
5
  SHA512:
6
- metadata.gz: 7f71602ea415b7627ddb05f08cb5894e1a3454003e54d8b618791a301807b09615e71055d8792cd49b939e056803dc564f16d3de668290ad801cdf2b61b9e166
7
- data.tar.gz: e7935a4470bbf7f0af4511b3bfae48d5d0e282b27f700f7d208a37a70a2f6ceca371cc81c1ac0c5471d78a4bf9737774698967bed8d4913171f50f582bfd9ab5
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
@@ -3,6 +3,6 @@
3
3
 
4
4
  module RubyLsp
5
5
  module RSpec
6
- VERSION = "0.1.20"
6
+ VERSION = "0.1.21"
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.20
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-07 00:00:00.000000000 Z
11
+ date: 2025-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-lsp