fog/fog — pull request #818 by benbc (2012-03-28 15:18:28+00:00)
Title: Store the region for S3.

This is a fix for #654: can't create S3 buckets in regions other than the default. S3 complains that the location constraint doesn't match the specified region.

I couldn't see any obvious way to test this (other than manually), so there is no test included.

I don't think this fix will work in the case where the `:endpoint` option is provided. I suspect that you would need to parse the region out of the URL in that case. But this is progress, anyway.