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_spec.rb | ||
| batch_spec.rb | ||
| composite_io_spec.rb | ||
| download_spec.rb | ||
| hashable_spec.rb | ||
| http_command_spec.rb | ||
| json_representation_spec.rb | ||
| service_spec.rb | ||
| upload_spec.rb | ||