solargraph 0.29.2 → 0.29.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e54a4cf3c7dfa6b68a345b08958c7bf2663792962ad6a9176b3cee642324278a
|
|
4
|
+
data.tar.gz: 6f494588dc4440ed5ef8d455d52e89e1626e3f5c4fdeb569a260aeba1f776418
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 448855a77c7b65ae2018f325f9d381476ac3a3bba3d3e0e3c6de0bb8961a48915218016fa4b0d09104068db82610e5eac1ca88acc75204848c441d471ded8728
|
|
7
|
+
data.tar.gz: 527b35bb211a2820acf74e18daf00097f62858911b70e2ba5b62d613a09433c0271f274b9aadef7d1b936854ce887dcf3b3e4ea91e5a7c19e6ef926fb0e0279a
|
|
@@ -21,14 +21,14 @@ module Solargraph
|
|
|
21
21
|
available = Gem::Version.new(tuple.version)
|
|
22
22
|
current = Gem::Version.new(Solargraph::VERSION)
|
|
23
23
|
if available > current
|
|
24
|
-
host.show_message_request "
|
|
24
|
+
host.show_message_request "Solargraph gem version #{available} is available.",
|
|
25
25
|
LanguageServer::MessageTypes::INFO,
|
|
26
26
|
['Update now'] do |result|
|
|
27
27
|
next unless result == 'Update now'
|
|
28
28
|
o, s = Open3.capture2("gem update solargraph")
|
|
29
29
|
if s == 0
|
|
30
30
|
host.show_message 'Successfully updated the Solargraph gem.', LanguageServer::MessageTypes::INFO
|
|
31
|
-
host.send_notification '$/solargraph/restart'
|
|
31
|
+
host.send_notification '$/solargraph/restart', {}
|
|
32
32
|
else
|
|
33
33
|
host.show_message 'An error occurred while updating the gem.', LanguageServer::MessageTypes::ERROR
|
|
34
34
|
end
|
data/lib/solargraph/version.rb
CHANGED