therubyracer 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of therubyracer might be problematic. Click here for more details.
- data/History.txt +4 -0
- data/Rakefile +1 -1
- data/ext/v8/upstream/detect_cpu.rb +3 -7
- data/lib/v8.rb +1 -1
- data/therubyracer.gemspec +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -7,7 +7,7 @@ manifest.exclude "lib/v8/*.bundle", "lib/v8/*.so", "ext/**/test/*", "ext/**/test
|
|
7
7
|
Gem::Specification.new do |gemspec|
|
8
8
|
$gemspec = gemspec
|
9
9
|
gemspec.name = gemspec.rubyforge_project = "therubyracer"
|
10
|
-
gemspec.version = "0.7.
|
10
|
+
gemspec.version = "0.7.4"
|
11
11
|
gemspec.summary = "Embed the V8 Javascript interpreter into Ruby"
|
12
12
|
gemspec.description = "Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript."
|
13
13
|
gemspec.email = "cowboyd@thefrontside.net"
|
@@ -12,19 +12,15 @@ def x86_64_from_arch_flag
|
|
12
12
|
RbConfig::MAKEFILE_CONFIG['ARCH_FLAG'] =~ /x86_64/
|
13
13
|
end
|
14
14
|
|
15
|
-
def darwin?
|
16
|
-
RUBY_PLATFORM =~ /darwin/
|
17
|
-
end
|
18
|
-
|
19
15
|
def rubinius?
|
20
16
|
Object.const_defined?(:RUBY_ENGINE) && RUBY_ENGINE == "rbx"
|
21
17
|
end
|
22
18
|
|
23
19
|
def x64?
|
24
|
-
if
|
25
|
-
x86_64_from_arch_flag
|
20
|
+
if rubinius?
|
21
|
+
x86_64_from_build_cpu || x86_64_from_arch_flag
|
26
22
|
else
|
27
|
-
|
23
|
+
x86_64_from_byte_length
|
28
24
|
end
|
29
25
|
end
|
30
26
|
|
data/lib/v8.rb
CHANGED
data/therubyracer.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: therubyracer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 4
|
10
|
+
version: 0.7.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Charles Lowell
|