swirl 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/swirl/aws.rb +2 -2
- metadata +3 -3
data/lib/swirl/aws.rb
CHANGED
@@ -50,13 +50,13 @@ module Swirl
|
|
50
50
|
raise(ArgumentError, "No version given")
|
51
51
|
|
52
52
|
@aws_access_key_id = \
|
53
|
-
ENV["AWS_ACCESS_KEY_ID"] ||
|
54
53
|
opts[:aws_access_key_id] ||
|
54
|
+
ENV["AWS_ACCESS_KEY_ID"] ||
|
55
55
|
raise(ArgumentError, "No aws_access_key_id given")
|
56
56
|
|
57
57
|
@aws_secret_access_key = \
|
58
|
-
ENV["AWS_SECRET_ACCESS_KEY"] ||
|
59
58
|
opts[:aws_secret_access_key] ||
|
59
|
+
ENV["AWS_SECRET_ACCESS_KEY"] ||
|
60
60
|
raise(ArgumentError, "No aws_secret_access_key given")
|
61
61
|
|
62
62
|
@hmac = HMAC::SHA256.new(@aws_secret_access_key)
|
metadata
CHANGED