diff --git a/History.txt b/History.txt index 4776a7f..4b96669 100644 --- a/History.txt +++ b/History.txt @@ -1,10 +1,12 @@ -=== 0.X.X 2010-XX-XX -* N major enhancements: +=== 0.4.4 2010-01-14 +* 2 major enhancements: * Ruby objects embedded into javascript are passed back to ruby as themselves and not a wrapped V8 object wrapping a ruby object. * Use any ruby object as the scope of eval(). -* N minor enhancements: +* 5 minor enhancements: * quick and dirty V8.eval() method added - * only allow certain operations if the context is open + * native objects have a reference to the context that created them. + * context now has equality check. + * expose InContext() and GetCurrent() methods. * fix a couple of segmentation faults === 0.4.3 2010-10-11 diff --git a/Manifest.txt b/Manifest.txt index ea18958..de7b51d 100644 --- a/Manifest.txt +++ b/Manifest.txt @@ -41,6 +41,8 @@ lib/v8/to.rb script/console script/destroy script/generate +spec/ext/cxt_spec.rb +spec/ext/obj_spec.rb spec/redjs/README.txt spec/redjs/jsapi_spec.rb spec/redjs_helper.rb diff --git a/lib/v8.rb b/lib/v8.rb index f49d91e..c7cf880 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.4.3' + VERSION = '0.4.4' require 'v8/v8' #native glue require 'v8/to' require 'v8/context' diff --git a/therubyracer.gemspec b/therubyracer.gemspec index 0b0404d..80196d0 100644 --- a/therubyracer.gemspec +++ b/therubyracer.gemspec @@ -2,16 +2,16 @@ Gem::Specification.new do |s| s.name = %q{therubyracer} - s.version = "0.4.3" + s.version = "0.4.4" 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-01-11} + s.date = %q{2010-01-14} s.description = %q{Embed the V8 Javascript interpreter into Ruby.} s.email = ["cowboyd@thefrontside.net", "billrobertson42@gmail.com"] s.extensions = ["ext/v8/extconf.rb"] s.extra_rdoc_files = ["History.txt", "Manifest.txt", "docs/data_conversion.txt"] - s.files = ["Doxyfile", "History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "docs/data_conversion.txt", "ext/v8/callbacks.cpp", "ext/v8/callbacks.h", "ext/v8/convert_ruby.cpp", "ext/v8/convert_ruby.h", "ext/v8/convert_string.cpp", "ext/v8/convert_string.h", "ext/v8/convert_v8.cpp", "ext/v8/convert_v8.h", "ext/v8/converters.cpp", "ext/v8/converters.h", "ext/v8/extconf.rb", "ext/v8/v8.cpp", "ext/v8/v8_cxt.cpp", "ext/v8/v8_cxt.h", "ext/v8/v8_func.cpp", "ext/v8/v8_func.h", "ext/v8/v8_msg.cpp", "ext/v8/v8_msg.h", "ext/v8/v8_obj.cpp", "ext/v8/v8_obj.h", "ext/v8/v8_ref.cpp", "ext/v8/v8_ref.h", "ext/v8/v8_script.cpp", "ext/v8/v8_script.h", "ext/v8/v8_standalone.cpp", "ext/v8/v8_standalone.h", "ext/v8/v8_str.cpp", "ext/v8/v8_str.h", "ext/v8/v8_template.cpp", "ext/v8/v8_template.h", "lib/v8.rb", "lib/v8/context.rb", "lib/v8/object.rb", "lib/v8/to.rb", "script/console", "script/destroy", "script/generate", "spec/redjs/README.txt", "spec/redjs/jsapi_spec.rb", "spec/redjs_helper.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/rspec.rake", "therubyracer.gemspec"] + s.files = ["Doxyfile", "History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "docs/data_conversion.txt", "ext/v8/callbacks.cpp", "ext/v8/callbacks.h", "ext/v8/convert_ruby.cpp", "ext/v8/convert_ruby.h", "ext/v8/convert_string.cpp", "ext/v8/convert_string.h", "ext/v8/convert_v8.cpp", "ext/v8/convert_v8.h", "ext/v8/converters.cpp", "ext/v8/converters.h", "ext/v8/extconf.rb", "ext/v8/v8.cpp", "ext/v8/v8_cxt.cpp", "ext/v8/v8_cxt.h", "ext/v8/v8_func.cpp", "ext/v8/v8_func.h", "ext/v8/v8_msg.cpp", "ext/v8/v8_msg.h", "ext/v8/v8_obj.cpp", "ext/v8/v8_obj.h", "ext/v8/v8_ref.cpp", "ext/v8/v8_ref.h", "ext/v8/v8_script.cpp", "ext/v8/v8_script.h", "ext/v8/v8_standalone.cpp", "ext/v8/v8_standalone.h", "ext/v8/v8_str.cpp", "ext/v8/v8_str.h", "ext/v8/v8_template.cpp", "ext/v8/v8_template.h", "lib/v8.rb", "lib/v8/context.rb", "lib/v8/object.rb", "lib/v8/to.rb", "script/console", "script/destroy", "script/generate", "spec/ext/cxt_spec.rb", "spec/ext/obj_spec.rb", "spec/redjs/README.txt", "spec/redjs/jsapi_spec.rb", "spec/redjs_helper.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/rspec.rake", "therubyracer.gemspec"] s.homepage = %q{http://github.com/cowboyd/therubyracer} s.rdoc_options = ["--main", "README.rdoc"] s.require_paths = ["lib", "ext"]