lib/kpm/tasks.rb in kpm-0.0.14 vs lib/kpm/tasks.rb in kpm-0.0.15

- old
+ new

@@ -16,20 +16,19 @@ class_option :ssl_verify, :type => :boolean, :default => true, :desc => 'Set to false to disable SSL Verification.' - - desc 'install config_file', 'Install Kill Bill server and plugins according to the specified YAML configuration file.' method_option :force_download, :type => :boolean, :default => false, :desc => 'Force download of the artifact even if it exists' method_option :verify_sha1, :type => :boolean, :default => true, - :desc => 'Validates sha1 sum' + :desc => 'Validate sha1 sum' + desc 'install config_file', 'Install Kill Bill server and plugins according to the specified YAML configuration file.' def install(config_file) Installer.from_file(config_file).install(options[:force_download], options[:verify_sha1]) end method_option :destination, @@ -41,10 +40,10 @@ :default => false, :desc => 'Force download of the artifact even if it exists' method_option :verify_sha1, :type => :boolean, :default => true, - :desc => 'Validates sha1 sum' + :desc => 'Validate sha1 sum' desc 'pull_kb_server_war version', 'Pulls Kill Bill server war from Sonatype and places it on your machine.' def pull_kb_server_war(version='LATEST') response = KillbillServerArtifact.pull(logger, KillbillServerArtifact::KILLBILL_GROUP_ID, KillbillServerArtifact::KILLBILL_ARTIFACT_ID,