lib/sprockets/processing.rb in sprockets-3.0.0.beta.1 vs lib/sprockets/processing.rb in sprockets-3.0.0.beta.2

- old
+ new

@@ -178,11 +178,11 @@ result = processor.call(input.merge(data: data, metadata: metadata)) case result when NilClass # noop when Hash - data = result[:data] + data = result[:data] if result.key?(:data) metadata = metadata.merge(result) metadata.delete(:data) when String data = result else @@ -193,10 +193,10 @@ { source: data, charset: data.encoding.name.downcase, length: data.bytesize, - digest: digest_class.hexdigest(data), + digest: digest(data), metadata: metadata } end # Internal: Two dimensional Hash of reducer functions for a given mime type