Sha256: c1c8fcb2468bfcc87cce034cf5af2584e1466aea68f4229fcb331414389065ef
Contents?: true
Size: 340 Bytes
Versions: 2
Compression:
Stored size: 340 Bytes
Contents
processors = Dragonfly.app(:workarea).processors.names Dragonfly.app(:workarea).configure do unless processors.include?(:facet_swatch) processor :facet_swatch do |content| content.process!(:encode, :jpg, Workarea.config.jpg_encode_options) content.process!(:thumb, '20x') content.process!(:optim) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
workarea-swatches-1.0.6 | config/initializers/dragonfly.rb |
workarea-swatches-1.0.5 | config/initializers/dragonfly.rb |