examples/create-zip-container in zip-container-1.1.0 vs examples/create-zip-container in zip-container-2.0.0
- old
+ new
@@ -63,9 +63,9 @@
c.add("dir/code.rb", __FILE__)
# Add a explanation of this file.
c.comment = "This is an example Container file!"
end
-rescue ZipContainer::MalformedContainerError, Zip::ZipError => err
+rescue ZipContainer::MalformedContainerError, ZipContainer::ZipError => err
puts err.to_s
exit 1
end