stackit 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0671f8a25095c93535b076f7a701bf2ee228263c
4
- data.tar.gz: 62c6f5a982407779392431a7ffd4bd51b632f5c7
3
+ metadata.gz: 20b0e599e0082585ae76c69fb9dba9c02acab170
4
+ data.tar.gz: ac6dce8a6743e36d27cfe0892a481227226224ba
5
5
  SHA512:
6
- metadata.gz: fa4dbdb7123ebd21ee3b43ac5395d040aea5b20f976c921f6b289b7a9f35ff9da8256ecee674027369fc10f9c19c60ffe6abd1542d7214d88ffc5f1db7815987
7
- data.tar.gz: 738507fb0e27ee857e04b9a91c45f537789e558268134ee2a82dc626f682cde64293d9287109ea2a06593a25937a4c4cc6134de19802ac97953ab42ff296fbcf
6
+ metadata.gz: ed55020a56e970628a23aedfa65afb9cd590724ede76de4592804a46451cbb12f77ddf0076869e5bd7aa34236a881594839b784a1f1793b6058d77e78ad39b8a
7
+ data.tar.gz: 9b4a5425ab376727584b2b4724ba11d79f5080ca70979c93c0dbb7e3668beb942d150c966debc1a5f3150c2c2288ff6de7b4a60d31b47d34092e05a0bb2c3739
@@ -22,18 +22,18 @@ module Stackit
22
22
 
23
23
  def initialize(options = {})
24
24
  options = options.to_h.symbolize_keys!
25
- @cloudformation = options[:cloudformation] || Stackit.cloudformation
26
- @stack_name = options[:stack_name]
27
- @description = options[:description]
28
- @parameters = options[:parameters]
29
- @disable_rollback = options[:disable_rollback]
30
- @notification_arns = options[:notification_arns]
31
- @timeout_in_minutes = options[:timeout_in_minutes]
32
- @capabilities = options[:capabilities]
33
- @tags = options[:tags]
34
- @on_failure = options[:on_failure]
35
- @use_previous_template = options[:use_previous_template]
36
- @retain_resources = options[:retain_resources]
25
+ self.cloudformation = options[:cloudformation] || Stackit.cloudformation
26
+ self.stack_name = options[:stack_name]
27
+ self.description = options[:description]
28
+ self.parameters = options[:parameters]
29
+ self.disable_rollback = options[:disable_rollback]
30
+ self.notification_arns = options[:notification_arns]
31
+ self.timeout_in_minutes = options[:timeout_in_minutes]
32
+ self.capabilities = options[:capabilities]
33
+ self.tags = options[:tags]
34
+ self.on_failure = options[:on_failure]
35
+ self.use_previous_template = options[:use_previous_template]
36
+ self.retain_resources = options[:retain_resources]
37
37
  end
38
38
 
39
39
  def [](key)
@@ -14,6 +14,7 @@ module Stackit
14
14
  stack_name: stack_name,
15
15
  stack_policy: options[:stack_policy],
16
16
  depends: options[:depends],
17
+ user_defined_parameters: user_defined_parameters,
17
18
  parameters_file: parameters_file,
18
19
  parameter_map: parameter_mappings,
19
20
  wait: options[:wait],
@@ -30,6 +31,7 @@ module Stackit
30
31
  stack_policy: options[:stack_policy],
31
32
  stack_policy_during_update: options[:stack_policy_during_update],
32
33
  depends: options[:depends],
34
+ user_defined_parameters: user_defined_parameters,
33
35
  parameters_file: parameters_file,
34
36
  parameter_map: parameter_mappings,
35
37
  wait: options[:wait],
@@ -66,6 +68,10 @@ module Stackit
66
68
  {}
67
69
  end
68
70
 
71
+ def user_defined_parameters
72
+ {}
73
+ end
74
+
69
75
  def template_dir
70
76
  dir = options[:template_dir] ? options[:template_dir] : __dir__
71
77
  end
@@ -1,3 +1,3 @@
1
1
  module Stackit
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Hahn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-29 00:00:00.000000000 Z
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler