ruby-lsp 0.23.3 → 0.23.4
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/base_server.rb +3 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8b49e72ac08f80faf14e0ed347d4af75f2d55b7465f14412e1e0900f422783f
|
4
|
+
data.tar.gz: 0b496376c25068929d275d71a87c414a7ecf185b3dbf6dfba27ccdc8c1b0a61f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0791955260be2f7374522ef551b0636bd87a9947b3b20818d8e0f06dc5046b0b0c7c85beb5c69af2d146c998b2ce4298d7d1bf141be4d71bc5aacf07e0f7c151'
|
7
|
+
data.tar.gz: e08f19fc4dd44035cb4e569daf1eab628caec729e903353eaf1ec97aa7644e80552fa903da4d739f696e6de704d7939aebb4685781d81a88b1375a4ab1137225
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.23.
|
1
|
+
0.23.4
|
data/lib/ruby_lsp/base_server.rb
CHANGED
@@ -100,11 +100,7 @@ module RubyLsp
|
|
100
100
|
@writer.write(Result.new(id: message[:id], response: nil).to_hash)
|
101
101
|
end
|
102
102
|
when "exit"
|
103
|
-
@global_state.synchronize
|
104
|
-
status = @incoming_queue.closed? ? 0 : 1
|
105
|
-
send_log_message("Shutdown complete with status #{status}")
|
106
|
-
exit(status)
|
107
|
-
end
|
103
|
+
@global_state.synchronize { exit(@incoming_queue.closed? ? 0 : 1) }
|
108
104
|
else
|
109
105
|
@incoming_queue << message
|
110
106
|
end
|
@@ -119,8 +115,8 @@ module RubyLsp
|
|
119
115
|
@outgoing_queue.close
|
120
116
|
@cancelled_requests.clear
|
121
117
|
|
122
|
-
@worker.
|
123
|
-
@outgoing_dispatcher.
|
118
|
+
@worker.terminate
|
119
|
+
@outgoing_dispatcher.terminate
|
124
120
|
@store.clear
|
125
121
|
end
|
126
122
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-lsp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-10 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: language_server-protocol
|