diff options
author | Tristan Sloughter <[email protected]> | 2015-05-08 11:45:22 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2015-05-08 11:45:22 -0500 |
commit | 58fec57db3d99ffb5aefd0d5751d7bbda6762f66 (patch) | |
tree | d18fb57579cb3e58984599bdb2c926db9314d294 | |
parent | 88d1f29257869b0de9369881236477163804125a (diff) | |
download | relx-58fec57db3d99ffb5aefd0d5751d7bbda6762f66.tar.gz relx-58fec57db3d99ffb5aefd0d5751d7bbda6762f66.tar.bz2 relx-58fec57db3d99ffb5aefd0d5751d7bbda6762f66.zip |
use mustache v0.3.0
-rw-r--r-- | rebar.config | 2 | ||||
-rw-r--r-- | rebar.lock | 2 | ||||
-rw-r--r-- | src/rlx_util.erl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/rebar.config b/rebar.config index facbdc8..37f10c5 100644 --- a/rebar.config +++ b/rebar.config @@ -8,7 +8,7 @@ {tag, "v1.3.0"}}}, {mustache, ".*", {git, "https://github.com/soranoba/mustache.git", - {branch, "master"}}}, + {tag, "v0.3.0"}}}, {getopt, "", {git, "https://github.com/jcomellas/getopt.git", {branch, "master"}}}]}. @@ -8,7 +8,7 @@ 0}, {<<"mustache">>, {git,"https://github.com/soranoba/mustache.git", - {ref,"5a15c03e0bcc307dd4165208802b1641dbf88b50"}}, + {ref,"e5401042c66039eef20ee81abc1537ced1f22bc7"}}, 0}, {<<"getopt">>, {git,"https://github.com/jcomellas/getopt.git", diff --git a/src/rlx_util.erl b/src/rlx_util.erl index 4639ffa..2251b4f 100644 --- a/src/rlx_util.erl +++ b/src/rlx_util.erl @@ -156,7 +156,7 @@ render(Template) -> render(Template, []). render(Template, Data) -> - {ok, mustache:render(ec_cnv:to_binary(Template), Data)}. + {ok, mustache:render(ec_cnv:to_binary(Template), Data, [{key_type, atom}])}. load_file(Files, escript, Name) -> {Name, Bin} = lists:keyfind(Name, 1, Files), |