Sha256: aa4d73d818db42b100796f137963f9769cefbf4a1713123738b284bf2a3b5d75
Contents?: true
Size: 806 Bytes
Versions: 4
Compression:
Stored size: 806 Bytes
Contents
module Spire class Mime def return_mimes return @mime_types = { ".html" => "text/html", ".text" => "text/plain", ".js" => "text/javascript", ".css" => "text/css", ".ics" => "text/calendar", ".csv" => "text/csv", ".png" => "image/png", ".jpeg" => "image/jpeg", ".gif" => "image/gif", ".bmp" => "image/bmp", ".tiff" => "image/tiff", ".mpeg" => "video/mpeg", ".xml" => "application/xml", ".rss" => "application/rss+xml", ".atom" => "application/atom+xml", ".yaml" => "application/x-yaml", ".json" => "application/json", ".pdf" => "application/pdf", ".zip" => "application/zip" } end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
spire-0.3.3 | lib/spire/resource/mime.rb |
spire-0.3.2 | lib/spire/resource/mime.rb |
spire-0.3.0 | lib/spire/resource/mime.rb |
spire-0.2.4 | lib/spire/resource/mime.rb |