bin/overview in overview-0.0.4.17 vs bin/overview in overview-0.0.5.pre.22

- old
+ new

@@ -90,23 +90,23 @@ c.switch :s c.desc 'Build number only e.g. 534' c.switch :b c.desc 'Version (no build) with branch e.g. 0.1.1-feature' c.switch :v - c.desc 'Rubygem compatible version with build appended e.g. 0.1.1-feature-534' + c.desc 'Rubygem compatible version with build appended e.g. 0.1.1.pre-feature-534' c.switch :r c.desc 'Google App Engine compatible version with build appended e.g. 0-1-1-feature-534' c.switch :a c.action do |global_options,options,args| include AppVersion if options[:s] - puts AppVersion::Version.new.version(true).to_s + puts AppVersion::Version.new.version(semantic:true).to_s elsif options[:b] puts AppVersion::Version.new.build_no.to_s elsif options[:v] puts AppVersion::Version.new.version.to_s elsif options[:r] - puts "#{AppVersion::Version.new.version.to_s}.#{AppVersion::Version.new.build_no.to_s}" + puts "#{AppVersion::Version.new.version(rubygem:true).to_s}.#{AppVersion::Version.new.build_no.to_s}" elsif options[:a] puts "#{AppVersion::Version.new.version.to_s}".gsub('.','-') else puts AppVersion::Version.new.to_s end