cloudformation_wrapper 0.2.9 → 0.2.10

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: 5696a2d03c01482607183e8666af556837a50f3004bb91307d0f0d5b30bbc959
4
- data.tar.gz: 7f4583d5539761af0ca1cf9b87d924ac14f4dcf0e39f06d661837bde6e374683
3
+ metadata.gz: edfff99608dfcf24199160460ea3b1f7f679a48d98568a3cc44ad39929e7aeaa
4
+ data.tar.gz: 0475b0341d846e673bd2393087967ea3bcf186ab8f29e3a6a0a0f0494c074d83
5
5
  SHA512:
6
- metadata.gz: 2554e49095208304f671aa8e1c8063ae8935ca562a4763147ec09a3cf7120f50b267ebbba5641614c76b80b1ae153fef959109c4ee1cd2ed59a56768b665d9d0
7
- data.tar.gz: 6117b169fd00c9fe44c96601f30b1ad1666fa721374ea7153aa0dc1e300d27c761766f928142831bba070f3aa3c88dad1ec5f9463d432f08fbdbea15bf02471e
6
+ metadata.gz: 7a2924171152b609a4edbe64a7f66d2964ffdc6529df14f65f2af270adadd23cb590312ef74a79b72d26501a3da0e50c55d2dc92a7c831df76ea0765e186ba08
7
+ data.tar.gz: 57c2e0915883611b6fa0443c986a41c771d7bb9e371248549acc419bbdd5292b62ba7f76e2fe7b70155f72b33c976a7d3a40e9153dd0f659f573445edba01ff6
@@ -19,7 +19,11 @@ module CloudFormationWrapper
19
19
 
20
20
  verified_options = verify_options(options)
21
21
 
22
- cf_client = verified_options[:client] || Aws::CloudFormation::Client.new(credentials: credentials, region: region)
22
+ cf_client = if verified_options[:client].nil?
23
+ Aws::CloudFormation::Client.new(credentials: credentials, region: region)
24
+ else
25
+ verified_options[:client]
26
+ end
23
27
 
24
28
  ensure_template_file_exists(verified_options[:template_path], cf_client)
25
29
 
@@ -1,4 +1,4 @@
1
1
  module CloudFormationWrapper
2
2
  # @!visibility private
3
- VERSION = '0.2.9'.freeze
3
+ VERSION = '0.2.10'.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.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ted Armstrong