Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS S3 adapter using the bare aws-sdk gem #219

Merged
merged 1 commit into from
Aug 10, 2016

Conversation

lucas-nelson
Copy link

An alternate adapter to the S3Adapter for those using the plain old
bare 'aws-sdk' gem without 'fog'. This class modelled on that adapter
but also sets up the S3 object to return the following additional HTTP
headers:

  • Cache-Control: private, max-age=0, no-cache
  • Content-Type: application/x-gzip

for completeness.

No integration test created, as noted in the s3_adapter_spec.rb, it
would be of limited use.

IAM authentication is not yet supported.

An alternate adapter to the S3Adapter for those using the plain old
bare 'aws-sdk' gem without 'fog'. This class modelled on that adapter
but also sets up the S3 object to return the following additional HTTP
headers:

* Cache-Control: private, max-age=0, no-cache
* Content-Type: application/x-gzip

for completeness.

No integration test created, as noted in the s3_adapter_spec.rb, it
would be of limited use.

IAM authentication is not yet supported.
@dustMason
Copy link

Thanks for sharing this. Fog's long list of dependencies made the official aws gem a better choice for us. Why was this not merged?

@richardvenneman
Copy link

I just successfully deployed this to production 🙈
Great stuff since I was already using aws-sdk for Refile.

@kjvarga kjvarga merged commit 22d02aa into kjvarga:master Aug 10, 2016
@kjvarga
Copy link
Owner

kjvarga commented Aug 10, 2016

Sorry for the delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants