Go to file
thomas b018e29b49 *** empty log message *** 2002-03-22 21:47:43 +00:00
.cvsignore Added test_extractDirectoryExistsAsFileOverwrite and fixed to pass 2002-03-21 19:34:25 +00:00
NEWS *** empty log message *** 2002-03-22 21:47:43 +00:00
README Added install.rb 2002-03-21 21:12:19 +00:00
TODO *** empty log message *** 2002-03-22 21:25:56 +00:00
example.rb Fixed example.rb added example that shows zip file manipulation with Zip::ZipFile 2002-03-20 20:18:35 +00:00
file1.txt Initial revision 2002-01-02 17:48:31 +00:00
file1.txt.deflatedData deflated data extracted from a zip file. contains file1.txt 2002-01-05 21:21:56 +00:00
install.rb Added install.rb 2002-03-21 21:12:19 +00:00
testDirectory.bin ZipCentralDirectoryEntryTest now runs 2002-01-04 20:51:24 +00:00
zip.rb Windows fixes: Fixed ZipFile.initialize which needed to open zipfile file in binary mode. Added another workaround for the return value from File.open(name) where name is the name of a directory - ruby returns different exceptions in linux, win/cygwin and windows. A number of tests failed because in windows you cant delete a file that is open. Fixed by changing ziptest.rb to use ZipInputStream.getInputStream with blocks a few places. There is a hack in CommanZipFileFixture.setup where the GC is explicitly invoked. Should be fixed with blocks instead. The only currently failing test fails because the test data creation fails to add a comment to 4entry.zip, because echo eats the remainder of the line including the pipe character and the following zip -z 4 entry.zip command 2002-03-22 09:38:03 +00:00
ziptest.rb Found the tests that didn't use blocks to make sure input streams are closed as soon as they arent used anymore and got rid of the GC.start 2002-03-22 21:18:15 +00:00

README

= rubyzip =

rubyzip is a ruby library for reading and writing zip (pkzip format)
files, with the restriction that only uncompressed and deflated zip
entries are supported. All this library does is handling of the zip
file format. the actual compression/decompression is handled by
zlib. zlib is accessible from ruby thanks to ruby/zlib (see resources)

To run the unit tests you need to have rubyunit or test::unit
installed.


= Install =

ruby install.rb


= Ruby/zlib =

This library requires ruby/zlib version 0.5.0 or newer.

zlib http://www.gzip.org/zlib/
ruby-zlib: http://www.blue.sky.or.jp/atelier/#ruby-zlib

= LICENSE =

rubyzip is distributed under the same license as ruby. See
http://www.ruby-lang.org/en/LICENSE.txt

= AUTHOR =

Thomas Sondergaard thomass@deltadata.dk