lib/simply/version.rb in simply-0.1.3 vs lib/simply/version.rb in simply-0.2.3
- old
+ new
@@ -1,5 +1,7 @@
+require "yaml"
+
module Simply
module Version
unless defined?(Simply::VERSION)
version_info = YAML.load(File.read(File.dirname(__FILE__) + "/../../VERSION.yml"))
@@ -7,6 +9,6 @@
MINOR = version_info[:minor]
TINY = version_info[:patch]
VERSION = "#{MAJOR}.#{MINOR}.#{TINY}"
end
end
-end
\ No newline at end of file
+end