lib/s3repo/client.rb in s3repo-2.0.3 vs lib/s3repo/client.rb in s3repo-3.0.1

- old
+ new

@@ -17,10 +17,10 @@ puts "Uploading #{key}" put_object key: key, body: body end def upload_file(key, path) - upload(key, File.open(path).read) + upload(key, File.read(path)) end private def region