app/cms/scrivito/binary.rb in scrivito_sdk-1.15.0 vs app/cms/scrivito/binary.rb in scrivito_sdk-1.16.0.rc1

- old
+ new

@@ -193,11 +193,11 @@ # {Scrivito::ControllerHelper#scrivito_path #scrivito_path} helpers transform images # asynchronously and don't place additional load onto requests. # # @param [Hash] definition transformation definition # - # @option definition [Fixnum,String] :width The width in pixels of the output image. Must be a + # @option definition [Integer,String] :width The width in pixels of the output image. Must be a # positive integer. # # If only this dimension has been specified, the other dimension is calculated automatically to # preserve the aspect ratio of the input image. # @@ -212,11 +212,11 @@ # larger than the source image, i.e. the given width and height may be adjusted to prevent the # dimensions of the output image from exceeding those of the input image. # # If the given width and height are adjusted, the aspect ratio is preserved. # - # @option definition [Fixnum,String] :height The height in pixels of the output image. Must be a + # @option definition [Integer,String] :height The height in pixels of the output image. Must be a # positive integer. # # If only this dimension has been specified, the other dimension is calculated automatically to # preserve the aspect ratio of the input image. # @@ -246,10 +246,10 @@ # the aspect ratio by cropping any excess image data. The resulting image will match both the given # width and height without distorting the image. Cropping is done centered by default, # i.e. the center of the image is preserved. The area to preserve can be configured using # the +crop+ parameter. # - # @option definition [Fixnum,String] :quality Controls the output quality of lossy file formats. + # @option definition [Integer,String] :quality Controls the output quality of lossy file formats. # Applies if the format is +"jpg"+. Valid values are in the range from +0+ to +100+. # The default value is +75+. # # @option definition [Symbol, String] :crop Controls the area to preserve when cropping and # is only applicable if +fit+ is set to +crop+. Valid values are +center+, +top+, +left+,