End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Commands::OwnerCommand#manage_owners
manage_owners(method, name, owners)
lib/rubygems/commands/owner_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/commands/owner_command.rb, line 89
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
# ignore
end
end
end
No documentation available
See also
#get_owner_scope
#remove_owners
#execute
#send_owner_request
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1