Test for compatibility with Rails 3.2.1 and modify dependency in gemspec