From 19a88a48fb7f155ee50ff4cd666fdc425d98d185 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Mon, 14 Jun 2010 22:35:28 +0300 Subject: [PATCH] 0.7.2: embed ruby class objects as javascript constructors. unified javascript/ruby backtrace. rubinius 1.x support. --- History.txt | 13 +++++++++++++ Rakefile | 2 +- lib/v8.rb | 2 +- therubyracer.gemspec | 4 ++-- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/History.txt b/History.txt index 3b80530..023f6c4 100644 --- a/History.txt +++ b/History.txt @@ -1,3 +1,16 @@ +=== 0.7.2 2010-06-14 +* 5 major enhancements + * embed ruby classes as constructors + * support for rubinius + * uniform backtrace() function on JSError mixes the ruby + * String::NewSymbol() is now scriptable + * InstanceTemplate(), PrototypeTemplate(), Inherit() methods on v8::FunctionTemplate now scriptable. + +* 3 minor enhancements + * reuse the standard ruby object access template + * fix a bunch of compile warnings + * Store any ruby object in V8 with V8::C::External + === 0.7.1 2010-06-03 * 5 major enhancements * Function#call() now uses the global scope for 'this' by default diff --git a/Rakefile b/Rakefile index a21ca94..a03f776 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,7 @@ manifest.exclude "lib/v8/*.bundle", "lib/v8/*.so", "ext/**/test/*", "ext/**/test Gem::Specification.new do |gemspec| $gemspec = gemspec gemspec.name = gemspec.rubyforge_project = "therubyracer" - gemspec.version = "0.7.2.pre" + gemspec.version = "0.7.2" gemspec.summary = "Embed the V8 Javascript interpreter into Ruby" gemspec.description = "Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript." gemspec.email = "cowboyd@thefrontside.net" diff --git a/lib/v8.rb b/lib/v8.rb index a4829da..3eb315c 100644 --- a/lib/v8.rb +++ b/lib/v8.rb @@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) module V8 - VERSION = '0.7.2.pre' + VERSION = '0.7.2' require 'v8/v8' #native glue require 'v8/to' require 'v8/context' diff --git a/therubyracer.gemspec b/therubyracer.gemspec index 6715c4a..50b45ca 100644 --- a/therubyracer.gemspec +++ b/therubyracer.gemspec @@ -2,9 +2,9 @@ Gem::Specification.new do |s| s.name = %q{therubyracer} - s.version = "0.7.2.pre" + s.version = "0.7.2" - s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Charles Lowell", "Bill Robertson"] s.date = %q{2010-06-14} s.description = %q{Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript.}