lib/rubygems/commands/owner_command.rb in rubygems-update-2.0.17 vs lib/rubygems/commands/owner_command.rb in rubygems-update-2.1.0.rc.1

- old
+ new

@@ -29,12 +29,18 @@ end add_option '-r', '--remove EMAIL', 'Remove an owner' do |value, options| options[:remove] << value end + + add_option '-h', '--host HOST', 'Use another gemcutter-compatible host' do |value, options| + options[:host] = value + end end def execute + @host = options[:host] + sign_in name = get_one_gem_name add_owners name, options[:add] remove_owners name, options[:remove]