Sha256: a683e1b8c648d2b3be53b2df7c90e723223b58e98f4e256b65c291790d590d7d

Contents?: true

Size: 1.21 KB

Versions: 38

Compression:

Stored size: 1.21 KB

Contents

module Uploader
  module MimeTypeGroups
  
    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']
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
jbasdf-uploader-0.1.8 lib/uploader/mime_type_groups.rb
uploader-3.1.4 lib/uploader/mime_type_groups.rb
uploader-3.1.3 lib/uploader/mime_type_groups.rb
uploader-3.1.2 lib/uploader/mime_type_groups.rb
uploader-3.1.1 lib/uploader/mime_type_groups.rb
uploader-3.1.0 lib/uploader/mime_type_groups.rb
uploader-3.0.2 lib/uploader/mime_type_groups.rb
uploader-3.0.1 lib/uploader/mime_type_groups.rb
uploader-3.0.0 lib/uploader/mime_type_groups.rb
uploader-2.0.2 lib/uploader/mime_type_groups.rb
uploader-2.0.0 lib/uploader/mime_type_groups.rb
uploader-1.0.3 lib/uploader/mime_type_groups.rb
uploader-1.0.2 lib/uploader/mime_type_groups.rb
uploader-1.0.1 lib/uploader/mime_type_groups.rb
uploader-1.0.0 lib/uploader/mime_type_groups.rb
uploader-0.2.8 lib/uploader/mime_type_groups.rb
uploader-0.2.7 lib/uploader/mime_type_groups.rb
uploader-0.2.6 lib/uploader/mime_type_groups.rb
uploader-0.2.5 lib/uploader/mime_type_groups.rb
uploader-0.2.4 lib/uploader/mime_type_groups.rb