lib/rmega/downloader.rb in rmega-0.1.0 vs lib/rmega/downloader.rb in rmega-0.1.1

- old
+ new

@@ -44,10 +44,10 @@ end def download(&block) @local_file = allocate - progress = Progress.new(filesize: filesize, verb: 'download') + progress = Progress.new(total: filesize, caption: 'Download') chunks.each do |start, size| pool.defer do encrypted_buffer = download_chunk(start, size) clean_buffer = yield(start, encrypted_buffer)