canzea 0.1.159 → 0.1.160
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/canzea.rb +1 -1
- data/lib/template-runner.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3823b38758c809bb022081dfe93c30b548a67077
|
4
|
+
data.tar.gz: aaf5f9099d270a01ffe0e0d62b9c8df643e70a7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd1838043a6bff2e0255df3c0b881874047f98d3ca50f882ca6f5194fde5a8eca1924bec61f93ce4820fd615710bdca6d4eb289b700e0acefee1cf761cf092e6
|
7
|
+
data.tar.gz: 706f8a64a0d86aa22539a1be0fbcf10aa7bd91b616537bbf49f52848dd412673f8d104a766c308069f35a2008422f1d3f1604f4b8b7a57d93cc2d524b5055806
|
data/lib/canzea/version.rb
CHANGED
data/lib/canzea.rb
CHANGED
@@ -182,7 +182,7 @@ module Canzea
|
|
182
182
|
|
183
183
|
if (util == "gen-template")
|
184
184
|
t = Template.new
|
185
|
-
# canzea --util=gen-template --template="
|
185
|
+
# canzea --util=gen-template --template="Result = {{#cname}}A:{{#tf_name}}name{{/tf_name}}{{/cname}} {{gravatar}}" --args='{"a":[{"name":"grafana.mon"}], "cname":[{"name":"www","address":"@"},{"name":"vault","address":"@"},{"name":"consul","address":"@"},{"name":"sc","address":"@"}]}'
|
186
186
|
puts t.processString opts[:template], JSON.parse(opts.fetch(:args, '{}'))
|
187
187
|
end
|
188
188
|
|
data/lib/template-runner.rb
CHANGED