def from_file
      config = YAML.load_file @file
      version = VersionNumberFactory.from_string config['version']

      BumpInfo.new version, config['files'], config['commit']
    end
def from_file
      config = YAML.load_file @file
      version = VersionNumberFactory.from_string config['version']

      BumpInfo.new version, config['files'], config['commit']
    end
@param [String] file
 Gets the bump info from the given file

 @param [String] file
 @return [Bump::BumpInfo]