KnpLabs/Gaufrette — pull request #109 by jenkoian (2012-11-23 15:54:39+00:00)
Title: Set the region on checking buckets also

When a bucket is created, a region gets passed, however, regions should also be taken into consideration when buckets already exist, otherwise if you are not using the default region, the file does not get uploaded correctly.

As ensureBucketExists() is called before any interaction with the service (read, write etc.) this ensures the region gets set before these are called.