lib/carrierwave/processing/rmagick.rb in carrierwave-1.2.1 vs lib/carrierwave/processing/rmagick.rb in carrierwave-1.2.2

- old
+ new

@@ -354,9 +354,10 @@ write_block = create_info_block(options[:write]) if options[:format] || @format frames.write("#{options[:format] || @format}:#{current_path}", &write_block) move_to = current_path.chomp(File.extname(current_path)) + ".#{options[:format] || @format}" + file.content_type = ::MIME::Types.type_for(move_to).first.to_s file.move_to(move_to, permissions, directory_permissions) else frames.write(current_path, &write_block) end