lib/carrierwave/processing/mini_magick.rb in carrierwave-1.2.2 vs lib/carrierwave/processing/mini_magick.rb in carrierwave-1.2.3

- old
+ new

@@ -59,9 +59,16 @@ require "mini_magick" rescue LoadError => e e.message << " (You may need to install the mini_magick gem)" raise e end + + prepend Module.new { + def initialize(*) + super + @format = nil + end + } end module ClassMethods def convert(format) process :convert => format