lib/down.rb in down-1.0.1 vs lib/down.rb in down-1.0.2

- old
+ new

@@ -19,10 +19,10 @@ }, progress_proc: proc { |current_size| raise Down::TooLarge if options[:max_size] && current_size > options[:max_size] options[:progress].call(current_size) if options[:progress] }, - open_timeout: options[:timeout], + read_timeout: options[:timeout], redirect: false, ) # open-uri will return a StringIO instead of a Tempfile if the filesize # is less than 10 KB, so if it happens we convert it back to Tempfile.