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.

@@ -1,3 +1,7 @@
1
+ === 0.7.4 2010-06-15
2
+ * 1 minor enhancement
3
+ * bug fix for rvm ruby installs incorrectly detected as 32bit
4
+
1
5
  === 0.7.3 2010-06-15
2
6
  * 2 minor enhancements
3
7
  * don't catch SystemExit and NoMemoryError
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.3"
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 darwin? && !rubinius?
25
- x86_64_from_arch_flag
20
+ if rubinius?
21
+ x86_64_from_build_cpu || x86_64_from_arch_flag
26
22
  else
27
- x86_64_from_build_cpu || x86_64_from_byte_length
23
+ x86_64_from_byte_length
28
24
  end
29
25
  end
30
26
 
data/lib/v8.rb CHANGED
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module V8
5
- VERSION = '0.7.3'
5
+ VERSION = '0.7.4'
6
6
  require 'v8/v8' #native glue
7
7
  require 'v8/to'
8
8
  require 'v8/context'
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{therubyracer}
5
- s.version = "0.7.3"
5
+ s.version = "0.7.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Charles Lowell", "Bill Robertson"]
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: 5
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 3
10
- version: 0.7.3
9
+ - 4
10
+ version: 0.7.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Charles Lowell