Sha256: be8454c022a8b0d0c5de35b88142ec040f6e66055b0b50d2de59e8f61823192a

Contents?: true

Size: 899 Bytes

Versions: 30

Compression:

Stored size: 899 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

30 entries across 30 versions & 1 rubygems

Version Path
alchemy_cms-4.6.7 lib/alchemy/filetypes.rb
alchemy_cms-4.6.6 lib/alchemy/filetypes.rb
alchemy_cms-4.6.5 lib/alchemy/filetypes.rb
alchemy_cms-4.5.1 lib/alchemy/filetypes.rb
alchemy_cms-4.4.5 lib/alchemy/filetypes.rb
alchemy_cms-4.6.4 lib/alchemy/filetypes.rb
alchemy_cms-4.6.3 lib/alchemy/filetypes.rb
alchemy_cms-4.6.2 lib/alchemy/filetypes.rb
alchemy_cms-4.6.1 lib/alchemy/filetypes.rb
alchemy_cms-4.6.0 lib/alchemy/filetypes.rb
alchemy_cms-4.5.0 lib/alchemy/filetypes.rb
alchemy_cms-4.4.4 lib/alchemy/filetypes.rb
alchemy_cms-4.4.3 lib/alchemy/filetypes.rb
alchemy_cms-4.4.2 lib/alchemy/filetypes.rb
alchemy_cms-4.4.1 lib/alchemy/filetypes.rb
alchemy_cms-4.4.0 lib/alchemy/filetypes.rb
alchemy_cms-4.3.2 lib/alchemy/filetypes.rb
alchemy_cms-4.2.4 lib/alchemy/filetypes.rb
alchemy_cms-4.3.1 lib/alchemy/filetypes.rb
alchemy_cms-4.2.3 lib/alchemy/filetypes.rb