lib/rake_dependencies/extractors.rb in rake_dependencies-3.3.0 vs lib/rake_dependencies/extractors.rb in rake_dependencies-3.4.0.pre.1
- old
+ new
@@ -29,10 +29,12 @@
end
private
def extract_files
- Zip::File.open(file_path) do |zip_file_entries|
+ Zip::File.open(
+ file_path, false, restore_permissions: true
+ ) do |zip_file_entries|
zip_file_entries.each do |entry|
process_zip_file_entry(zip_file_entries, entry)
end
end
end