lib/datapimp/sync/s3_bucket.rb in datapimp-1.1.1 vs lib/datapimp/sync/s3_bucket.rb in datapimp-1.2.0

- old
+ new

@@ -96,10 +96,10 @@ if existing = s3.files.get(destination) if existing.etag == fingerprint log "Skipping #{ destination }: similar etag" else existing.body = entry.read - existing.acl = 'public-read' + existing.acl = options.acl || 'public-read' existing.content_type = content_type log "Updated #{ destination }; content-type: #{ content_type }" uploaded << destination existing.save end