diff options
-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), |