lib/net/dns/version.rb in net-dns-0.6.1 vs lib/net/dns/version.rb in net-dns-0.7.0

- old
+ new

@@ -1,22 +1,16 @@ -require 'yaml' - - -module Net # :nodoc: - module DNS +module Net + module DNS module Version - - @@version = YAML.load_file(File.dirname(__FILE__) + '/../../../VERSION.yml') - MAJOR = @@version[:major] - MINOR = @@version[:minor] - PATCH = @@version[:patch] + MAJOR = 0 + MINOR = 7 + PATCH = 0 + BUILD = nil - STRING = [MAJOR, MINOR, PATCH].join('.') + STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".") end - VERSION = Version::STRING - STATUS = 'beta' - BUILD = nil + VERSION = Version::STRING end end \ No newline at end of file