Module: Uploader::MimeTypeGroups

Defined in:
lib/uploader/mime_type_groups.rb

Constant Summary collapse

IMAGE_TYPES =
['image/jpeg', 'image/pjpeg', 'image/gif', 'image/png', 'image/x-png', 'image/jpg']
MP3_TYPES =
['audio/mpeg', 'audio/mpeg3', 'audio/x-mpeg-3', 'video/mpeg', 'video/x-mpeg']
EXCEL_TYPES =
['application/excel', 'application/excel', 'application/x-excel', 'application/x-msexcel', 'application/excel',
'application/vnd.ms-excel', 'application/x-excel', 'application/excel', 'application/vnd.ms-excel', 
'application/x-excel', 'application/excel', 'application/x-excel', 'application/excel', 'application/x-excel', 'application/excel',
'application/vnd.ms-excel', 'application/x-excel', 'application/excel', 'application/vnd.ms-excel',
'application/x-excel', 'application/excel', 'application/vnd.ms-excel', 'application/x-excel',
'application/x-msexcel', 'application/excel', 'application/x-excel', 'application/excel',
'application/x-excel', 'application/excel', 'application/vnd.ms-excel', 'application/x-excel',
'application/x-msexcel', 'application/vnd.oasis.opendocument.spreadsheet']
PDF_TYPES =
['application/pdf']
WORD_TYPES =
['application/word', 'application/msword']
TEXT_TYPES =
['text/plain']