Sha256: 6be14019166f676e7c585fd249e75dfd5329a7d4c84122a1e3a7d0a9242c62ff

Contents?: true

Size: 904 Bytes

Versions: 29

Compression:

Stored size: 904 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  module Filetypes
    ARCHIVE_FILE_TYPES = ["application/zip", "application/x-rar"]

    AUDIO_FILE_TYPES = [
      "audio/mpeg",
      "audio/mp4",
      "audio/wav",
      "audio/x-wav",
    ]

    IMAGE_FILE_TYPES = [
      "image/gif",
      "image/jpeg",
      "image/png",
      "image/svg+xml",
      "image/tiff",
      "image/x-psd",
    ]

    VCARD_FILE_TYPES = ["text/x-vcard", "application/vcard"]

    VIDEO_FILE_TYPES = [
      "application/x-flash-video",
      "video/x-flv",
      "video/mp4",
      "video/mpeg",
      "video/quicktime",
      "video/x-msvideo",
      "video/x-ms-wmv",
    ]

    TEXT_FILE_TYPES = [
      "application/rtf",
      "text/plain",
    ]

    EXCEL_FILE_TYPES = [
      "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
      "application/vnd.ms-excel",
      "text/csv",
    ]
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
alchemy_cms-5.1.10 lib/alchemy/filetypes.rb
alchemy_cms-5.0.10 lib/alchemy/filetypes.rb
alchemy_cms-5.1.9 lib/alchemy/filetypes.rb
alchemy_cms-5.0.9 lib/alchemy/filetypes.rb
alchemy_cms-5.1.8 lib/alchemy/filetypes.rb
alchemy_cms-5.0.8 lib/alchemy/filetypes.rb
alchemy_cms-5.0.7 lib/alchemy/filetypes.rb
alchemy_cms-5.1.7 lib/alchemy/filetypes.rb
alchemy_cms-5.1.6 lib/alchemy/filetypes.rb
alchemy_cms-5.0.6 lib/alchemy/filetypes.rb
alchemy_cms-5.1.5 lib/alchemy/filetypes.rb
alchemy_cms-5.0.5 lib/alchemy/filetypes.rb
alchemy_cms-5.1.4 lib/alchemy/filetypes.rb
alchemy_cms-5.0.4 lib/alchemy/filetypes.rb
alchemy_cms-5.1.3 lib/alchemy/filetypes.rb
alchemy_cms-5.1.2 lib/alchemy/filetypes.rb
alchemy_cms-5.1.1 lib/alchemy/filetypes.rb
alchemy_cms-5.0.3 lib/alchemy/filetypes.rb
alchemy_cms-5.1.0 lib/alchemy/filetypes.rb
alchemy_cms-5.0.2 lib/alchemy/filetypes.rb