Skip to content

Commit

Permalink
Fix for SDK v3 uploading to S3 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Dec 5, 2017
1 parent 41c77ce commit 9b21a96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/humidifier/aws_adapters/sdkv3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def upload_object(payload, key)
end

def s3_sdk_loaded?
require 'aws-sdk-s3' || true
require 'aws-sdk-s3'
true
rescue LoadError
false
end
Expand Down
2 changes: 1 addition & 1 deletion lib/humidifier/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Humidifier
# Gem version
VERSION = '1.11.0.1'.freeze
VERSION = '1.11.0.2'.freeze
end

0 comments on commit 9b21a96

Please sign in to comment.