lib/candle/version.rb in candle-0.0.4 vs lib/candle/version.rb in candle-0.0.6
- old
+ new
@@ -1,9 +1,7 @@
module Candle
module Version
- MAJOR = 0
- MINOR = 0
- PATCH = 4
-
+ VERSIONSTRING = File.read(File.join(File.dirname(__FILE__),'/../../VERSION'))
+ MAJOR, MINOR, PATCH = VERSIONSTRING.split('.')
STRING = [MAJOR, MINOR, PATCH].compact.join('.').chomp('.')
end
end
\ No newline at end of file