Version bump to 2.31.0
Regenerate gemspec for version 2.31.0