lib/cloudinary/carrier_wave/process.rb in cloudinary-1.0.40 vs lib/cloudinary/carrier_wave/process.rb in cloudinary-1.0.41

- old
+ new

@@ -139,8 +139,9 @@ else # Try to auto-detect format format = Cloudinary::CarrierWave.split_format(original_filename || "").last format ||= "png" # TODO Default format? end - format.to_s.downcase + format = format.to_s.downcase + Cloudinary::FORMAT_ALIASES[format] || format end end