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

upgrade to libv8 3.16.14

This commit is contained in:
Charles Lowell 2013-03-28 08:33:36 -05:00
parent 8385158d35
commit 3dc59496ee
3 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ namespace rr {
}
VALUE Locker::IsLocked(VALUE self) {
return Bool(v8::Locker::IsLocked());
return Bool(v8::Locker::IsLocked(v8::Isolate::GetCurrent()));
}
VALUE Locker::IsActive(VALUE self) {
@ -74,4 +74,4 @@ namespace rr {
VALUE Locker::doUnlockCall(VALUE code) {
return rb_funcall(code, rb_intern("call"), 0);
}
}
}

View file

@ -15,6 +15,6 @@ describe V8::C do
end
it "can access the V8 version" do
V8::C::V8::GetVersion().should match /^3\.15/
V8::C::V8::GetVersion().should match /^3\.16/
end
end

View file

@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
gem.version = V8::VERSION
gem.add_dependency 'ref'
gem.add_dependency 'libv8', '~> 3.15.11.0'
gem.add_dependency 'libv8', '~> 3.16.14.0'
end