binaryen 1.1.6.15 → 1.1.6.17
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 +1 -3
- data/lib/binaryen/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b16e693f97b23f0da07c46f2e884edb82ef096e67e816985585f081fbb9e09
|
4
|
+
data.tar.gz: 072c182f7f718af608d17903ffd283a3f7a6d43a3d65e585eeb22a9ccd84efbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24912373fe06de1360847c8fa320a7e343d231c726ebf906d9b69175160f983a1a3ce87757657aebd902e6f5c156ec958a54388ae9e02cbb1d5fb63fb4d55768
|
7
|
+
data.tar.gz: e058ada5c15a48b0cfddc744cbb4f1ee224f36fd3babb05ccc68df64441b38581518f34a2102f02042623e0d20ac87d80c72dc0802696448760b512596e8296c
|
data/lib/binaryen/command.rb
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "posix/spawn"
|
4
3
|
require "timeout"
|
5
4
|
require "tempfile"
|
6
5
|
|
7
6
|
module Binaryen
|
8
7
|
class Command
|
9
|
-
include POSIX::Spawn
|
10
8
|
DEFAULT_MAX_OUTPUT_SIZE = 256 * 1024 * 1024 * 1024 # 256 MiB
|
11
9
|
DEFAULT_TIMEOUT = 10
|
12
10
|
DEFAULT_ARGS_FOR_COMMAND = {}.freeze
|
@@ -44,7 +42,7 @@ module Binaryen
|
|
44
42
|
|
45
43
|
File.open(File::NULL, "w") do |devnull|
|
46
44
|
IO.pipe do |err_read, err_write|
|
47
|
-
pid =
|
45
|
+
pid = Process.spawn(
|
48
46
|
*args,
|
49
47
|
"--output=#{tmpfile.path}",
|
50
48
|
in_write.path,
|
data/lib/binaryen/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
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.17
|
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-
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: posix-spawn
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.3.15
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 0.3.15
|
11
|
+
date: 2024-03-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
27
13
|
description:
|
28
14
|
email:
|
29
15
|
- gems@shopify.com
|