ruby-lsp 0.21.0 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/ruby_lsp/global_state.rb +5 -0
- data/lib/ruby_lsp/setup_bundler.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c270ba4b6a7348ccb821e1bae776f4bd9ac704973b251791d2104d79861878c1
|
4
|
+
data.tar.gz: 5d27d76eca727dca7e439aa177db04fb3ec17e1169c19a267ba2cffc8f9e19a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8502d09966be4e7ec79c276b4d078edc0f4e150c86ff24bb6e6f5b9c28e4f89393760983b7344c108e356a5bc79daa314806c69b81441338465b00f8bb693cc1
|
7
|
+
data.tar.gz: 0d84c86826022c8e71311bef8070f8b5364cd45f10f242fcb5b8cf96f9dd391a9a45a034b264ee8b2cec236ce69257a1a102d9e769bbdf3b8c0dc9baff8650e9
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.21.
|
1
|
+
0.21.1
|
@@ -159,6 +159,11 @@ module RubyLsp
|
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
162
|
+
sig { returns(T::Boolean) }
|
163
|
+
def supports_watching_files
|
164
|
+
@client_capabilities.supports_watching_files
|
165
|
+
end
|
166
|
+
|
162
167
|
private
|
163
168
|
|
164
169
|
sig { params(direct_dependencies: T::Array[String], all_dependencies: T::Array[String]).returns(String) }
|
@@ -359,6 +359,9 @@ module RubyLsp
|
|
359
359
|
else
|
360
360
|
match
|
361
361
|
end
|
362
|
+
rescue URI::InvalidURIError, URI::InvalidComponentError
|
363
|
+
# If the path raises an invalid error, it might be a git ssh path, which indeed isn't a URI
|
364
|
+
match
|
362
365
|
end
|
363
366
|
|
364
367
|
@custom_lockfile.write(content)
|