- 23 Jul, 2016 3 commits
-
-
If you speed up detection of common MIME types, you speed up MIME type detection in general.
Janko Marohnić committed -
Janko Marohnić committed
-
Previously we had to separate branches which did the same thing, one was for IOs and other was for strings. However, if we wrap the string into a StringIO, we can use the same branch for both.
Janko Marohnić committed
-
- 28 Jun, 2016 2 commits
-
-
Updated to shared-mime-info 1.6
Daniel Mendler committed
-
- 27 May, 2016 4 commits
-
-
Add support for returning all possible mime types by magic.
Daniel Mendler committed -
Rob Cherry committed
-
Rob Cherry committed
-
Rob Cherry committed
-
- 15 Feb, 2016 1 commit
-
-
Fedot Praslov committed
-
- 04 Jan, 2016 1 commit
-
-
Daniel Mendler committed
-
- 14 Aug, 2015 2 commits
-
-
avoid loose matching on msoffice formats in overlay.rb
Daniel Mendler committed -
Gurusamy Sarathy committed
-
- 07 Aug, 2015 1 commit
-
-
Extend the range we search for MS files
Daniel Mendler committed
-
- 05 Aug, 2015 1 commit
-
-
Sometimes the first instance of the word/ or ppt/ is not in the first 2000 bytes - 5000 should cover it.
Jordan Thoms committed
-
- 27 Jul, 2015 2 commits
-
-
replace test images by images from public domain
Daniel Mendler committed -
The original images were licensed under CC-BY-SA-2.5, considered non-free by the Debian project https://commons.wikimedia.org/wiki/File:Phalaenopsis_%28aka%29.jpg The new files http://www.public-domain-image.com/free-images/flora-plants/flowers/orchid-flower-pictures/white-and-red-orchid are licensed under the CC public domain
Cédric Boutillier committed
-
- 25 Mar, 2015 2 commits
-
-
Daniel Mendler committed
-
Daniel Mendler committed
-
- 21 Mar, 2015 2 commits
-
-
Daniel Mendler committed
-
Handle .docx, .xlsx, and .pptx with extra magic
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
-
- 20 Apr, 2014 1 commit
-
-
Daniel Mendler committed
-
- 04 Jan, 2014 1 commit
-
-
Daniel Mendler committed
-
- 27 Oct, 2013 1 commit
-
-
[ci skip]
Daniel Mendler committed
-
- 29 Sep, 2013 1 commit
-
-
Daniel Mendler committed
-
- 29 Jul, 2013 9 commits
-
-
Daniel Mendler committed
-
Daniel Mendler committed
-
Daniel Mendler committed
-
Daniel Mendler committed
-
[ci skip]
Daniel Mendler committed -
[ci skip]
Daniel Mendler committed -
Daniel Mendler committed
-
Daniel Mendler committed
-
Daniel Mendler committed
-
- 25 Jul, 2013 3 commits
-
-
Fixed for Ruby 2.0
Daniel Mendler committed -
Updated by_magic() to work with Ruby 2.0 - tries to call .b on string so they are compared as binary
wbond committed -
wbond committed
-