therubyracer 0.7.2.pre → 0.7.2

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 CHANGED
@@ -1,3 +1,16 @@
1
+ === 0.7.2 2010-06-14
2
+ * 5 major enhancements
3
+ * embed ruby classes as constructors
4
+ * support for rubinius
5
+ * uniform backtrace() function on JSError mixes the ruby
6
+ * String::NewSymbol() is now scriptable
7
+ * InstanceTemplate(), PrototypeTemplate(), Inherit() methods on v8::FunctionTemplate now scriptable.
8
+
9
+ * 3 minor enhancements
10
+ * reuse the standard ruby object access template
11
+ * fix a bunch of compile warnings
12
+ * Store any ruby object in V8 with V8::C::External
13
+
1
14
  === 0.7.1 2010-06-03
2
15
  * 5 major enhancements
3
16
  * Function#call() now uses the global scope for 'this' by default
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.2.pre"
10
+ gemspec.version = "0.7.2"
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"
data/ext/v8/rr.h CHANGED
@@ -28,4 +28,4 @@ VALUE rr_v82rb(int32_t value);
28
28
 
29
29
  v8::Handle<v8::Value> rr_rb2v8(VALUE value);
30
30
 
31
- #endif
31
+ #endif
data/ext/v8/v8_array.h CHANGED
@@ -5,4 +5,4 @@
5
5
 
6
6
  void rr_init_v8_array();
7
7
  VALUE rr_reflect_v8_array(v8::Handle<v8::Value> value);
8
- #endif
8
+ #endif
@@ -5,4 +5,4 @@ void rr_init_v8_callbacks();
5
5
  VALUE rr_v82rb(const v8::AccessorInfo& info);
6
6
  VALUE rr_v82rb(const v8::Arguments& arguments);
7
7
 
8
- #endif
8
+ #endif
data/ext/v8/v8_cxt.h CHANGED
@@ -3,4 +3,4 @@
3
3
 
4
4
  void rr_init_cxt();
5
5
 
6
- #endif
6
+ #endif
data/ext/v8/v8_date.h CHANGED
@@ -3,4 +3,4 @@
3
3
 
4
4
  void rr_init_v8_date();
5
5
  VALUE rr_reflect_v8_date(v8::Handle<v8::Value> value);
6
- #endif
6
+ #endif
@@ -3,4 +3,4 @@
3
3
 
4
4
  void rr_init_v8_exception();
5
5
 
6
- #endif
6
+ #endif
data/ext/v8/v8_external.h CHANGED
@@ -6,4 +6,4 @@
6
6
  void rr_init_v8_external();
7
7
  VALUE rr_reflect_v8_external(v8::Handle<v8::Value> value);
8
8
  v8::Handle<v8::Value> rr_v8_external_create(VALUE value);
9
- #endif
9
+ #endif
data/ext/v8/v8_func.h CHANGED
@@ -9,4 +9,4 @@ void rr_init_func();
9
9
 
10
10
  VALUE rr_reflect_v8_function(v8::Handle<v8::Value> value);
11
11
 
12
- #endif
12
+ #endif
data/ext/v8/v8_msg.h CHANGED
@@ -7,4 +7,4 @@
7
7
  void rr_init_msg();
8
8
  VALUE rr_reflect_v8_message(v8::Handle<v8::Message> value);
9
9
 
10
- #endif
10
+ #endif
data/ext/v8/v8_obj.h CHANGED
@@ -8,4 +8,4 @@ extern VALUE rr_cV8_C_Object;
8
8
  void rr_init_obj();
9
9
  VALUE rr_reflect_v8_object(v8::Handle<v8::Value> value);
10
10
 
11
- #endif
11
+ #endif
data/ext/v8/v8_ref.h CHANGED
@@ -25,4 +25,4 @@ template <class T> v8::Local<T> V8_Ref_Get(VALUE object) {
25
25
  return (T *)*ref->handle;
26
26
  }
27
27
 
28
- #endif
28
+ #endif
data/ext/v8/v8_script.h CHANGED
@@ -5,4 +5,4 @@
5
5
 
6
6
  void rr_init_script();
7
7
 
8
- #endif
8
+ #endif
data/ext/v8/v8_str.h CHANGED
@@ -6,4 +6,4 @@
6
6
  void rr_init_str();
7
7
 
8
8
  VALUE rr_reflect_v8_string(v8::Handle<v8::Value> value);
9
- #endif
9
+ #endif
data/ext/v8/v8_template.h CHANGED
@@ -5,4 +5,4 @@
5
5
 
6
6
  void rr_init_template();
7
7
 
8
- #endif
8
+ #endif
@@ -2,4 +2,4 @@
2
2
  #define _RR_V8_TRY_CATCH_
3
3
 
4
4
  void rr_init_v8_try_catch();
5
- #endif
5
+ #endif
data/ext/v8/v8_value.h CHANGED
@@ -7,4 +7,4 @@ extern VALUE rr_cV8_C_Value;
7
7
  extern VALUE rr_cV8_C_Empty;
8
8
  void rr_init_value();
9
9
  VALUE rr_wrap_v8_value(v8::Handle<v8::Value>& value);
10
- #endif
10
+ #endif
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.2.pre'
5
+ VERSION = '0.7.2'
6
6
  require 'v8/v8' #native glue
7
7
  require 'v8/to'
8
8
  require 'v8/context'
data/lib/v8/error.rb CHANGED
@@ -16,7 +16,7 @@ module V8
16
16
  def initialize_unsafe(try)
17
17
  message = nil
18
18
  ex = To.rb(try.Exception())
19
- @boundaries = [Boundary.new :rbframes => caller(3), :jsframes => parse_js_frames(try)]
19
+ @boundaries = [Boundary.new(:rbframes => caller(3), :jsframes => parse_js_frames(try))]
20
20
  if V8::Object === ex
21
21
  if msg = ex['message']
22
22
  message = msg
data/therubyracer.gemspec CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{therubyracer}
5
- s.version = "0.7.2.pre"
5
+ s.version = "0.7.2"
6
6
 
7
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Charles Lowell", "Bill Robertson"]
9
9
  s.date = %q{2010-06-14}
10
10
  s.description = %q{Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript.}
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: therubyracer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961916020
5
- prerelease: true
4
+ hash: 7
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
9
  - 2
10
- - pre
11
- version: 0.7.2.pre
10
+ version: 0.7.2
12
11
  platform: ruby
13
12
  authors:
14
13
  - Charles Lowell
@@ -780,14 +779,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
780
779
  required_rubygems_version: !ruby/object:Gem::Requirement
781
780
  none: false
782
781
  requirements:
783
- - - ">"
782
+ - - ">="
784
783
  - !ruby/object:Gem::Version
785
- hash: 25
784
+ hash: 3
786
785
  segments:
787
- - 1
788
- - 3
789
- - 1
790
- version: 1.3.1
786
+ - 0
787
+ version: "0"
791
788
  requirements: []
792
789
 
793
790
  rubyforge_project: therubyracer