Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

update to use new aws-sdk version 3 structure #2560

Closed
wants to merge 1 commit into from

Conversation

jdguzman
Copy link

The AWS SDK now has separate gems for each resource this changes paperclip to only use what it needs.

This change only requires the use of the aws-sdk-s3 gem. I've updated the readme also.

The AWS SDK now has separate gems for each resource this changes paperclip to only use what it needs.
@@ -1,5 +1,5 @@
require 'spec_helper'
require 'aws-sdk'
require 'aws-sdk-s3'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@@ -123,15 +123,11 @@ module Storage
module S3
def self.extended base
begin
require 'aws-sdk'
require 'aws-sdk-s3'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@pjg
Copy link

pjg commented Feb 26, 2018

There was already a very similar changeset in the past, which I cannot locate now apart from linking directly to the commits:

Found the PR too now: #2481

@morgoth
Copy link
Contributor

morgoth commented Mar 13, 2018

@jdguzman This is already done and released in version 6.0.0

@sidraval sidraval closed this Mar 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants