Skip to content

Commit 2c92b35

Browse files
authored
Bump Ruby LSP dependency to v0.17.9 (#415)
1 parent c5fd377 commit 2c92b35

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ GEM
232232
rubocop (~> 1.51)
233233
rubocop-sorbet (0.8.3)
234234
rubocop (>= 0.90.0)
235-
ruby-lsp (0.17.7)
235+
ruby-lsp (0.17.9)
236236
language_server-protocol (~> 3.17.0)
237237
prism (>= 0.29.0, < 0.31)
238238
rbs (>= 3, < 4)

test/ruby_lsp_rails/hover_test.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,14 @@ class User < ApplicationRecord
9595
RUBY
9696

9797
assert_equal(<<~CONTENT.chomp, response.contents.value)
98+
```ruby
99+
Blog::User
100+
```
101+
102+
**Definitions**: [fake.rb](file:///fake.rb#L2,3-3,6)
98103
[Schema](#{URI::Generic.from_path(path: dummy_root + "/db/schema.rb")})
99104
105+
100106
**id**: integer (PK)
101107
102108
**first_name**: string
@@ -237,7 +243,7 @@ class ActiveRecord::Base
237243
private
238244

239245
def hover_on_source(source, position)
240-
with_server(source) do |server, uri|
246+
with_server(source, stub_no_typechecker: true) do |server, uri|
241247
server.process_message(
242248
id: 1,
243249
method: "textDocument/hover",

0 commit comments

Comments
 (0)