lib/sxp/version.rb in sxp-0.0.14 vs lib/sxp/version.rb in sxp-0.1.0

- old
+ new

@@ -1,10 +1,8 @@ module SXP module VERSION - MAJOR = 0 - MINOR = 0 - TINY = 14 - 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]