Support for jruby and Ruby 1.8.7; integrated with travis-ci