added support to JRUBY

updated the gemspec to be able to use it with jruby 1.7.2