Skip to content

Commit 0b23f8d

Browse files
committed
Updates for Ruby LSP v0.23
1 parent 906212c commit 0b23f8d

35 files changed

+12980
-10019
lines changed

Gemfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
ruby-lsp-rails (0.3.27)
5-
ruby-lsp (>= 0.22.0, < 0.23.0)
5+
ruby-lsp (>= 0.23.0, < 0.24.0)
66

77
GEM
88
remote: https://rubygems.org/
@@ -102,7 +102,7 @@ GEM
102102
reline (>= 0.4.2)
103103
json (2.7.6)
104104
language_server-protocol (3.17.0.3)
105-
logger (1.6.1)
105+
logger (1.6.4)
106106
loofah (2.23.1)
107107
crass (~> 1.0.2)
108108
nokogiri (>= 1.12.0)
@@ -139,7 +139,7 @@ GEM
139139
parser (3.3.6.0)
140140
ast (~> 2.4.1)
141141
racc
142-
prism (1.2.0)
142+
prism (1.3.0)
143143
psych (5.2.0)
144144
stringio
145145
puma (6.4.3)
@@ -183,10 +183,10 @@ GEM
183183
zeitwerk (~> 2.6)
184184
rainbow (3.1.1)
185185
rake (13.2.1)
186-
rbi (0.2.1)
186+
rbi (0.2.2)
187187
prism (~> 1.0)
188188
sorbet-runtime (>= 0.5.9204)
189-
rbs (3.6.1)
189+
rbs (3.8.1)
190190
logger
191191
rdoc (6.7.0)
192192
psych (>= 4.0.0)
@@ -214,7 +214,7 @@ GEM
214214
rubocop (~> 1.51)
215215
rubocop-sorbet (0.8.7)
216216
rubocop (>= 1)
217-
ruby-lsp (0.22.0)
217+
ruby-lsp (0.23.0)
218218
language_server-protocol (~> 3.17.0)
219219
prism (>= 1.2, < 2.0)
220220
rbs (>= 3, < 4)
@@ -240,7 +240,7 @@ GEM
240240
sqlite3 (2.1.0-x86_64-darwin)
241241
sqlite3 (2.1.0-x86_64-linux-gnu)
242242
stringio (3.1.2)
243-
tapioca (0.16.3)
243+
tapioca (0.16.5)
244244
bundler (>= 2.2.25)
245245
netrc (>= 0.11.0)
246246
parallel (>= 1.21.0)
@@ -253,7 +253,7 @@ GEM
253253
timeout (0.4.2)
254254
tzinfo (2.0.6)
255255
concurrent-ruby (~> 1.0)
256-
tzinfo-data (1.2024.1)
256+
tzinfo-data (1.2024.2)
257257
tzinfo (>= 1.0.0)
258258
unicode-display_width (2.6.0)
259259
uri (1.0.1)

lib/ruby_lsp/ruby_lsp_rails/definition.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def collect_definitions(name)
145145

146146
methods.each do |target_method|
147147
location = target_method.location
148-
file_path = target_method.file_path
148+
file_path = T.must(target_method.file_path)
149149

150150
@response_builder << Interface::Location.new(
151151
uri: URI::Generic.from_path(path: file_path).to_s,

ruby-lsp-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
2424
Dir["lib/**/*", "LICENSE.txt", "Rakefile", "README.md"]
2525
end
2626

27-
spec.add_dependency("ruby-lsp", ">= 0.22.0", "< 0.23.0")
27+
spec.add_dependency("ruby-lsp", ">= 0.23.0", "< 0.24.0")
2828
end

0 commit comments

Comments
 (0)