From: Thomas Hurst Date: 2002-01-27T14:44:00+09:00 Subject: Re: [ANN] rubyzip 0.3.1 * Thomas S�ndergaard (tsondergaard@speakanet.com) wrote: > Is ruby-tar available somewhere? - I'd like to take a look at it. Not yet. I'll try to get a prerelease out in the next few days. > Working with (gz'ed) tar archives and zip files should be similar for > the API user, so I think there is a point in trying to make a uniform > interface for accessing tar archives and zip archives. Agreed. At a higher level, at least, working with archives should be pretty generic. How about Archive::open(), which automatically detects type and returns the appropriate object? :) > For rubyzip I implemented ZipFile so it supports the most basic > operations on Dir, ie. foreach and the Enumerable methods. Instead of a > string with a filename, the entries are ZipEntry objects though. Yes, Tar::Reader supports each[_entry] and returns Tar::Entry objects. > If you are interested in an effort to make access to zip and tar > archives uniform, feel free to contact me. I'll look at rubyzip and see how similar the two are. -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - Bipolar, adj.: Refers to someone who has homes in Nome, Alaska, and Buffalo, New York