Update version.rb

Change version from 4.0.0.beta1 to 4.0.0 for third party gem support of ~> 4.0