lib/commands/owner.rb in gemcutter-0.1.7 vs lib/commands/owner.rb in gemcutter-0.1.8
- old
+ new
@@ -26,10 +26,10 @@
end
def add_owners(name, owners)
owners.each do |owner|
response = make_request(:post, "gems/#{name}/owners.json") do |request|
- request.set_form_data(:email => owner)
+ request.set_form_data("email" => owner)
request.add_field("Authorization", api_key)
end
case response
when Net::HTTPSuccess