momo 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/momo/stack.rb +1 -7
- data/lib/momo/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: 61d24aa3bc8b813807f31c3180fec6176ccbe55c
|
4
|
+
data.tar.gz: a3aceaa9e405a1c969c18a5b7382c6210f589d99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5631dd9f8217a5a837bb51f09d76cfea9047871c993e31da9cf0ea780e099576d51a25351623d9c126f0ca40ca95089614ca0d0cc581250021550b668d7fd7a1
|
7
|
+
data.tar.gz: 87555420670fc44dc2c0f41af18fe4e02a71ae4b96a8195c1ce3c568d24b7d1e41375fb1262463e9f3d6a3ae4e05974e6af4cf01a2230f19b617e4bbb6c9dae2
|
data/lib/momo/stack.rb
CHANGED
@@ -78,13 +78,7 @@ module Momo
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def output(name, res)
|
81
|
-
|
82
|
-
@outputs[name] = { "Ref" => res.name }
|
83
|
-
elsif res.is_a? String
|
84
|
-
@props[name] = res
|
85
|
-
else
|
86
|
-
raise "Invalid var: #{res}"
|
87
|
-
end
|
81
|
+
@outputs[name] = Momo.resolve(res)
|
88
82
|
end
|
89
83
|
|
90
84
|
def mapping(name, &block)
|
data/lib/momo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: momo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Siaw
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|