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

9 commits

Author SHA1 Message Date
Charles Lowell
e1c8f9ef5f compile scripts via maybe apis
This adds the ability to compile and run an script, passing in the
ScriptOrigin so that it can track file information.
2015-07-22 00:06:15 -05:00
Georgy Angelov
acf9be1873 Implement Function and Script 2015-04-04 18:23:23 +00:00
Georgy Angelov
2fca33f9d0 Remove old ext files and spec & link to the new V8
The functionality will be added (that is, if I don't get bored) one thing at a time with the spec.
If you want to test, point the libv8 gem (in Gemfile) to its trunk branch & my changes at stormbreakerbg/libv8 @ trunk.

What works currently is getting V8 to initialize, say its version and create a new Isolate.
2015-03-18 21:57:39 +00:00
Georgy Angelov
654b808ac5 Use #around for creation of context for C examples
This fixes segmentation fault in the tests as extending the examples in a before block with override of `#instance_eval` seems to not work.

Also, the context wrap is now opt-in with a helper method, instead of opt-out and relying on `#described_class` (which has slightly different behavior in RSpec 3).

Tested on Ruby 2.1.5 and RSpec 2.99.2.
2015-03-15 18:27:19 +00:00
Charles Lowell
71a74e4da2 ability to compile ScriptData to speed compilation 2012-06-07 08:37:46 -05:00
Charles Lowell
8976cb9fc7 Auto-lock, Auto-scope all specs, except where not. 2012-06-05 08:00:04 -05:00
Charles Lowell
687faa4865 add C::ContextHelper to wrap native test cases 2012-05-25 16:01:31 -05:00
Charles Lowell
d3c9319357 Polymorphically thunk array values. 2012-05-18 09:48:46 -05:00
Charles Lowell
e21bedf3a9 towards equivalence classes in type conversion 2012-05-15 16:24:58 -05:00