libv8 3.11.8.13-x86-linux → 3.11.8.17-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,7 @@ module Libv8
20
20
  Object.const_defined?(:RUBY_ENGINE) && RUBY_ENGINE == "rbx"
21
21
  end
22
22
 
23
+ # TODO fix false positive on 64-bit ARM
23
24
  def x64?
24
25
  if rubinius?
25
26
  x86_64_from_build_cpu || x86_64_from_arch_flag
@@ -28,8 +29,15 @@ module Libv8
28
29
  end
29
30
  end
30
31
 
32
+ def arm?
33
+ RbConfig::MAKEFILE_CONFIG['build_cpu'] == 'arm'
34
+ end
35
+
31
36
  def libv8_arch
32
- x64? ? "x64" : "ia32"
37
+ if arm? then "arm"
38
+ elsif x64? then "x64"
39
+ else "ia32"
40
+ end
33
41
  end
34
42
  end
35
- end
43
+ end
@@ -1,3 +1,3 @@
1
1
  module Libv8
2
- VERSION = "3.11.8.13"
2
+ VERSION = "3.11.8.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libv8
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.11.8.13
4
+ version: 3.11.8.17
5
5
  prerelease:
6
6
  platform: x86-linux
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-09 00:00:00.000000000 Z
12
+ date: 2013-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -116,7 +116,8 @@ files:
116
116
  - vendor/v8/out/ia32.release/obj.target/tools/gyp/libv8_snapshot.a
117
117
  - vendor/v8/out/ia32.release/obj.target/tools/gyp/libv8_nosnapshot.a
118
118
  homepage: http://github.com/cowboyd/libv8
119
- licenses: []
119
+ licenses:
120
+ - MIT
120
121
  post_install_message:
121
122
  rdoc_options: []
122
123
  require_paths:
@@ -130,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
131
  version: '0'
131
132
  segments:
132
133
  - 0
133
- hash: 794010317
134
+ hash: -96606799
134
135
  required_rubygems_version: !ruby/object:Gem::Requirement
135
136
  none: false
136
137
  requirements:
@@ -139,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
140
  version: '0'
140
141
  segments:
141
142
  - 0
142
- hash: 794010317
143
+ hash: -96606799
143
144
  requirements: []
144
145
  rubyforge_project: libv8
145
146
  rubygems_version: 1.8.24