cloudformation_wrapper 0.2.16 → 0.2.17

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 414234092fff547a2d47846b0e1ee654207d90880b9a7d1e75b22941f5d80c4b
4
- data.tar.gz: ac59dca4befc152fb4d02a5b2cbe96b10605fff11426ec7fc620c747c6c0c4b1
3
+ metadata.gz: 165c39777415f457c6b4a508312a9f4c17356614e48c55a8639c5e33393e4273
4
+ data.tar.gz: 84a3cc831532a53bcd05d8a6a5222ccd6c1a3d2e752b22d7547861166b0ed38e
5
5
  SHA512:
6
- metadata.gz: 5aceaffb2ecdcba181ffdc1dd8bcbf167e1d46b776ec9ecb3e968c0ae1096de7433b31903ca57359bfb921a15a40342ec408229292495fa739bdcc7d1efb432c
7
- data.tar.gz: 6aad2ffb69b6cc316cc089a0a016e143af82425f118308c4b9ac358b2feedd42dea42cd95c022c0ddd651126054d6e6a955c197a1eee4f9eba25000f34804099
6
+ metadata.gz: 2124f0e4789ab92a83610ed298f751cec1bd706fd7fe101a0f3a0ad38f429cb0ba8a8d4fbbc6a818df1a581d46062a7dd78134d3770b263f9ac6187a14fc36af
7
+ data.tar.gz: 680d44b0848baae1ed3e28cd019138f02b43ccd2c1af394b1de0b8fddc8d1696427a197651bae2daee08b6ed50293840317382675baef91783980a53f5f4fb5b
@@ -19,11 +19,15 @@ module CloudFormationWrapper
19
19
 
20
20
  verified_options = verify_options(options)
21
21
 
22
- cf_client = if verified_options.key?(:client)
23
- Aws::CloudFormation::Client.new(credentials: credentials, region: region)
24
- else
25
- verified_options[:client]
26
- end
22
+ if verified_options.key?('client')
23
+ puts 'cf string key'
24
+ cf_client = verified_options[:client]
25
+ elsif verified_options.key?(:client)
26
+ puts 'cf symbol key'
27
+ cf_client = verified_options[:client]
28
+ else
29
+ cf_client = Aws::CloudFormation::Client.new(credentials: credentials, region: region)
30
+ end
27
31
 
28
32
  puts "CF Client #{cf_client.is_a? Aws::CloudFormation::Client}"
29
33
 
@@ -1,4 +1,4 @@
1
1
  module CloudFormationWrapper
2
2
  # @!visibility private
3
- VERSION = '0.2.16'.freeze
3
+ VERSION = '0.2.17'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudformation_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.16
4
+ version: 0.2.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ted Armstrong