lib/rdf/spec/version.rb in rdf-spec-0.3.4.1 vs lib/rdf/spec/version.rb in rdf-spec-0.3.5

- old
+ new

@@ -1,11 +1,8 @@ module RDF; module Spec module VERSION - MAJOR = 0 - MINOR = 3 - TINY = 3 - EXTRA = nil - + VERSION_FILE = File.expand_path("../../../../VERSION", __FILE__) + MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.split(".") STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.') ## # @return [String] def self.to_s() STRING end