Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix class level methods for MiniMagick

  • Loading branch information...
commit ae1112bcd20f50e31c06111f6c61c1e45870e67f 1 parent ca49aeb
Jonas Nicklas jnicklas authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/carrierwave/processing/mini_magick.rb
6 lib/carrierwave/processing/mini_magick.rb
View
@@ -60,7 +60,7 @@ module MiniMagick
module ClassMethods
def convert(format)
- process :resize_to_limit => format
+ process :convert => format
end
def resize_to_limit(width, height)
@@ -75,10 +75,6 @@ def resize_to_fill(width, height)
process :resize_to_fill => [width, height]
end
- def resize_and_pad(width, height)
- process :resize_to_fit => [width, height]
- end
-
def resize_and_pad(width, height, background=:transparent, gravity=::Magick::CenterGravity)
process :resize_and_pad => [width, height, background, gravity]
end
Please sign in to comment.
Something went wrong with that request. Please try again.