Skip to content

Commit

Permalink
Updates for AWS SDK v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Carvan authored and Toby Carvan committed Nov 1, 2018
1 parent 60572a1 commit 35241c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/refile/s3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def initialize(region:, bucket:, max_size: nil, prefix: nil, hasher: Refile::Ran
# @return [void]
def clear!(confirm = nil)
raise Refile::Confirm unless confirm == :confirm
@bucket.objects(prefix: @prefix).delete
@bucket.objects(prefix: @prefix).batch_delete!
end

# Return a presign signature which can be used to upload a file into this
Expand Down
2 changes: 1 addition & 1 deletion refile-s3.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.1.0"

spec.add_dependency "refile", "~> 0.6.0"
spec.add_dependency "aws-sdk-s3", "~> 1.13"
spec.add_dependency "aws-sdk-s3", "~> 1.23.1"
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
Expand Down

0 comments on commit 35241c1

Please sign in to comment.