versapay/jekyll-s3 — pull request #3 by ckdake (2011-10-27 21:28:00+00:00)
Title: Add 'retry' and improve tests

This does some cleanup like ignoring .rvmrc, removing deprecation notices, etc.

I removed the 'include AWS::S3' to make stubbing out method calls in tests a little nicer.

Primarily, this adds in 'retry' functionality. When S3 times out during an upload, it's nice to retry that file instead of starting over from scratch. I included some basic tests for this, and the way those tests are written could be used as a model to get some better test coverage of the s3_upload! method.