docx_manipulator 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/docx_manipulator/version.rb +1 -1
- data/lib/docx_manipulator.rb +1 -1
- metadata +1 -1
data/lib/docx_manipulator.rb
CHANGED
@@ -33,7 +33,7 @@ class DocxManipulator
|
|
33
33
|
|
34
34
|
Zip::ZipOutputStream.open(target) do |os|
|
35
35
|
Zip::ZipFile.foreach(source) do |entry|
|
36
|
-
|
36
|
+
if !files_to_be_written.include?(entry.name) && entry.file?
|
37
37
|
os.put_next_entry entry.name
|
38
38
|
os.write entry.get_input_stream.read
|
39
39
|
end
|