lib/imgkit/configuration.rb in imgkit-1.2.1 vs lib/imgkit/configuration.rb in imgkit-1.3.0

- old
+ new

@@ -1,12 +1,13 @@ class IMGKit class Configuration - attr_accessor :meta_tag_prefix, :wkhtmltoimage, :default_options + attr_accessor :meta_tag_prefix, :wkhtmltoimage, :default_options, :default_format def initialize @meta_tag_prefix = 'imgkit-' - @wkhtmltoimage = '/usr/local/bin/wkhtmltoimage' + @wkhtmltoimage = '/usr/local/bin/wkhtmltoimage' @default_options = {} + @default_format = :jpg end end class << self attr_accessor :configuration