Make it work in Rails 4 and beyond

The current gemspec says "rails ~>3.0", however the gem works perfectly fine in Rails 4.