aussiegeek/rubyzip — Issue #30: ZipInputStream broken
Author: tillvollmer
Created: 2012-02-22 13:58:07+00:00
State: open

The following code only shows the first real file in the attached zip. The rest is not shown anymore.
Zip file created on Mac OSX.

Zip::ZipInputStream::open("eins.zip") do |io|
while (entry = io.get_next_entry)
pp entry
end
end

old zip files work.

but

Zip::ZipFile::foreach("/Users/laura/Desktop/Archive.zip") do |entry|
pp entry.name
end

works for the same file.