Version bump to 3.1.2
Regenerate gemspec for version 3.1.2