lib/carrierwave/base64/base64_string_io.rb in carrierwave-base64-1.7 vs lib/carrierwave/base64/base64_string_io.rb in carrierwave-base64-1.8

- old
+ new

@@ -7,9 +7,10 @@ def initialize(encoded_file) description, encoded_bytes = encoded_file.split(",") raise ArgumentError unless encoded_bytes + raise ArgumentError if encoded_bytes.eql?("(null)") @file_format = get_file_format description bytes = ::Base64.decode64 encoded_bytes super bytes