[#3133] Change signature of upload for cellar to match upstream evolution

This commit is contained in:
Frederic Merizen 2018-12-07 15:11:26 +01:00
parent a9b4150b3b
commit 8e0408093b

View file

@ -34,7 +34,7 @@ module Cellar
@signer = signer
end
def upload(key, io, checksum)
def upload(key, io, checksum: nil, **)
with_io_length(io) do |io, length|
request = Net::HTTP::Put.new("/#{key}")
request.content_type = 'application/octet-stream'