speednode 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/speednode/runtime/vm.rb +5 -2
- data/lib/speednode/version.rb +1 -1
- 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: e5d2a802e8fd3c7f25ef9c9dd0bef1807ec87d860da0a140f8a494868bcc2241
|
4
|
+
data.tar.gz: 4ecc3ad8b012f0f76cf583789b9f78daec2a3606b3b5d94d163c1471d2a45341
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 616c54a7dafd5c2ddd67f0479e8fa241303d97cb9b3ac560858378996e46ccc4d976d18b175ba64768b32a9d3b519cf87d61962757fe49361c44aff71f8f7812
|
7
|
+
data.tar.gz: a42e8fa9e0d825ebb7e2c0df0492286db295ce52b1d1dbfb5b459c1a1d6b79f33d4e5b255453da081408fe80a61ec4fc1876d1091eb116609d9af58ec0328f65
|
data/lib/speednode/runtime/vm.rb
CHANGED
@@ -151,10 +151,11 @@ module Speednode
|
|
151
151
|
@socket_dir = nil
|
152
152
|
@socket_path = SecureRandom.uuid
|
153
153
|
else
|
154
|
-
@socket_dir = Dir.mktmpdir("
|
154
|
+
@socket_dir = Dir.mktmpdir("speednode-")
|
155
155
|
@socket_path = File.join(@socket_dir, "socket")
|
156
156
|
end
|
157
157
|
@pid = Process.spawn({"SOCKET_PATH" => @socket_path}, @options[:binary], '--expose-gc', @options[:source_maps], @options[:runner_path])
|
158
|
+
Process.detach(@pid)
|
158
159
|
|
159
160
|
retries = 500
|
160
161
|
|
@@ -183,7 +184,9 @@ module Speednode
|
|
183
184
|
|
184
185
|
@started = true
|
185
186
|
|
186
|
-
|
187
|
+
exit_proc = self.class.finalize(@socket, @socket_dir, @socket_path, @pid)
|
188
|
+
|
189
|
+
Kernel.at_exit { exit_proc.call }
|
187
190
|
end
|
188
191
|
|
189
192
|
def create_responder(context)
|
data/lib/speednode/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speednode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|