therubyracer 0.9.3 → 0.9.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/.gitmodules CHANGED
@@ -1,6 +1,3 @@
1
1
  [submodule "spec/redjs"]
2
2
  path = spec/redjs
3
3
  url = git://github.com/cowboyd/redjs.git
4
- [submodule "ext/v8/upstream/v8"]
5
- path = ext/v8/upstream/v8
6
- url = https://github.com/v8/v8.git
data/Changelog.md CHANGED
@@ -1,13 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.4 - 2011/08/22
3
4
 
4
- ## 0.9.3 - 20011/08/11
5
+ * Fix an issue with the compilation include paths which allowed compilation against conflicting libv8's
6
+
7
+ ## 0.9.3 - 2011/08/11
5
8
 
6
9
  * Better documentation for the C extension memory management
7
10
  * Always lock V8 operations, always.
8
11
  * GH-86 Context#[], Context#[]= always looks up values from the JavaScript scope, even when it's a Ruby object
9
12
 
10
- ## 0.9.2 - 20011/06/23
13
+ ## 0.9.2 - 2011/06/23
11
14
 
12
15
  * fix issue with 1.8.7 where object allocation inside of GC was segfaulting
13
16
 
data/ext/v8/extconf.rb CHANGED
@@ -7,12 +7,14 @@ rescue LoadError
7
7
  require 'libv8'
8
8
  end
9
9
 
10
- puts "Compiling The Ruby Racer..."
11
-
12
- find_header('v8.h', Libv8.include_path)
13
10
  have_library('pthread')
14
11
  have_library('objc') if RUBY_PLATFORM =~ /darwin/
15
12
 
13
+ #we have to manually prepend the libv8 include path to INCFLAGS
14
+ #since find_header() does not actually work as advertized.
15
+ #see https://github.com/cowboyd/therubyracer/issues/91
16
+ $INCFLAGS.insert 0, "-I#{Libv8.include_path} "
17
+
16
18
  $CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
17
19
  $CPPFLAGS += " -g" unless $CPPFLAGS.split.include? "-g"
18
20
  $CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
data/lib/v8/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module V8
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: therubyracer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.3
5
+ version: 0.9.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Charles Lowell
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-08-11 00:00:00 -05:00
14
+ date: 2011-08-22 00:00:00 -05:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -174,7 +174,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
174
174
  requirements:
175
175
  - - ">="
176
176
  - !ruby/object:Gem::Version
177
- hash: -4006705181095758895
177
+ hash: -3755092339373413303
178
178
  segments:
179
179
  - 0
180
180
  version: "0"
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ">="
185
185
  - !ruby/object:Gem::Version
186
- hash: -4006705181095758895
186
+ hash: -3755092339373413303
187
187
  segments:
188
188
  - 0
189
189
  version: "0"