reidiculous/cloudfront-invalidator — pull request #4 by jelder (2012-05-24 18:06:32+00:00)
Title: Add more feedback for active invalidations

Three changes:

1. If `#invalidate` is passed a block, poll on `/2012-05-05/distribution/distribution_ID/invalidation/invalidation_ID` until the request completes.
2. If `#invalidate` encounters a `TooManyInvalidationsInProgress` error, retry until it succeeds.
3. The command line utility does not return until the invalidation request has completed.