Name |
Last commit
|
Last Update |
---|---|---|
lib | ||
script | ||
test | ||
.gitignore | ||
.travis.yml | ||
.yardopts | ||
Gemfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
mimemagic.gemspec |
The freedesktop magic doesn't work for the Office 2007+ files, it detects them all as application/zip. I have magic which detects them, but it requires looking at 2,000 byte ranges, too much for their project (which has to support things like file browsers). Since you already warn that `by_magic` is slow, it'd be nice to support it here at least. This would allow the paperclip project to use mimemagic and stop relying on the `file` binary: - https://github.com/thoughtbot/paperclip/issues/1530#issuecomment-43375497 Support is enabled through an overlay, required with require 'mimemagic/overlay' Documentation is in the README
Name |
Last commit
|
Last Update |
---|---|---|
lib | Loading commit data... | |
script | Loading commit data... | |
test | Loading commit data... | |
.gitignore | Loading commit data... | |
.travis.yml | Loading commit data... | |
.yardopts | Loading commit data... | |
Gemfile | Loading commit data... | |
LICENSE | Loading commit data... | |
README.md | Loading commit data... | |
Rakefile | Loading commit data... | |
mimemagic.gemspec | Loading commit data... |