module Jeweler::VersionHelper::YamlExtension

def read_yaml

def read_yaml
  if File.exists?(yaml_path)
    YAML.load_file(yaml_path)
  else
    raise VersionYmlError, "#{yaml_path} does not exist!"
  end
end