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 +4 -4
- data/README.md +2 -2
- data/lib/kumogata/post_processing.rb +8 -0
- data/lib/kumogata/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31fb31d3bd0eeaf4c570d2fec593a882e93614cb
|
4
|
+
data.tar.gz: 6f25a7bc7eeb30e32c7140cb8533d1f1819ae6cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?
|
9
|
-
[![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?
|
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
|
data/lib/kumogata/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|