lib/tori/backend/s3.rb in tori-0.6.5 vs lib/tori/backend/s3.rb in tori-0.6.6

- old
+ new

@@ -111,12 +111,12 @@ def put(filename, body, **opts) put_object key: filename, body: body, **opts end - def head(filename = nil) + def head(filename = nil, **opts) if filename - head_object key: filename + head_object key: filename, **opts else head_bucket end end