cowboyd/therubyrhino — pull request #10 by kares (2011-12-09 11:30:21+00:00)
Title: towards a "better" rhino

Hey again Charlie, as promised these are the required changes for a hopefully better Rhino :)
Well at least it takes about this much to make all `less.rb` specs pass ...

I've tried to stay compatible as much as possible, the most noticeable change is the removal of `NativeFunction` and `NativeObject` wrappers - I found them causing me headaches when struggling with `Less`. Monkey-patching Rhino's Java classes directly to make them Ruby-ish seemed like a fit since only JRuby sees those methods as it wraps those Java classes ...
Libraries such as **ExecJS** use `Rhino::NativeFunction`/`Rhino::NativeObject` thus I made accessing these constants still work and return a dummy stub class + print a warning.

Anyways, if you do found something bothering your eye let me know and I'll try to work it out.
I'm in no hurry for a release, but I will probably need to know the next version so I can incorporate a check into my upcoming `less.rb` pull - I'm guessing for **1.73.1**