lib/eligible/encryptor.rb in eligible-3.0.0 vs lib/eligible/encryptor.rb in eligible-3.1.0.beta1
- old
+ new
@@ -82,10 +82,10 @@
else
# This is deprecated and needs to be changed.
cipher.pkcs5_keyivgen(options[:key])
end
- yield cipher, options if block_given?
+ yield cipher, **options if block_given?
value = options[:value]
if cipher.authenticated?
if encryption?(cipher_method)