sq_mini_racer 0.2.5.0.1.beta1 → 0.2.5.0.1.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/mini_racer_extension/extconf.rb +5 -2
- data/lib/sqreen/mini_racer/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: e9e870a1d368e787e6167175e594568c56e5449e089a85bb01227b7ed70298c6
|
4
|
+
data.tar.gz: 495a6431469a28b284238086ac44a98bf97599d480378fd29ce9da36d1ce49cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2f8dcc7ff101baaf91ee04c676a577005b986ddfe3e98bf6bd8bbf8611071b680cddaee5a009333d278e7fd469d040365c31021a86a2e5575cf31dbcf8cd193
|
7
|
+
data.tar.gz: aeca0ece81c19a06e54651abf2bf19611b9a0db2014840600e439a2a01377d3277c95a19773b93521f3a64d09890dd8b3931e2be99d098dca59df2ee1cf5a231
|
@@ -91,7 +91,10 @@ def libv8_vendor_path
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def parse_platform(str)
|
94
|
-
Gem::Platform.new(str).tap
|
94
|
+
Gem::Platform.new(str).tap do |p|
|
95
|
+
p.instance_eval { @os = 'linux-musl' } if str =~ /musl/
|
96
|
+
p.instance_eval { @cpu = 'x86_64' } if str =~ /universal.*darwin/
|
97
|
+
end
|
95
98
|
end
|
96
99
|
|
97
100
|
def ruby_platform
|
@@ -120,7 +123,7 @@ def libv8_remote_search
|
|
120
123
|
ERROR
|
121
124
|
|
122
125
|
platform_versions = versions.select do |v|
|
123
|
-
parse_platform(v['platform']) == ruby_platform
|
126
|
+
parse_platform(v['platform']) == ruby_platform unless v['platform'] =~ /universal.*darwin/
|
124
127
|
end
|
125
128
|
abort(<<-ERROR) if platform_versions.empty?
|
126
129
|
ERROR: found #{libv8_gem_name}-#{libv8_version}, but no binary for #{ruby_platform}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sq_mini_racer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.5.0.1.
|
4
|
+
version: 0.2.5.0.1.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|