aussiegeek/rubyzip — pull request #49 by alexdowad (2012-05-21 09:25:27+00:00)
Title: Added Zip::ZipFile.open_buffer

It's happened several times now that I have written Ruby scripts which automatically download ZIP files (perhaps from some kind of data feed, etc) and want to extract a file from the downloaded ZIP, without saving it to disk first. I just discovered that it is possible to do so using an optional argument to Zip::ZipInputStream, but I'd rather use the nice, high-level interface of ZipFile and ZipFileSystem. I figure there must be a lot of other people who want to do the same thing. Have a look at this added method, and see if you think it is worth adding to Zip::ZipFile... or perhaps you can come up with a better way to add the same functionality?