Sha256: 4e00781091d465100b395b2ca5210c1ffae35433d166cb78d921f0855d68c2f8

Contents?: true

Size: 1.07 KB

Versions: 12

Compression:

Stored size: 1.07 KB

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')

MimeMagic.add('text/x-remind',
              extensions: 'rem',
              parents: 'text/plain',
              comment: 'Remind Calendar File')

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
olelo-0.9.15 config/initializers/00-mime_types.rb
olelo-0.9.14 config/initializers/00-mime_types.rb
olelo-0.9.13 config/initializers/00-mime_types.rb
olelo-0.9.12 config/initializers/00-mime_types.rb
olelo-0.9.11 config/initializers/00-mime_types.rb
olelo-0.9.10 config/initializers/00-mime_types.rb
olelo-0.9.9 config/initializers/00-mime_types.rb
olelo-0.9.8 config/initializers/00-mime_types.rb
olelo-0.9.7 config/initializers/00-mime_types.rb
olelo-0.9.6 config/initializers/00-mime_types.rb
olelo-0.9.5 config/initializers/00-mime_types.rb
olelo-0.9.4 config/initializers/00-mime_types.rb