Sha256: 88940c73080553831a8a3cc851ec42f1f7b5431761b86d511256fbdda319d233
Contents?: true
Size: 637 Bytes
Versions: 3
Compression:
Stored size: 637 Bytes
Contents
module Dragonfly module Config module RMagickText def self.apply_configuration(app) app.configure do |c| c.datastore = DataStorage::TransparentDataStore.new c.register_analyser(Analysis::FileCommandAnalyser) c.register_processor(Processing::RMagickTextProcessor) c.register_encoder(Encoding::RMagickEncoder) c.parameters.add_shortcut :text, Hash do |_, options| { :processing_method => :text, :processing_options => options, :format => :png } end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dragonfly-0.6.2 | lib/dragonfly/config/r_magick_text.rb |
dragonfly-0.6.1 | lib/dragonfly/config/r_magick_text.rb |
dragonfly-0.6.0 | lib/dragonfly/config/r_magick_text.rb |