put_next_entry broke backwards compatibility in rev 1.45
Brought to you by:
thomas
In revision 1.45, put_next_entry was modified to allow setting the comment-field, among other things. This was done in a backwards-incompatible way:
http://rubyzip.cvs.sourceforge.net/viewvc/rubyzip/rubyzip/lib/zip/zip.rb?r1=1.44&r2=1.45
Ruby does not have keyword arguments like Python, so inserting a new parameter in the middle (as this change did) will break existing code.
This effectively breaks all code which specifies the "level" parameter.
Anonymous