lib/meibo/reader.rb in meibo-0.21.0 vs lib/meibo/reader.rb in meibo-0.22.0

- old
+ new

@@ -3,16 +3,16 @@ require "csv" require "zip" module Meibo class Reader - def self.open(file_path, profile: Meibo.default_profile) + def self.open(file_path, profile: Meibo.current_profile) Zip::File.open(file_path) do |zipfile| yield new(zipfile: zipfile, profile: profile) end end - def self.open_buffer(io, profile: Meibo.default_profile) + def self.open_buffer(io, profile: Meibo.current_profile) Zip::File.open_buffer(io) do |zipfile| yield new(zipfile: zipfile, profile: profile) end end