From: Daniel Berger Date: 2009-01-10T07:37:51+09:00 Subject: Re: Pure Ruby Zlib::GzipWriter On Jan 8, 6:56 pm, "Charles L." wrote: > Roger Pack wrote: > > > Maybe you can collaborate? :) > > Let us know when somebody think it's about done :) > > > -=r > > I'm not sure there's much room for collaboration at the Zlib wrapper & > below level, but perhaps the GzipFile and upwards (ie Reader/Writer) > implementations can be shared. > > The big thing is just good specs, and the existing rubyspec ones could > use some work which will benefit all of us. > > I've added most of the remaining missing functionality to my version (ie > dynamic huffman tree's etc), and added back in the inflate functionality > from zliby, and put the result up on github -http://github.com/aquasync/ruby-zlib/tree/master Ok, I was able to download the project and I ran the specs: C:\ruby\src\ruby-zlib>spec specs .............FF....................... 1) 'Zlib::Deflate#params changes the deflate parameters' FAILED expected: "x\001\000\v\000\364\377abcdefghijk\002,'\027\000# \364\005<", got: "x\234KLJNIMK\317\310\314\312\316\311\005\000# \364\005<" (using ==) C:/ruby/src/ruby-zlib/specs/deflate/params_spec.rb:16 2) NameError in 'Zlib::Deflate#set_dictionary sets the dictionary' uninitialized constant Zlib::Deflate C:/ruby/src/ruby-zlib/specs/deflate/set_dictionary_spec.rb:6 C:/ruby/src/ruby-zlib/specs/deflate/set_dictionary_spec.rb:5:in `each' C:/ruby/src/ruby-zlib/specs/deflate/set_dictionary_spec.rb:5 Finished in 1.688 seconds 38 examples, 2 failures Ruby 1.8.6-p114 built with VC++ 8 Windows XP Pro RSpec 1.1.11 Regards, Dan