cwa 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cwa.rb +2 -2
  3. data/lib/cwa/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1519d445e5671c8a4bde54a85bfc3718352340250ef13c74b76412a10d2a87cc
4
- data.tar.gz: 837f764c34d6249820bbf08a59dd72bb9a96e8fed12ac52d811c9d79ce3299a2
3
+ metadata.gz: c56ab01901ac99a76dbb7e5d30d9326af51975c589ca97187989f28226acd5d2
4
+ data.tar.gz: 54a8f447849101f6c709294d5b303202e4611aba7912112404ce72fa32d6186a
5
5
  SHA512:
6
- metadata.gz: 13320f6632e46850cfc74c189cdccf3d38ffb4b647c77ae5435df089adcd229b397496898747d74c1febf47ca304ccff0418021b72e529744691db0b678cd7d6
7
- data.tar.gz: 432f170c2c6f920315e7aaa84f961a4ca1709fd8e66d60fa8bf3cd52e07d12c28e89b26f56511a4b9c403c898faae2d91047bfa0aad0312d76b50a27b688f3cb
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.delete(:profile) if opts[:profile]
16
- @aws_opts[:region] = opts.delete(:profile) if opts[:region]
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
@@ -1,3 +1,3 @@
1
1
  module CWA
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cwa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - gen