Sha256: a56127e710280f335757a8dd5c6653bfe4ae645aabc8f445ef20d58cf730f3a1

Contents?: true

Size: 995 Bytes

Versions: 4

Compression:

Stored size: 995 Bytes

Contents

# Register some mime types

MimeMagic.add('application/x-empty', :comment => 'Empty file')
MimeMagic.add('inode/directory',     :comment => 'Directory')

MimeMagic.add('text/x-creole',
              :extensions => %w(creole text),
              :parents => 'text/plain',
              :comment => 'Creole Wiki Text File')

MimeMagic.add('text/x-mediawiki',
              :extensions => %w(mediawiki mw),
              :parents => 'text/plain',
              :comment => 'MediaWiki Text File')

MimeMagic.add('text/x-markdown',
              :extensions => %w(markdown md mdown mkdn mdown),
              :parents => 'text/plain',
              :comment => 'Markdown Text File')

MimeMagic.add('text/x-textile',
              :extensions => 'textile',
              :parents => 'text/plain',
              :comment => 'Textile Text File')

MimeMagic.add('text/x-orgmode',
              :extensions => 'org',
              :parents => 'text/plain',
              :comment => 'Emacs Orgmode File')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
olelo-0.9.3 config/initializers/00-mime_types.rb
olelo-0.9.2 config/initializers/00-mime_types.rb
olelo-0.9.1 config/initializers/00-mime_types.rb
olelo-0.9.0 config/initializers/00-mime_types.rb