Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The interface to change the utime on an entry in a zipfile has changed between RubyZip 0.9.5 and 1.2. Instead of calling zip.add with a filename and zip.file.utime with a File.mtime, convert the mtime to a Zip::DOSTime, and create a new Zip Entry, setting the time on the entry initializer. Then call zip.add with the Entry rather than the name.
- Loading branch information