cwa 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cwa.rb +2 -2
- data/lib/cwa/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c56ab01901ac99a76dbb7e5d30d9326af51975c589ca97187989f28226acd5d2
|
4
|
+
data.tar.gz: 54a8f447849101f6c709294d5b303202e4611aba7912112404ce72fa32d6186a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cc4befa70fc27e7f48cd2b9c829e7f94ddfaa45248e5b01f4868baa564bb3c005c7e0e81235b8ae992ba31256bb9f81520e3d5d69f698e3e32ded969d5ea620
|
7
|
+
data.tar.gz: 2da1cf9b13550ee6e61cb1c507af9b34f2fd34f609d776485eac60eb09107e9099642a56078e4d863cea5c80b3cfa15eeef0749765cd714632a66313f2a13990
|
data/lib/cwa.rb
CHANGED
@@ -12,8 +12,8 @@ module CWA
|
|
12
12
|
|
13
13
|
def get(opts = {})
|
14
14
|
@aws_opts ||= {}
|
15
|
-
@aws_opts[:profile] = opts
|
16
|
-
@aws_opts[:region] = opts
|
15
|
+
@aws_opts[:profile] = opts[:profile] if opts[:profile]
|
16
|
+
@aws_opts[:region] = opts[:region ] if opts[:region]
|
17
17
|
|
18
18
|
Client.new(@aws_opts)
|
19
19
|
end
|
data/lib/cwa/version.rb
CHANGED