Add support for pre_releases argument to the gem state