1. 02 Aug, 2016 1 commit
  2. 26 Jul, 2016 1 commit
    • Support IO-like objects efficiently · 9ebbf0d9
      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
  3. 23 Jul, 2016 3 commits
  4. 28 Jun, 2016 1 commit
  5. 27 May, 2016 2 commits
  6. 15 Feb, 2016 1 commit
  7. 04 Jan, 2016 1 commit
  8. 14 Aug, 2015 1 commit
  9. 05 Aug, 2015 1 commit
  10. 25 Mar, 2015 2 commits
  11. 15 Mar, 2015 2 commits
  12. 10 Nov, 2014 1 commit
  13. 29 Jul, 2013 6 commits
  14. 25 Jul, 2013 1 commit
  15. 18 Oct, 2012 1 commit
  16. 20 Sep, 2012 2 commits
  17. 19 Sep, 2012 2 commits
  18. 01 Jul, 2011 1 commit
  19. 23 Jan, 2011 5 commits
  20. 03 Oct, 2010 3 commits
  21. 28 Aug, 2010 1 commit
  22. 27 Aug, 2010 1 commit
    • add the remove function · 84720bb8
      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