kumogata 0.4.14 → 0.4.15

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: 89a07962772e36a298e010d43823ef2e029ce423
4
- data.tar.gz: 67bf0688c0afeb066d381e6c74b94a80245701d3
3
+ metadata.gz: 31fb31d3bd0eeaf4c570d2fec593a882e93614cb
4
+ data.tar.gz: 6f25a7bc7eeb30e32c7140cb8533d1f1819ae6cd
5
5
  SHA512:
6
- metadata.gz: f7961c01c5eb7801d951db8eb5dd85d0994a5ef41b2c6ab8cf33bcea6dcc201a37e7b3e280983eefa163ec83a2570def941a3651fd4708485634ca9531d9d776
7
- data.tar.gz: 6a6db09a4e72a0db4e5f7b65af69741ec459f2a2e55494c403d9f02c9853bd66f484b1a55bd1ce33e16e3a06603ed650be3009645bf1a87a3913d8816087c975
6
+ metadata.gz: ca9e1366f1463327c6040287a3f5fe0180ef1eea5114f46a852c7d1a47a6a09f9b2aec8b456fdcc4ae3c9a71dc42445f82ff491aee918f0e22cd51dbf0ce7eaa
7
+ data.tar.gz: 53a71f4eb3081df85dfe083e2874f923ab286d163a34a13136a4df806b2d78670fdc6ea8995b3674a931c42dd012022a6b681f052b90e749d4f6f698795a7914
data/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
 
6
6
  Kumogata is a tool for [AWS CloudFormation](https://aws.amazon.com/cloudformation/).
7
7
 
8
- [![Gem Version](https://badge.fury.io/rb/kumogata.png?201404231520)](http://badge.fury.io/rb/kumogata)
9
- [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201404231520)](https://drone.io/github.com/winebarrel/kumogata/latest)
8
+ [![Gem Version](https://badge.fury.io/rb/kumogata.png?201405081730)](http://badge.fury.io/rb/kumogata)
9
+ [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201405081730)](https://drone.io/github.com/winebarrel/kumogata/latest)
10
10
 
11
11
  It can define a template in Ruby DSL, such as:
12
12
 
@@ -268,6 +268,10 @@ class Kumogata::PostProcessing
268
268
  scope.instance_variable_set(:@__expected_outputs__, expected_outputs)
269
269
 
270
270
  scope.instance_eval(<<-EOS)
271
+ def Ref(name)
272
+ $kumogata.options.parameters[name]
273
+ end
274
+
271
275
  def Key(name)
272
276
  @__expected_outputs__ << name
273
277
  end
@@ -290,6 +294,10 @@ class Kumogata::PostProcessing
290
294
  scope.instance_variable_set(:@__outputs__, outputs)
291
295
 
292
296
  scope.instance_eval(<<-EOS)
297
+ def Ref(name)
298
+ $kumogata.options.parameters[name]
299
+ end
300
+
293
301
  def Key(name)
294
302
  @__outputs__[name]
295
303
  end
@@ -1,3 +1,3 @@
1
1
  module Kumogata
2
- VERSION = '0.4.14'
2
+ VERSION = '0.4.15'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.14
4
+ version: 0.4.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-23 00:00:00.000000000 Z
11
+ date: 2014-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk