Changed gem version to lock only major

* Changed from `~> x.y.z` to `~> x.y`
* Removed version range from sdoc and spring
* Added version range to omniauth-google-oauth2