lib/image_resources.rb in mojo_magick-0.4.3 vs lib/image_resources.rb in mojo_magick-0.4.4

- old
+ new

@@ -113,11 +113,12 @@ # returns a string suitable for passing as a set of imagemagick params # that contains all the limit constraints def get_limits_as_params retval = '' + # we upcase the value here for newer versions of ImageMagick (>=6.8.x) @@resource_limits.each do |type, value| - retval += " -limit #{type.to_s} #{value} " + retval += " -limit #{type.to_s} #{value.upcase} " end retval end end end