Use stable versions of dependencies in gemspec
Bump version to 3.1.0