therubyracer 0.4.9-x86-linux → 0.5.0-x86-linux

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,5 +1,13 @@
1
+ === 0.5.0 2010-02-17
2
+ * 1 major enhancement
3
+ * support for Linux 64 bit
4
+
5
+ === 0.4.9 2010-02-16
6
+ * 1 major enhancement
7
+ * support for Linux 32 bit
8
+
1
9
  === 0.4.8 2010-02-08
2
- * 1 major enhancements
10
+ * 1 major enhancement
3
11
  * expose line number and source name on JavascriptErrors.
4
12
 
5
13
  === 0.4.5 2010-01-18
@@ -122,6 +122,7 @@ exposed by default. E.g.
122
122
  == REQUIREMENTS:
123
123
 
124
124
  * python >= 2.5 (required to compile v8)
125
+ * C++ compiler
125
126
 
126
127
  == INSTALL:
127
128
  * gem install therubyracer
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ begin
9
9
  require 'jeweler'
10
10
  Jeweler::Tasks.new do |gemspec|
11
11
  gemspec.name = gemspec.rubyforge_project = "therubyracer"
12
- gemspec.version = "0.4.9"
12
+ gemspec.version = "0.5.0"
13
13
  gemspec.summary = "Embed the V8 Javascript interpreter into Ruby"
14
14
  gemspec.description = "Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript."
15
15
  gemspec.email = "cowboyd@thefrontside.net"
@@ -13,7 +13,7 @@ have_library('v8') or raise "Unable to find libv8 in #{BUILD}, was there an erro
13
13
 
14
14
  $CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
15
15
 
16
- CONFIG['LDSHARED'] = '$(CXX) -shared'
16
+ CONFIG['LDSHARED'] = '$(CXX) -shared' unless RUBY_PLATFORM =~ /darwin/
17
17
 
18
18
  create_makefile('v8')
19
19
 
@@ -18,6 +18,7 @@ $(SCONS): $(SCONSSRC)
18
18
  $(V8SRC): build
19
19
  cp -r 2.0.6 build/v8
20
20
  patch -td build/v8 -i ../../no-strict-aliasing.patch
21
+ patch -td build/v8 -i ../../fpic-on-linux-amd64.patch
21
22
 
22
23
  $(SCONSSRC): build
23
24
  cp -r scons build
@@ -0,0 +1,13 @@
1
+ --- SConstruct
2
+ +++ SConstruct
3
+ @@ -139,6 +139,10 @@ LIBRARY_FLAGS = {
4
+ 'library:shared': {
5
+ 'CPPDEFINES': ['V8_SHARED'],
6
+ 'LIBS': ['pthread']
7
+ + },
8
+ + 'arch:x64': {
9
+ + 'CCFLAGS': ['-fPIC'],
10
+ + 'CXXFLAGS': ['-fPIC']
11
+ }
12
+ },
13
+ 'os:macos': {
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.4.9'
5
+ VERSION = '0.5.0'
6
6
  require 'v8/v8' #native glue
7
7
  require 'v8/to'
8
8
  require 'v8/context'
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{therubyracer}
8
- s.version = "0.4.9"
8
+ s.version = "0.5.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Charles Lowell", "Bill Robertson"]
@@ -412,6 +412,7 @@ Gem::Specification.new do |s|
412
412
  "ext/v8/upstream/2.0.6/tools/windows-tick-processor.bat",
413
413
  "ext/v8/upstream/2.0.6/tools/windows-tick-processor.py",
414
414
  "ext/v8/upstream/Makefile",
415
+ "ext/v8/upstream/fpic-on-linux-amd64.patch",
415
416
  "ext/v8/upstream/no-strict-aliasing.patch",
416
417
  "ext/v8/upstream/scons/CHANGES.txt",
417
418
  "ext/v8/upstream/scons/LICENSE.txt",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: therubyracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.5.0
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Charles Lowell
@@ -602,6 +602,7 @@ files:
602
602
  - ext/v8/upstream/2.0.6/tools/visual_studio/v8_arm.sln
603
603
  - ext/v8/upstream/2.0.6/src/allocation.cc
604
604
  - ext/v8/v8_script.h
605
+ - ext/v8/upstream/fpic-on-linux-amd64.patch
605
606
  - ext/v8/upstream/2.0.6/src/ia32/jump-target-ia32.cc
606
607
  - ext/v8/upstream/scons/engine/SCons/Executor.py
607
608
  - ext/v8/upstream/2.0.6/src/arm/builtins-arm.cc