Skip to content

Commit 21b5123

Browse files
committed
Bump development gems, Tapioca, and Ruby LSP
1 parent cf92404 commit 21b5123

Some content is hidden

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

52 files changed

+28628
-21667
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ gem "rubocop-shopify", "~> 2.14", require: false
1515
gem "rubocop-rake", "~> 0.6.0", require: false
1616
gem "rubocop-sorbet", "~> 0.7", require: false
1717

18-
gem "sorbet-static-and-runtime", platforms: :ruby
18+
gem "sorbet-static", platforms: :ruby
1919
gem "tapioca", "~> 0.11", require: false, platforms: :ruby
2020

2121
gem "debug"

Gemfile.lock

Lines changed: 47 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@ PATH
22
remote: .
33
specs:
44
ruby-lsp-rspec (0.1.25)
5-
ruby-lsp (~> 0.24.0)
5+
ruby-lsp (~> 0.25.0)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
1010
ast (2.4.3)
11-
benchmark (0.4.0)
11+
benchmark (0.4.1)
1212
date (3.4.1)
13-
debug (1.10.0)
13+
debug (1.11.0)
1414
irb (~> 1.10)
1515
reline (>= 0.3.8)
16-
diff-lcs (1.6.1)
16+
diff-lcs (1.6.2)
17+
erb (5.0.2)
1718
erubi (1.13.1)
18-
io-console (0.8.0)
19+
io-console (0.8.1)
1920
irb (1.15.2)
2021
pp (>= 0.6.0)
2122
rdoc (>= 4.0.0)
2223
reline (>= 0.4.2)
23-
json (2.11.3)
24+
json (2.13.0)
2425
language_server-protocol (3.17.0.5)
2526
lint_roller (1.1.0)
2627
logger (1.7.0)
@@ -33,88 +34,94 @@ GEM
3334
prettyprint
3435
prettyprint (0.2.0)
3536
prism (1.4.0)
36-
psych (5.2.3)
37+
psych (5.2.6)
3738
date
3839
stringio
3940
racc (1.8.1)
4041
rainbow (3.1.1)
41-
rake (13.2.1)
42-
rbi (0.3.2)
42+
rake (13.3.0)
43+
rbi (0.3.6)
4344
prism (~> 1.0)
4445
rbs (>= 3.4.4)
45-
sorbet-runtime (>= 0.5.9204)
46-
rbs (3.9.3)
46+
rbs (4.0.0.dev.4)
4747
logger
48-
rdoc (6.13.1)
48+
prism (>= 1.3.0)
49+
rdoc (6.14.2)
50+
erb
4951
psych (>= 4.0.0)
5052
regexp_parser (2.10.0)
5153
reline (0.6.1)
5254
io-console (~> 0.5)
53-
rspec (3.13.0)
55+
require-hooks (0.2.2)
56+
rexml (3.4.1)
57+
rspec (3.13.1)
5458
rspec-core (~> 3.13.0)
5559
rspec-expectations (~> 3.13.0)
5660
rspec-mocks (~> 3.13.0)
57-
rspec-core (3.13.3)
61+
rspec-core (3.13.5)
5862
rspec-support (~> 3.13.0)
59-
rspec-expectations (3.13.3)
63+
rspec-expectations (3.13.5)
6064
diff-lcs (>= 1.2.0, < 2.0)
6165
rspec-support (~> 3.13.0)
62-
rspec-mocks (3.13.2)
66+
rspec-mocks (3.13.5)
6367
diff-lcs (>= 1.2.0, < 2.0)
6468
rspec-support (~> 3.13.0)
65-
rspec-support (3.13.2)
66-
rubocop (1.75.3)
69+
rspec-support (3.13.4)
70+
rubocop (1.78.0)
6771
json (~> 2.3)
6872
language_server-protocol (~> 3.17.0.2)
6973
lint_roller (~> 1.1.0)
7074
parallel (~> 1.10)
7175
parser (>= 3.3.0.2)
7276
rainbow (>= 2.2.2, < 4.0)
7377
regexp_parser (>= 2.9.3, < 3.0)
74-
rubocop-ast (>= 1.44.0, < 2.0)
78+
rubocop-ast (>= 1.45.1, < 2.0)
7579
ruby-progressbar (~> 1.7)
7680
unicode-display_width (>= 2.4.0, < 4.0)
77-
rubocop-ast (1.44.1)
81+
rubocop-ast (1.46.0)
7882
parser (>= 3.3.7.2)
7983
prism (~> 1.4)
8084
rubocop-rake (0.6.0)
8185
rubocop (~> 1.0)
82-
rubocop-shopify (2.17.0)
86+
rubocop-shopify (2.17.1)
8387
rubocop (~> 1.62)
84-
rubocop-sorbet (0.10.0)
85-
rubocop (>= 1)
86-
ruby-lsp (0.24.0)
88+
rubocop-sorbet (0.10.5)
89+
lint_roller
90+
rubocop (>= 1.75.2)
91+
ruby-lsp (0.25.0)
8792
language_server-protocol (~> 3.17.0)
8893
prism (>= 1.2, < 2.0)
8994
rbs (>= 3, < 5)
90-
sorbet-runtime (>= 0.5.10782)
9195
ruby-progressbar (1.13.0)
92-
sorbet (0.5.12087)
93-
sorbet-static (= 0.5.12087)
94-
sorbet-runtime (0.5.12087)
95-
sorbet-static (0.5.12087-universal-darwin)
96-
sorbet-static (0.5.12087-x86_64-linux)
97-
sorbet-static-and-runtime (0.5.12087)
98-
sorbet (= 0.5.12087)
99-
sorbet-runtime (= 0.5.12087)
100-
spoom (1.6.1)
96+
sorbet (0.5.12353)
97+
sorbet-static (= 0.5.12353)
98+
sorbet-runtime (0.5.12353)
99+
sorbet-static (0.5.12353-universal-darwin)
100+
sorbet-static (0.5.12353-x86_64-linux)
101+
sorbet-static-and-runtime (0.5.12353)
102+
sorbet (= 0.5.12353)
103+
sorbet-runtime (= 0.5.12353)
104+
spoom (1.7.5)
101105
erubi (>= 1.10.0)
102106
prism (>= 0.28.0)
103-
rbi (>= 0.2.3)
107+
rbi (>= 0.3.3)
108+
rbs (>= 4.0.0.dev.4)
109+
rexml (>= 3.2.6)
104110
sorbet-static-and-runtime (>= 0.5.10187)
105111
thor (>= 0.19.2)
106112
stringio (3.1.7)
107-
tapioca (0.16.11)
113+
tapioca (0.17.7)
108114
benchmark
109115
bundler (>= 2.2.25)
110116
netrc (>= 0.11.0)
111117
parallel (>= 1.21.0)
112-
rbi (~> 0.2)
118+
rbi (>= 0.3.1)
119+
require-hooks (>= 0.2.2)
113120
sorbet-static-and-runtime (>= 0.5.11087)
114-
spoom (>= 1.2.0)
121+
spoom (>= 1.7.0)
115122
thor (>= 1.2.0)
116123
yard-sorbet
117-
thor (1.3.2)
124+
thor (1.4.0)
118125
unicode-display_width (3.1.4)
119126
unicode-emoji (~> 4.0, >= 4.0.4)
120127
unicode-emoji (4.0.4)
@@ -137,7 +144,7 @@ DEPENDENCIES
137144
rubocop-shopify (~> 2.14)
138145
rubocop-sorbet (~> 0.7)
139146
ruby-lsp-rspec!
140-
sorbet-static-and-runtime
147+
sorbet-static
141148
tapioca (~> 0.11)
142149

