summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/package.rb
diff options
context:
space:
mode:
authorJurriaan Pruis <[email protected]>2014-03-17 13:21:27 +0100
committerJurriaan Pruis <[email protected]>2014-03-17 13:21:27 +0100
commit318508d9f8f2ddb57db904cf0b56b38e0142fb2d (patch)
tree04e9d5040af9e381def48998246f36242e5cf53c /lib/axlsx/package.rb
parentdcea412145c194d851f1077897810229ac828264 (diff)
downloadcaxlsx-318508d9f8f2ddb57db904cf0b56b38e0142fb2d.tar.gz
caxlsx-318508d9f8f2ddb57db904cf0b56b38e0142fb2d.zip
Update to RubyZip 1.1.1
Diffstat (limited to 'lib/axlsx/package.rb')
-rw-r--r--lib/axlsx/package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/package.rb b/lib/axlsx/package.rb
index bbc15db3..cd03a173 100644
--- a/lib/axlsx/package.rb
+++ b/lib/axlsx/package.rb
@@ -114,7 +114,7 @@ module Axlsx
def to_stream(confirm_valid=false)
return false unless !confirm_valid || self.validate.empty?
Relationship.clear_cached_instances
- zip = write_parts(Zip::OutputStream.new("streamed", true))
+ zip = write_parts(Zip::OutputStream.new(StringIO.new, true))
stream = zip.close_buffer
stream.rewind
stream