lib/paperclip-compression/paperclip/compression.rb in paperclip-compression-0.3.11 vs lib/paperclip-compression/paperclip/compression.rb in paperclip-compression-0.3.12

- old
+ new

@@ -20,10 +20,10 @@ def make_png PaperclipCompression::Png.make(@file, @options) end def content_type - @file.is_a?(Paperclip::AbstractAdapter) ? @file.content_type : ImageSpec.new(@file).content_type + @file.is_a?(Paperclip::AbstractAdapter) ? @file.content_type : Paperclip::ContentTypeDetector.new(@file.path).detect end end end