sj26/zipstream — pull request #2 by porras (2012-08-13 11:29:05+00:00)
Title: Support store method

This pull request implements a `:method` option so you can specify you want to `:store` a file (instead of `:deflate` it, which was the previous behavior, and still the default one):

```ruby
zip.write 'file1.txt', 'this file will be stored', :method => :store
zip.write 'file2.txt', 'this file will be deflated', :method => :deflate
zip.write 'file3.txt', 'this file will be deflated too'
```

Storing a file instead of deflating it:

1) is more efficient in terms of space for very small files
2) saves you a lot of CPU work in exchange of a little space with some kind of big already compressed files