diff options
| author | 2025-11-26 19:02:46 -0500 | |
|---|---|---|
| committer | 2025-11-26 19:02:46 -0500 | |
| commit | c77a15eed515fe6dc9b2e831670f4d484e23dace (patch) | |
| tree | 87c79155c0b52b0e59eaf971f2b5bf9d860c77e4 /lib/roo/open_office.rb | |
| parent | 537c7673bedbb1a2f77a3a088710546cb46506d0 (diff) | |
| parent | c62f8376a13e7a4f493167aba1c66a9201fc59c6 (diff) | |
Update upstream source from tag 'upstream/3.0.0'
Update to upstream version '3.0.0'
with Debian dir ceed7b02bc1417ad11993c466d2350a6b62fbecf
Diffstat (limited to 'lib/roo/open_office.rb')
| -rw-r--r-- | lib/roo/open_office.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/roo/open_office.rb b/lib/roo/open_office.rb index 542c5b4..f7a8139 100644 --- a/lib/roo/open_office.rb +++ b/lib/roo/open_office.rb @@ -59,7 +59,7 @@ module Roo fail ArgumentError, ERROR_MISSING_CONTENT_XML unless content_entry roo_content_xml_path = ::File.join(@tmpdir, 'roo_content.xml') - content_entry.extract(roo_content_xml_path) + content_entry.extract('roo_content.xml', destination_directory: @tmpdir) decrypt_if_necessary(zip_file, content_entry, roo_content_xml_path, options) end end @@ -234,7 +234,7 @@ module Roo if (manifest_entry = zip_file.glob('META-INF/manifest.xml').first) roo_manifest_xml_path = File.join(@tmpdir, 'roo_manifest.xml') - manifest_entry.extract(roo_manifest_xml_path) + manifest_entry.extract('roo_manifest.xml', destination_directory: @tmpdir) manifest = ::Roo::Utils.load_xml(roo_manifest_xml_path) # XPath search for manifest:encryption-data only for the content.xml |
