calculate fingerprints efficiently on large files using Digest::MD5.file()
calculate fingerprints efficiently on large files using Digest::MD5.file()

The tests would broken for StringIO, because it doesn't have a real "path". I've modify the patch to make the test stop complaining [@sikachu]

This closes #470
betesh/paperclip,victorngkp/paperclip,Sporky023/paperclip,betesh/paperclip,keathley/paperclip,felipemathies/paperclip,mehulkar/paperclip,maintux/paperclip,medcat/paperclip,howaboutwe/paperclip,manorie/paperclip,frankpinto/paperclip,mrb/paperclip,keathley/paperclip,soramugi/paperclip,onursarikaya/paperclip,jonathandean/paperclip_tod,sopheak-se/paperclip,12spokes/paperclip,mrgilman/paperclip,rpbaptist/paperclip,sideci-sample/sideci-sample-paperclip,freeslugs/paperclip,aditya01933/paperclip,dgynn/paperclip,Cohealo/paperclip,joshisa/paperclip,mrb/paperclip,InesCARodrigues/paperclip,greatbody/paperclip,kerrizor/paperclip,freeslugs/paperclip,pcorliss/paperclip,aditya01933/paperclip,agcantarelli/paperclip,degica/paperclip,Sporky023/paperclip,soramugi/paperclip,alexandrz/paperclip,dgynn/paperclip,ScotterC/paperclip,sopheak-se/paperclip,cmaion/paperclip,Leadformance/paperclip,zurb/paperclip,tylerwillingham/paperclip,yukas/paperclip,greatbody/paperclip,zurb/paperclip,justanshulsharma/paperclip,tylerwillingham/paperclip,pandamako/paperclip,carnivalmobile/paperclip,bdewater/paperclip,Leadformance/paperclip,crowdtap/paperclip,mdkalish/paperclip,raow/paperclip,pandamako/paperclip,gfvcastro/paperclip,ScotterC/paperclip,bdewater/paperclip,InesCARodrigues/paperclip,medcat/paperclip,manorie/paperclip,degica/paperclip,onursarikaya/paperclip,maintux/paperclip,frankpinto/paperclip,Cohealo/paperclip,gfvcastro/paperclip,tiegz/paperclip,danielwanja/paperclip,mdkalish/paperclip,mrgilman/paperclip,felipemathies/paperclip,best-teacher/paperclip-old,agcantarelli/paperclip,raow/paperclip,victorngkp/paperclip,tiegz/paperclip,rpbaptist/paperclip,cmaion/paperclip,alexandrz/paperclip,mehulkar/paperclip,joshisa/paperclip,justanshulsharma/paperclip,crowdtap/paperclip,Flameeyes/paperclip,fxposter/paperclip,hooroo/paperclip,carnivalmobile/paperclip