lib/io_streams/xlsx/reader.rb in iostreams-0.14.0 vs lib/io_streams/xlsx/reader.rb in iostreams-0.15.0
- old
+ new
@@ -23,10 +23,10 @@
if IOStreams.reader_stream?(file_name_or_io)
temp_file = Tempfile.new('rocket_job_xlsx')
file_name = temp_file.to_path
::File.open(file_name, 'wb') do |file|
- IOStreams.copy(file_name_or_io, file, buffer_size)
+ IOStreams.copy(file_name_or_io, file, buffer_size: buffer_size)
end
else
file_name = file_name_or_io
end