app/parsers/bulkrax/application_parser.rb in bulkrax-3.3.0 vs app/parsers/bulkrax/application_parser.rb in bulkrax-3.3.1
- old
+ new
@@ -259,9 +259,10 @@
end
end
end
def zip
+ require 'zip'
FileUtils.rm_rf(exporter_export_zip_path)
Zip::File.open(exporter_export_zip_path, create: true) do |zip_file|
Dir["#{exporter_export_path}/**/**"].each do |file|
zip_file.add(file.sub("#{exporter_export_path}/", ''), file)
end