lib/io_streams/symmetric_encryption/reader.rb in iostreams-1.0.0.beta2 vs lib/io_streams/symmetric_encryption/reader.rb in iostreams-1.0.0.beta3

- old
+ new

@@ -2,10 +2,10 @@ module SymmetricEncryption class Reader < IOStreams::Reader # read from a file/stream using Symmetric Encryption def self.stream(input_stream, **args, &block) unless defined?(SymmetricEncryption) - Utils.load_dependency('symmetric-encryption', '.enc streaming') + Utils.load_soft_dependency('symmetric-encryption', '.enc streaming') end ::SymmetricEncryption::Reader.open(input_stream, **args, &block) end end