- 25 Mar, 2015 2 commits
-
-
Daniel Mendler committed
-
Daniel Mendler committed
-
- 15 Mar, 2015 2 commits
-
-
Stephen Pike committed
-
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
Stephen Pike committed
-
- 10 Nov, 2014 1 commit
-
-
Daniel Mendler committed
-
- 29 Jul, 2013 6 commits
-
-
Daniel Mendler committed
-
Daniel Mendler committed
-
Daniel Mendler committed
-
Daniel Mendler committed
-
Daniel Mendler committed
-
Daniel Mendler committed
-
- 25 Jul, 2013 1 commit
-
-
Updated by_magic() to work with Ruby 2.0 - tries to call .b on string so they are compared as binary
wbond committed
-
- 18 Oct, 2012 1 commit
-
-
Daniel Mendler committed
-
- 20 Sep, 2012 2 commits
-
-
Ian Young committed
-
Daniel Mendler committed
-
- 19 Sep, 2012 2 commits
- 01 Jul, 2011 1 commit
-
-
minad committed
-
- 23 Jan, 2011 5 commits
- 03 Oct, 2010 3 commits
-
-
minad committed
-
minad committed
-
Jacques Crocker committed
-
- 28 Aug, 2010 1 commit
-
-
minad committed
-
- 27 Aug, 2010 1 commit
-
-
It's possible for vague magic to cause the wrong filetype to be detected. For instance, application/x-gmc-link is seriously vague (tons of files have "URL:" in the first 32 bytes!). This allows you to remove the conflicting filetypes that you're sure you'll never see.
Scott Bronson committed
-
- 21 Aug, 2010 2 commits
- 28 May, 2010 4 commits
- 20 Dec, 2009 1 commit
-
-
Daniel Mendler committed
-
- 10 May, 2009 1 commit
-
-
Daniel Mendler committed
-
- 09 May, 2009 1 commit
-
-
Daniel Mendler committed
-