According to the documentation the destination IO only needs to respond to #write. However, the downloader breaks this by calling #flush. We fix this by calling #flush only if the destination IO responds to that method. We also add a test to enforce that the destination IO only needs to respond to #write. |
||
|---|---|---|
| .. | ||
| api_command.rb | ||
| base_service.rb | ||
| batch.rb | ||
| composite_io.rb | ||
| download.rb | ||
| hashable.rb | ||
| http_command.rb | ||
| json_representation.rb | ||
| logging.rb | ||
| multipart.rb | ||
| upload.rb | ||