1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

version 0.4.4: use any ruby object as a scope

This commit is contained in:
Charles Lowell 2010-01-14 00:54:26 +02:00
parent 56c5558be7
commit abe3f3ba49
4 changed files with 12 additions and 8 deletions

View file

@ -1,10 +1,12 @@
=== 0.X.X 2010-XX-XX === 0.4.4 2010-01-14
* N major enhancements: * 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. * 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(). * Use any ruby object as the scope of eval().
* N minor enhancements: * 5 minor enhancements:
* quick and dirty V8.eval() method added * 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 * fix a couple of segmentation faults
=== 0.4.3 2010-10-11 === 0.4.3 2010-10-11

View file

@ -41,6 +41,8 @@ lib/v8/to.rb
script/console script/console
script/destroy script/destroy
script/generate script/generate
spec/ext/cxt_spec.rb
spec/ext/obj_spec.rb
spec/redjs/README.txt spec/redjs/README.txt
spec/redjs/jsapi_spec.rb spec/redjs/jsapi_spec.rb
spec/redjs_helper.rb spec/redjs_helper.rb

View file

@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
module V8 module V8
VERSION = '0.4.3' VERSION = '0.4.4'
require 'v8/v8' #native glue require 'v8/v8' #native glue
require 'v8/to' require 'v8/to'
require 'v8/context' require 'v8/context'

View file

@ -2,16 +2,16 @@
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = %q{therubyracer} 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.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Charles Lowell", "Bill Robertson"] 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.description = %q{Embed the V8 Javascript interpreter into Ruby.}
s.email = ["cowboyd@thefrontside.net", "billrobertson42@gmail.com"] s.email = ["cowboyd@thefrontside.net", "billrobertson42@gmail.com"]
s.extensions = ["ext/v8/extconf.rb"] s.extensions = ["ext/v8/extconf.rb"]
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "docs/data_conversion.txt"] 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.homepage = %q{http://github.com/cowboyd/therubyracer}
s.rdoc_options = ["--main", "README.rdoc"] s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib", "ext"] s.require_paths = ["lib", "ext"]