bin/commander in visionmedia-commander-2.4.6 vs bin/commander in visionmedia-commander-2.5.6
- old
+ new
@@ -2,11 +2,11 @@
require 'rubygems'
require 'commander'
program :name, 'commander'
-program :version, Commander::VERSION::STRING
+program :version, Commander::VERSION
program :description, 'Commander utility program.'
command :init do |c|
c.syntax = 'commander init <file>'
c.summary = 'Initialize a commander template'
@@ -25,10 +25,10 @@
require 'rubygems'
require 'commander'
require '#{name}'
program :name, '#{name}'
-program :version, #{name.camelcase}::VERSION::STRING
+program :version, #{name.camelcase}::VERSION
program :description, '#{description}'
CODE
commands.each do |command|
f.write <<-CODE
\ No newline at end of file