diff options
-rw-r--r-- | lib/rubygems/commands/owner_command.rb | 12 | ||||
-rw-r--r-- | lib/rubygems/commands/unpack_command.rb | 10 |
2 files changed, 9 insertions, 13 deletions
@@ -93,14 +93,12 @@ permission to. def manage_owners(method, name, owners) owners.each do |owner| - begin - response = send_owner_request(method, name, owner) - action = method == :delete ? "Removing" : "Adding" - with_response response, "#{action} #{owner}" - rescue StandardError - # ignore - end end end @@ -95,12 +95,10 @@ command help for an example. FileUtils.mkdir_p @options[:target] if @options[:target] - destination = begin - if @options[:target] - File.join @options[:target], spec_file - else - spec_file - end end File.open destination, "w" do |io| |