Sha256: 8dff08b451ee4fce18d2f4f3c3267d9d4aff744ad45e92daf971ce3b6f5a166d

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

SocialStream::Documents.setup do |config| 
  # Configure picture thumbnails
  #
  # config.picture_styles = {
  #   :"170x127#" => ["170x127#"],
  #   # this one preserves A4 proportion: 210x297
  #   :"80x113#" => ["80x113#"],
  #   :"500" => ["500>"]
  #  }

  # Configure audio thumbnails
  #
  # config.audio_styles = {
  #    webma: {
  #      format: 'webm',
  #      processors: [ :ffmpeg ]
  #    },
  #    waveform: {
  #      format: :png,
  #      convert_options: {
  #        color: :transparent,
  #        background_color: '#333333',
  #        width: 460,
  #        height: 75
  #      },
  #      processors: [ :waveform ]
  #    }
  # }

  # Configure video thumbnails
  #
  #  @@video_styles = {
  #    :webm => { :format => 'webm' },
  #    :flv  => { :format => 'flv' },
  #    :mp4  => { :format => 'mp4' },
  #    :"170x127#" => { :geometry => "170x127#", :format => 'png', :time => 5 }
  #  }

  # List of mime types that have an icon defined
  # config.icon_mime_types  = {
  #    default: :default,
  #    types: [
  #      :text, :image, :audio, :video
  #    ],
  #    subtypes: [
  #      :txt, :ps, :pdf, :sla, 
  #      :odt, :odp, :ods, :doc, :ppt, :xls, :rtf,
  #      :rar, :zip,
  #      :jpeg, :gif, :png, :bmp, :xcf,
  #      :wav, :ogg, :webma, :mpeg,
  #      :flv, :webm, :mp4
  #    ]
  #  }
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
social_stream-2.0.0 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.0.0 lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.0.0.beta3 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.0.0.beta3 lib/generators/social_stream/documents/templates/initializer.rb