lib/carrierwave/processing/mini_magick.rb in carrierwave-2.0.2 vs lib/carrierwave/processing/mini_magick.rb in carrierwave-2.1.0

- old
+ new

@@ -295,10 +295,10 @@ result = builder.call result.close # backwards compatibility (we want to eventually move away from MiniMagick::Image) if block - image = MiniMagick::Image.new(result.path, result) + image = ::MiniMagick::Image.new(result.path, result) image = block.call(image) result = image.instance_variable_get(:@tempfile) end FileUtils.mv result.path, current_path