sfn 3.1.6 → 3.1.8

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: 970e23327f10a5779f02b8f39168b1345a17ece34b108facde5c046a9d68637d
4
- data.tar.gz: f7ef6ddea26b4f3a60c499092b9aed690d6a1c73c569ff8e72638a4c1f7a7c77
3
+ metadata.gz: 8b88cf5985a1074b54851f250eb647b3191d41ed8c64e1c02af291d4a8e8a475
4
+ data.tar.gz: 84b9af7a9d9656d964e12247b68e1ea5a55a4ef7ae1e57a0edefb49e31dc9eec
5
5
  SHA512:
6
- metadata.gz: 944b96fbf6832a33295feca36cc603cb9b581493b015627284c62c19e0b89f5bf2450a3219258897ed42d58f54b3e2ee06c17e498751d28fdafce394c8d1002a
7
- data.tar.gz: 764508bb435d2da04dd49384e3c049061828bd64dc00a8b082119de8f41da3f650662d00019828cd660ad9772659e91ac4ed213a07078976cd920f3ba6517159
6
+ metadata.gz: 9c857f72b14af4e6e01766e01b64f4de6df5f87e611641f1a3b11d8d99f4bbfedd761ca49da7cafe2852e94f8d74828ee946681b5c39b4707e106923c817baf8
7
+ data.tar.gz: 7b2a8546ff5819c713e699c5f7ae365581b416555bca83a6d972dbdae0d149d8b2722bff07e0c1f2a4c2a477cdb4e24e453023097d74fa03d36dfd53c7221908
@@ -1,3 +1,6 @@
1
+ # v3.1.8
2
+ * [fix] Merge API options for plans (#300)
3
+
1
4
  # v3.1.6
2
5
  * [enhancement] Add `all` and `group` validate options (#299)
3
6
  * [enhancement] Add timing information to template tracing (#296)
@@ -124,13 +124,20 @@ module Sfn
124
124
  stack.parameters = config_root_parameters
125
125
  end
126
126
 
127
- # Set options defined within config into stack instance for update request
128
-
129
127
  ui.info " -> Generating plan information..."
130
128
  else
131
129
  ui.info " -> Loading plan information..."
132
130
  end
133
131
 
132
+ # Set options defined within config into stack instance for update request
133
+ if config[:merge_api_options]
134
+ config.fetch(:options, Smash.new).each_pair do |key, value|
135
+ if stack.respond_to?("#{key}=")
136
+ stack.send("#{key}=", value)
137
+ end
138
+ end
139
+ end
140
+
134
141
  plan = stack.plan || stack.plan_generate
135
142
  namespace.const_get(:Realize).
136
143
  new(config, [name]).execute!
@@ -1,4 +1,4 @@
1
1
  module Sfn
2
2
  # Current library version
3
- VERSION = Gem::Version.new("3.1.6")
3
+ VERSION = Gem::Version.new("3.1.8")
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfn
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.6
4
+ version: 3.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-04 00:00:00.000000000 Z
11
+ date: 2019-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bogo-cli