fringd / zipline

A gem that lets you stream a zip file from rails
MIT License
289 stars 68 forks source link

Replace zip_tricks with zip_kit #100

Closed julik closed 8 months ago

julik commented 8 months ago

Since zip_tricks development has been put on hold, replace it with zip_kit. zip_kit is a friendly fork of zip_tricks under MIT license. It includes new features and bug fixes. Use its header/body generation, and use write_file for heuristic storage mode (pick the storage mode which is optimal for the content).

The new zip_kit also has Streamer#rollback! which will be done automatically if an exception occurs within write_file. This is not handled yet in zipline because the "how" of the retries is more an end-user concern.

Paves the way for addressing https://github.com/fringd/zipline/issues/78

julik commented 8 months ago

@fringd lmk 😉

fringd commented 8 months ago

busy weekend. glad to hear about the friendly fork and continued development of this lovely work ^_^

I'll cut a new version in a few weeks!