143150
BUNDLED WITH

lib/ruby_lsp/ruby_lsp_rspec/test_discovery.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,22 @@ def on_call_node_leave(node)
4848

4949
private
5050

51-
#: (Prism::CallNode) -> String?
51+
#: (Prism::CallNode) -> String
5252
def extract_description(node)
53-
# Try to extract the description from a string literal argument
53+
# Try to extract the description from the argument
5454
first_arg = node.arguments&.arguments&.first
55-
return "example at #{relative_location(node)}" if first_arg.nil?
5655

5756
case first_arg
5857
when Prism::StringNode
5958
first_arg.content
6059
when Prism::SymbolNode
61-
first_arg.value
60+
first_arg.value.to_s
6261
when Prism::ConstantReadNode
6362
first_arg.name.to_s
6463
when Prism::ConstantPathNode
6564
first_arg.full_name
65+
else
66+
"example at #{relative_location(node)}"
6667
end
6768
end
6869

ruby-lsp-rspec.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ Gem::Specification.new do |spec|
4141
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
4242
spec.require_paths = ["lib"]
4343

44-
spec.add_dependency "ruby-lsp", "~> 0.24.0"
44+
spec.add_dependency "ruby-lsp", "~> 0.25.0"
4545
end

sorbet/config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
.
33
--ignore=tmp/
44
--ignore=vendor/
5-
--enable-experimental-rbs-signatures
6-
--enable-experimental-rbs-assertions
5+
--enable-experimental-rbs-comments

sorbet/rbi/gems/[email protected]

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)