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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4deece72e6d02478b4381a59ab9b1988a2fbff6a30e811596183240699fd018
4
- data.tar.gz: ac83f077c9b56423cd8b8e716d8102bec73050c8a4ae0e525fda931f43ec6762
3
+ metadata.gz: e9e870a1d368e787e6167175e594568c56e5449e089a85bb01227b7ed70298c6
4
+ data.tar.gz: 495a6431469a28b284238086ac44a98bf97599d480378fd29ce9da36d1ce49cd
5
5
  SHA512:
6
- metadata.gz: cad6011c1066ccc51e1c3bfe3064c50e7dbdc6dd04127ce24f855a97f9ba8fd492a5de3b1af54b810b4a112d74f03bcd746c8d95af822a5f9d59e8cd9cdce8a2
7
- data.tar.gz: f985a398202455acfadd914606306d5469928bfbf69394fd39b5a79b097f81a6994bf4875bb7765d01b4fd2797b00378a5e3d23de4a05b4d3588216e3ac59cc9
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 { |p| p.instance_eval { @os = 'linux-musl' } if str =~ /musl/ }
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}
@@ -2,6 +2,6 @@ module Sqreen
2
2
  module MiniRacer
3
3
  # part before qualifier is the number of the last upstream release
4
4
  # since we synced with it
5
- VERSION = "0.2.5.0.1.beta1"
5
+ VERSION = "0.2.5.0.1.beta2"
6
6
  end
7
7
  end
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.beta1
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-08-26 00:00:00.000000000 Z
11
+ date: 2019-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler