puushload 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/puushload.rb +5 -1
- metadata +1 -1
data/lib/puushload.rb
CHANGED
@@ -74,7 +74,11 @@ class PuushLoad
|
|
74
74
|
|
75
75
|
Zip::ZipFile.open(out_file, Zip::ZipFile::CREATE) do |zipfile|
|
76
76
|
files.each do |filename|
|
77
|
-
|
77
|
+
begin
|
78
|
+
zipfile.add(filename, in_folder + '/' + filename)
|
79
|
+
rescue
|
80
|
+
@logger.warn "Weird file, wasn't added to ZIP: #{filename}"
|
81
|
+
end
|
78
82
|
end
|
79
83
|
end
|
80
84
|
|