Fix gem version and deprecation