class Jeweler

def write_version(major, minor, patch, build, _options = {})

Bumps the version, to the specific major/minor/patch version, writing out the appropriate version.rb, and then reloads it.
def write_version(major, minor, patch, build, _options = {})
  command = Jeweler::Commands::Version::Write.build_for(self)
  command.major = major
  command.minor = minor
  command.patch = patch
  command.build = build
  command.run
end