Sha256: 9aa626f29daf597a328c4568407e3eb24a57fac54bc63a7cfbc1e9d441fdaff0

Contents?: true

Size: 1.42 KB

Versions: 16

Compression:

Stored size: 1.42 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 ]
  #    },
  #    # You need to add the `paperclip_waveform` gem to your Gemfile
  #    # to get pngs with the audio wave form
  #    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

16 entries across 16 versions & 2 rubygems

Version Path
social_stream-2.2.2 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.2.1 lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.2.1 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.2.0 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.2.0 lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.1.1 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.1.0 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.1.0 lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.0.4 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.0.4 lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.0.3 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.0.3 lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.0.2 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.0.2 lib/generators/social_stream/documents/templates/initializer.rb
social_stream-2.0.1 documents/lib/generators/social_stream/documents/templates/initializer.rb
social_stream-documents-2.0.1 lib/generators/social_stream/documents/templates/initializer.rb