Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable natural assertions for JRuby 1.7.5
JRuby 1.7.5 finally has a Ripper compatible library, so we are enabling natural assertions for JRuby. Let the rejoicing begin!
- Loading branch information
d1d61d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the direction JRuby is heading with version numbers, this may not be a problem, but comparing version numbers like this has a tendency to break down the line. E.g., a JRuby 1.7.10 release or a 1.10.x release would both get miscategorized as an old JRuby version. I've found Gem::Version.new(X) < Gem::Version.new(Y) works pretty well, but could be a tad confusing here since you're not really comparing gem versions -- just something that follows that same versioning scheme.