Update gemspec
Fix tests
Don't run tests in Rails 3.0/3.1 at the moment

Reason: https://github.com/rails/rails/pull/6429 seems to not have been backported for 3.0/3.1.