Skip to content

Commit

Permalink
Bump ruby-lsp support to 0.23.0 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 authored Jan 7, 2025
1 parent d02eb58 commit c8e6511
Show file tree
Hide file tree
Showing 8 changed files with 6,247 additions and 3,725 deletions.
62 changes: 32 additions & 30 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,46 @@ PATH
remote: .
specs:
ruby-lsp-rspec (0.1.19)
ruby-lsp (~> 0.22.0)
ruby-lsp (~> 0.23.0)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
debug (1.9.2)
date (3.4.1)
debug (1.10.0)
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.5.1)
erubi (1.13.0)
io-console (0.7.2)
irb (1.14.1)
erubi (1.13.1)
io-console (0.8.0)
irb (1.14.3)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.8.2)
json (2.9.1)
language_server-protocol (3.17.0.3)
logger (1.6.1)
logger (1.6.4)
netrc (0.11.0)
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
racc
prism (1.2.0)
psych (5.2.0)
prism (1.3.0)
psych (5.2.2)
date
stringio
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
rbi (0.2.1)
rbi (0.2.2)
prism (~> 1.0)
sorbet-runtime (>= 0.5.9204)
rbs (3.6.1)
rbs (3.8.1)
logger
rdoc (6.8.1)
rdoc (6.10.0)
psych (>= 4.0.0)
regexp_parser (2.9.2)
reline (0.5.11)
regexp_parser (2.10.0)
reline (0.6.0)
io-console (~> 0.5)
rspec (3.13.0)
rspec-core (~> 3.13.0)
Expand All @@ -53,46 +55,46 @@ GEM
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.69.0)
rspec-support (3.13.2)
rubocop (1.69.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.36.1, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.36.2)
rubocop-ast (1.37.0)
parser (>= 3.3.1.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-shopify (2.15.1)
rubocop (~> 1.51)
rubocop-sorbet (0.8.7)
rubocop (>= 1)
ruby-lsp (0.22.1)
ruby-lsp (0.23.1)
language_server-protocol (~> 3.17.0)
prism (>= 1.2, < 2.0)
rbs (>= 3, < 4)
sorbet-runtime (>= 0.5.10782)
ruby-progressbar (1.13.0)
sorbet (0.5.11670)
sorbet-static (= 0.5.11670)
sorbet-runtime (0.5.11670)
sorbet-static (0.5.11670-universal-darwin)
sorbet-static (0.5.11670-x86_64-linux)
sorbet-static-and-runtime (0.5.11670)
sorbet (= 0.5.11670)
sorbet-runtime (= 0.5.11670)
sorbet (0.5.11725)
sorbet-static (= 0.5.11725)
sorbet-runtime (0.5.11725)
sorbet-static (0.5.11725-universal-darwin)
sorbet-static (0.5.11725-x86_64-linux)
sorbet-static-and-runtime (0.5.11725)
sorbet (= 0.5.11725)
sorbet-runtime (= 0.5.11725)
spoom (1.5.0)
erubi (>= 1.10.0)
prism (>= 0.28.0)
sorbet-static-and-runtime (>= 0.5.10187)
thor (>= 0.19.2)
stringio (3.1.2)
tapioca (0.16.5)
tapioca (0.16.6)
bundler (>= 2.2.25)
netrc (>= 0.11.0)
parallel (>= 1.21.0)
Expand All @@ -102,7 +104,7 @@ GEM
thor (>= 1.2.0)
yard-sorbet
thor (1.3.2)
unicode-display_width (3.1.2)
unicode-display_width (3.1.3)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
yard (0.9.37)
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby_lsp/ruby_lsp_rspec/definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def on_call_node_enter(node)
next unless entry.file_path == @uri.to_standardized_path

@response_builder << Interface::LocationLink.new(
target_uri: URI::Generic.from_path(path: entry.file_path).to_s,
target_uri: entry.uri,
target_range: range_from_location(entry.location),
target_selection_range: range_from_location(entry.name_location),
)
Expand Down
2 changes: 1 addition & 1 deletion ruby-lsp-rspec.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "ruby-lsp", "~> 0.22.0"
spec.add_dependency "ruby-lsp", "~> 0.23.0"
end
Loading

0 comments on commit c8e6511

Please sign in to comment.