lib/gator/runner.rb in gator-0.0.19.pre vs lib/gator/runner.rb in gator-0.0.20.pre
- old
+ new
@@ -11,10 +11,11 @@
super
end
desc "version", "Show Gator version"
def version
- say "Gator --pre"
+ version_file = File.dirname(__FILE__) + '/../../VERSION'
+ say File.exist?(version_file) ? File.read(version_file) : ""
end
end
end
\ No newline at end of file