Skip to content

Commit 3dd4a5d

Browse files
authored
Upgrade Ruby LSP requirement to v0.18 (#457)
* Upgrade ruby-lsp requirement to v0.18 * Re-generate gem RBIs * Fix breaking change for comments type
1 parent 56aebd7 commit 3dd4a5d

File tree

95 files changed

+12470
-15131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+12470
-15131
lines changed

Gemfile.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
ruby-lsp-rails (0.3.15)
5-
ruby-lsp (>= 0.17.12, < 0.18.0)
5+
ruby-lsp (>= 0.18.0, < 0.19.0)
66

77
GEM
88
remote: https://rubygems.org/
@@ -110,7 +110,7 @@ GEM
110110
reline (>= 0.4.2)
111111
json (2.7.2)
112112
language_server-protocol (3.17.0.3)
113-
logger (1.6.0)
113+
logger (1.6.1)
114114
loofah (2.22.0)
115115
crass (~> 1.0.2)
116116
nokogiri (>= 1.12.0)
@@ -148,7 +148,7 @@ GEM
148148
parser (3.3.1.0)
149149
ast (~> 2.4.1)
150150
racc
151-
prism (0.30.0)
151+
prism (1.0.0)
152152
psych (5.1.2)
153153
stringio
154154
public_suffix (5.0.5)
@@ -194,10 +194,10 @@ GEM
194194
zeitwerk (~> 2.6)
195195
rainbow (3.1.1)
196196
rake (13.2.1)
197-
rbi (0.1.13)
198-
prism (>= 0.18.0, < 1.0.0)
197+
rbi (0.2.0)
198+
prism (~> 1.0)
199199
sorbet-runtime (>= 0.5.9204)
200-
rbs (3.5.2)
200+
rbs (3.5.3)
201201
logger
202202
rdoc (6.6.3.1)
203203
psych (>= 4.0.0)
@@ -228,9 +228,9 @@ GEM
228228
rubocop (~> 1.51)
229229
rubocop-sorbet (0.8.3)
230230
rubocop (>= 0.90.0)
231-
ruby-lsp (0.17.12)
231+
ruby-lsp (0.18.0)
232232
language_server-protocol (~> 3.17.0)
233-
prism (>= 0.29.0, < 0.31)
233+
prism (~> 1.0)
234234
rbs (>= 3, < 4)
235235
sorbet-runtime (>= 0.5.10782)
236236
ruby-progressbar (1.13.0)
@@ -254,11 +254,11 @@ GEM
254254
sqlite3 (1.7.3-x86_64-linux)
255255
stringio (3.1.0)
256256
strscan (3.1.0)
257-
tapioca (0.13.3)
257+
tapioca (0.16.2)
258258
bundler (>= 2.2.25)
259259
netrc (>= 0.11.0)
260260
parallel (>= 1.21.0)
261-
rbi (>= 0.1.4, < 0.2)
261+
rbi (~> 0.2)
262262
sorbet-static-and-runtime (>= 0.5.11087)
263263
spoom (>= 1.2.0)
264264
thor (>= 1.2.0)

lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def handle_association(index, owner, node, file_path)
5959
file_path,
6060
name_arg.location,
6161
name_arg.location,
62-
[],
62+
nil,
6363
[RubyIndexer::Entry::Signature.new([])],
6464
RubyIndexer::Entry::Visibility::PUBLIC,
6565
owner,
@@ -71,7 +71,7 @@ def handle_association(index, owner, node, file_path)
7171
file_path,
7272
name_arg.location,
7373
name_arg.location,
74-
[],
74+
nil,
7575
[RubyIndexer::Entry::Signature.new([RubyIndexer::Entry::RequiredParameter.new(name: name.to_sym)])],
7676
RubyIndexer::Entry::Visibility::PUBLIC,
7777
owner,

ruby-lsp-rails.gemspec

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

26-
spec.add_dependency("ruby-lsp", ">= 0.17.12", "< 0.18.0")
26+
spec.add_dependency("ruby-lsp", ">= 0.18.0", "< 0.19.0")
2727
end

sorbet/rbi/gems/[email protected]

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sorbet/rbi/gems/[email protected]

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sorbet/rbi/gems/[email protected]

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)