stackit 0.1.2 → 0.1.3

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: 56031c1ebaca58621ce162ca4fb35b7a0bc29b10
4
- data.tar.gz: 323a83ffc79f320216b599be24f81f541fe57c32
3
+ metadata.gz: 43bcdd66deecdf3b3751566c72bd5cbe8d1d4951
4
+ data.tar.gz: 7e3794e63884f455374b858ad40245851fdcd0af
5
5
  SHA512:
6
- metadata.gz: b57f90da98d269b8055d399beb6a74620bd3ab57dcdedee83e790972435f872434035fcd36302067a2cc802256d5547588e39d9adebbd1e252097f5721287c05
7
- data.tar.gz: 07a4248f7239c20a68637b38ae0a892cca8b95d8229ab87ea5dd52c3e8fafbe36969b75fb4578f7a96e8d479ec29b52f69b13c2b8ebc4974d3595f87786f3c21
6
+ metadata.gz: b3e2f3ee3c151a688f8bc965beb8e8bb8bb5c0df61f88f4e0f9830c0069c66b6b3c1f958934dbaaa52529349058dc768cec7db390fe41db6ab8beb01c8197e00
7
+ data.tar.gz: 84f5c76394b73797ec5495081d16ded22d6b06154b7afda2bdb516609552838316747226e223e174a37efe5da363ae8b9bec3597fdd8569554b449add372f4f2
data/README.md CHANGED
@@ -101,7 +101,7 @@ StackIT can be used as library in your own automation tools.
101
101
  ManagedStack.new({
102
102
  template: '/path/to/template.json',
103
103
  stack_name: 'mystack',
104
- depends: 'otherstack',
104
+ depends: ['otherstack'],
105
105
  user_defined_parameters: {
106
106
  :param1 => 'myvalue',
107
107
  :param2 => 'something else'
data/lib/stackit/stack.rb CHANGED
@@ -37,7 +37,7 @@ module Stackit
37
37
  end
38
38
 
39
39
  def [](key)
40
- parameters[key] || outputs[key] || resources[key]
40
+ parameters[key.to_sym] || outputs[key.to_sym] || resources[key.to_sym]
41
41
  end
42
42
 
43
43
  def parameters
@@ -1,3 +1,3 @@
1
1
  module Stackit
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
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.1.2
4
+ version: 0.1.3
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-12 00:00:00.000000000 Z
11
+ date: 2016-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler