- 03 May, 2018 1 commit
-
-
Jun Aruga committed
-
- 02 May, 2018 4 commits
-
-
Set available rbx name on Travis CI.
Daniel Mendler committed -
"rbx" does not exist in Travis.
Jun Aruga committed -
Update .travis.yml.
Daniel Mendler committed -
* Add Ruby 2.4 and 2.5. * Update old Ruby versions to use the latet version.
Jun Aruga committed
-
- 09 Aug, 2016 1 commit
-
-
Docs: Introduce changelog
Daniel Mendler committed
-
- 08 Aug, 2016 1 commit
-
-
[ci skip]
Jared Beck committed
-
- 02 Aug, 2016 2 commits
-
-
Daniel Mendler committed
-
Support IO-like objects efficiently
Janko Marohnić committed
-
- 26 Jul, 2016 1 commit
-
-
Previously if we passed in an IO object which doesn't respond to #seek, MimeMagic would read the whole IO into memory. And this is exactly the type of objects that the Shrine file upload library deals with. However, we can also "seek" by blank-reading that many bytes, and always rewinding to the beginning, which is what we've implemented in this change. This change also doesn't require IOs to respond to #binmode.
Janko Marohnić committed
-
- 25 Jul, 2016 1 commit
-
-
Improve performance
Daniel Mendler committed
-
- 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 1 commit
-
-
Daniel Mendler committed
-