ZipGenerator
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'zip_generator'
And then execute:
$ bundle
Or install it yourself as:
$ gem install zip_generator
Usage
Zip generatoris a small customization added on top of ruby zip. Helps to create a zip file from array of files. Files should be in specific format : {name: "File Name" , data: "File Content"}
TODO: Extend funtinality for various formats.
Contributing
- Fork it ( http://github.com/[my-github-username]/zip_generator/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request