siuying/websnap — pull request #6 by willywos (2012-12-11 16:20:17+00:00)
Title: Adding wkhtmltoimage-amd64 

I was looking at getting this to work on heroku. I'm not 100% sure if it will work there but one of the support tickets (https://github.com/siuying/websnap/issues/5) said that adding wkhtmltoimage-amd64 library worked fine.

Diff of changes:
https://github.com/willywos/websnap/compare/amd64

Summary of changes:
- Added wkhtmltoimage-amd64 to the bin directory.
- Created a new class called WkhtmlImageExecutable in the bin directory so wkhtmltoimage-proxy could use it. I'm not sure if that is the best place for it though. I don't have much experience working with gems. There are tests for the new class in spec/wkhtml_image_executable_spec.rb.
- Updated spec/websnap_spec.rb because I was getting a failing test on default options. The only default option I could find was for format the other options in the test didn't appear to be valid.