app/jobs/fogged/resources/aws_thumbnail_job.rb in fogged-0.0.6 vs app/jobs/fogged/resources/aws_thumbnail_job.rb in fogged-0.0.7

- old
+ new

@@ -7,12 +7,10 @@ step = 100 / Fogged.thumbnail_sizes.size Fogged.thumbnail_sizes.each_with_index do |size, index| Tempfile.open(["thumbnail", ".png"]) do |t| MiniMagick::Tool::Convert.new do |c| c << resource.url - c.resize("#{size}^") - c.gravity("center") - c.extent("#{size}") + c.resize("#{size}") c << t.path end Fogged.resources.files.create( :key => resource.send(:fogged_name_for, :thumbnails, index),