amazonwebservices/aws-sdk-for-ruby — pull request #70 by bwbuchanan (2012-09-16 21:10:44+00:00)
Title: Fix re-use of stale temporary credentials.

When temporary credentials (i.e. from EC2Provider) expire,
the SDK refreshes the credential provider and tries again.
Unfortunately, only DefaultProvider has its cached credentials
cleared; it does not propagate this to the sub-providers.
The next time the credentials are accessed, DefaultProvider's
credentials are re-cached from the stale sub-provider credentials.

This is fixed by making DefaultProvider#refresh also call #refresh
on all of its sub-providers.