lib/reap/systems/rubyforge.rb in reap-9.2.1 vs lib/reap/systems/rubyforge.rb in reap-9.3.0

- old
+ new

@@ -7,17 +7,10 @@ require 'tmpdir' require 'facets/hash/rekey' require 'facets/kernel/ask' -#require 'reap/utilities/uploadutils' - -# def self.factory(name) -# ["proutils/icli/#{name.downcase}.rb"].each{ |x| require x } # only did it this way to shut rdoc up! -# ICli::const_get(name.capitalize) -# end - module Reap # Interface with the RubyForge hosting service. # Currently supports functions: # @@ -239,12 +232,12 @@ login do unless package_id = package?(package) if dryrun? - puts "[DRYRUN] Package '#{package}' does not exist." - puts "[DRYRUN] Create package #{package}." + puts "Package '#{package}' does not exist." + puts "Create package #{package}." abort "Cannot continue in dryrun mode." else #unless options['force'] q = "Package '#{package}' does not exist. Create?" a = ask(q, 'yN') @@ -270,25 +263,25 @@ end files.each do |file| fname = File.basename(file) if file_id = file?(fname, package) if dryrun? - puts "[DRYRUN] Remove file #{fname}." + puts "Remove file #{fname}." else puts "Removing file #{fname}..." remove_file(file_id, release_id, package_id) end end if dryrun? - puts "[DRYRUN] Add file #{fname}." + puts "Add file #{fname}." else puts "Adding file #{fname}..." add_file(file, release_id, package_id, processor) end end else if dryrun? - puts "[DRYRUN] Adding release #{release}..." + puts "Add release #{release}." else puts "Adding release #{release}..." add_release(release, package_id, files, :processor => processor, :release_date => date,