Permalink
Browse files

version in executable

  • Loading branch information...
1 parent ead16de commit 0ea6bf29f13889402bc4f6509a0f108e44576be0 @maxhodak committed Feb 15, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 bin/dates
  2. +1 −0 lib/dates.rb
View
@@ -3,7 +3,7 @@
require File.dirname(__FILE__) + '/../lib/dates'
SUB_COMMANDS = %w(list choose)
-VERSION_STR = "dates 1.0.0-beta, max & daphne."
+VERSION_STR = "dates #{Dates::VERSION}-beta, max & daphne."
global_opts = Trollop::options do
version VERSION_STR
banner <<-EOS
View
@@ -6,5 +6,6 @@
require 'date_ideas'
require 'date_idea'
require 'mathn'
+require 'version'
$LOAD_PATH.shift

0 comments on commit 0ea6bf2

Please sign in to comment.