Regenerate gemspec for version 3.1.1