tmcgilchrist/ruby-roy — pull request #2 by ethul (2012-06-09 21:14:30+00:00)
Title: Updating bundled Roy to the latest

hi Tim,

I am not sure if this pull request will be acceptable since I've updated the bundled Roy JS compiler to the latest available check-in from Roy's master. Not sure if you had the intention of following official Roy releases or not.

In any case, the reason I did this was to make typeclasses available and also the unary (!) operator seemed handy to have. Also, I didn't minify the bundled Roy since I didn't see a compelling reason to, but would be happy to do so if you prefer and decide to accept the pull request.

Also, I was getting an error in the tests after updating because `rake test` seemed to pick therubyracer ExecJS runtime, and was giving me an error due to usage of `console.log` in the test cases. Still not completely sure why this is the case, but I simply changed the examples not to depend on `console.log`. However, compiling code with `console.log` from IRB seemed to work just fine, perhaps because the runtime used is an external runtime.

Finally, the pull request removes the gems listed in the Gemfile, I think the gemspec takes care of the dependencies.

Best,
-Eric