sharetribe/sharetribe — pull request #469 by joshblour (2014-06-25 13:31:46+00:00)
Title: change s3 resource url from path-style to domain-style

S3 EU buckets need to be referenced with the bucket name in the subdomain (US buckets can be access both ways).

Also, with the EU region, the 's3.buckets.create' method will not find existing buckets. This pull request first checks for an existing bucket before creating one.