lib/io_streams/zip/reader.rb in iostreams-1.1.0 vs lib/io_streams/zip/reader.rb in iostreams-1.1.1

- old
+ new

@@ -46,10 +46,10 @@ else # Read from a zip file or stream, decompressing the contents as it is read # The input stream from the first file found in the zip file is passed # to the supplied block def self.file(file_name, entry_file_name: nil, &block) - Utils.load_soft_dependency('rubyzip v1.x', 'Read Zip', 'zip') unless defined?(::Zip) + Utils.load_soft_dependency("rubyzip v1.x", "Read Zip", "zip") unless defined?(::Zip) ::Zip::File.open(file_name) do |zip_file| if entry_file_name zip_file.get_input_stream(entry_file_name, &block) else