There’s a project out there called “zliby”  which partially
implements the zlib library. Unfortunately, only the Zlib::GzipReader
class has been implemented so far. I’d like to have a pure Ruby
implementation of the Zlib::GzipWriter class.
I’ve put in a feature request  but I’d like to see it expedited. In
order to expedite this, I’m offering $100 to anyone who can implement
it. In order to qualify for the bounty, your Zlib::GzipWriter class
must meet the following criteria:
- It must be pure Ruby. No extensions. No FFI.
- It must have tests (and pass them)
- It must match the current Zlib::GzipWriter interface
- It must be cross platform
- It must be able to generate a proper gem file from a gemspec (the
- It must be contributed back to the zliby project
- It must be done within 60 days of this post
If these conditions are met, you will receive your bounty via PayPal.
What’s my motivation? Mainly MS Windows. I run a hand built version of
Ruby, and getting the zlib wrapper to build with MS VC++ is such a
colossal PITA that I’d like to avoid it completely. Beyond that,
however, is that it eliminates a third party dependency (zlib) and
gives me the ability to create gems. At the moment I can only read
Any takers? Any matchers?