Description: Modified test to work with ruby 1.9.x
Author: Brian Thomason <brian.thomason@canonical.com>

--- ruby-rubyzip2-2.0.1.orig/test/ziptest.rb
+++ ruby-rubyzip2-2.0.1/test/ziptest.rb
@@ -654,11 +654,11 @@ module Enumerable
   def compare_enumerables(otherEnumerable)
     otherAsArray = otherEnumerable.to_a
     index=0
-    each_with_index {
+    test = each_with_index {
       |element, index|
       return false unless yield(element, otherAsArray[index])
-    }
-    return index+1 == otherAsArray.size
+    }.size
+    return test == otherAsArray.size
   end
 end
 
