lib/rack/linkeddata/version.rb in rack-linkeddata-0.3.0 vs lib/rack/linkeddata/version.rb in rack-linkeddata-1.0.0

- old
+ new

@@ -1,10 +1,8 @@ module Rack; module LinkedData module VERSION - MAJOR = 0 - MINOR = 3 - TINY = 0 - EXTRA = nil + VERSION_FILE = ::File.expand_path("../../../../VERSION", __FILE__) + MAJOR, MINOR, TINY, EXTRA = ::File.read(VERSION_FILE).chomp.split(".") STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.') ## # @return [String]