binaryen 1.1.6.11 → 1.1.6.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/binaryen/command.rb +3 -3
- data/lib/binaryen/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: aeb3dcecc8a8a66da44273ff8440bb951eae7bb2abb227b754dd78e7b2b24ae4
|
4
|
+
data.tar.gz: 2154294d63c97358fdf3f1dcbd25e7afe92368d05bb3fb12299e6ffeee088420
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff121e7ba9acbe92590726f82ea50d5f5a31e2c7c0225a973fb6f34ba22f17d2da8315666d4ab5e84482efe0cdcb685a952a0dc9062fd313a9bdcac737e81cc5
|
7
|
+
data.tar.gz: 268acda447d3979778e7c391ff659da4c798e48da5a952d021aa74761630ab62be2631970cfae12b48c4afd97442dab195c1cc7630f55efaf79842c73271654f
|
data/lib/binaryen/command.rb
CHANGED
@@ -37,8 +37,10 @@ module Binaryen
|
|
37
37
|
IO.pipe do |in_read, in_write|
|
38
38
|
in_read.binmode
|
39
39
|
in_write.binmode
|
40
|
+
in_write.sync = true
|
41
|
+
in_write.write(stdin) if stdin
|
40
42
|
|
41
|
-
Tempfile.create("binaryen") do |tmpfile|
|
43
|
+
Tempfile.create("binaryen-output") do |tmpfile|
|
42
44
|
tmpfile.close
|
43
45
|
|
44
46
|
File.open(File::NULL, "w") do |devnull|
|
@@ -46,8 +48,6 @@ module Binaryen
|
|
46
48
|
pid = POSIX::Spawn.pspawn(*args, "--output=#{tmpfile.path}", in: in_read, out: devnull, err: err_write)
|
47
49
|
in_read.close
|
48
50
|
err_write.close
|
49
|
-
|
50
|
-
in_write.write(stdin) if stdin
|
51
51
|
in_write.close
|
52
52
|
|
53
53
|
_, status = Process.waitpid2(pid)
|
data/lib/binaryen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: binaryen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.6.
|
4
|
+
version: 1.1.6.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: posix-spawn
|