cowboyd/less.rb — pull request #26 by kares (2012-04-10 17:53:52+00:00)
Title: less.rb on JRuby

I took a second service at less with `therubyrhino` and here's the result.
Tests seems to pass on MRI and JRuby as well.

I had to relax the dependencies, thus no `therubyrhino` or `therubyracer` in the gemspec.
I also slightly "reverted" `commonjs.rb` as it was standing in my way - last time it was therubyrhino itself and it took me some time to polish it out now it seemed to resist with some ugly error from Rhino ... guess I'm just unlucky or this ain't meant to be :) !

Do you insist on using it ?
For me it does not seem that crucial - someone adding support for a new runtime under less.rb should not have to deal with 2 gems. There's also some native require support in rhino itself but I did not test it out, I guess it might be hacked to get working on the ruby side ...