module Patron
def self.version
:nodoc:
def self.version cwd = Pathname(__FILE__).dirname yaml = YAML.load_file(cwd.expand_path / '../VERSION.yml') major = (yaml['major'] || yaml[:major]).to_i minor = (yaml['minor'] || yaml[:minor]).to_i "#{major}.#{minor}" end