From 201d21138ca8d90b2a3817b7a1c0c946aca0a53d Mon Sep 17 00:00:00 2001 From: jverzani Date: Tue, 7 Nov 2023 12:17:59 -0500 Subject: [PATCH 1/3] fix compat bounds --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 02c4107..54b2df3 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Mustache" uuid = "ffc61752-8dc7-55ee-8c37-f3e9cdd09e70" -version = "1.0.18" +version = "1.0.19" [deps] Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" @@ -8,7 +8,7 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" [compat] Tables = "1" -Printf = "1.6" +Printf = "<0.0.1, 1.0" julia = "1.0" [extras] From 3ab7e65ba6df2b4eda79a035ebb92d8321378ff0 Mon Sep 17 00:00:00 2001 From: jverzani Date: Tue, 7 Nov 2023 12:44:58 -0500 Subject: [PATCH 2/3] fix test --- test/Mustache_test.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Mustache_test.jl b/test/Mustache_test.jl index aacd52f..b74d277 100644 --- a/test/Mustache_test.jl +++ b/test/Mustache_test.jl @@ -323,7 +323,7 @@ tpl2 = mt""" vec = [Dict("name" => x) for x in ("a", "b")] _uppercase(str, render) = uppercase(render(str)) a = Mustache.render(Mustache.parse(tpla, ("<<", ">>")); vec, uppercase=_uppercase) - b = Mustache.render(Mustache.parse(tplb); vec, uppercase=_uppercase) + b = Mustache.render(Mustache.parse(tplb); vec=vec, uppercase=_uppercase) @test a == b end From ca7c897f318b8605add74c0e81e6212aa822b013 Mon Sep 17 00:00:00 2001 From: jverzani Date: Tue, 7 Nov 2023 13:04:35 -0500 Subject: [PATCH 3/3] keyword defaults no in 1.0 --- test/Mustache_test.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Mustache_test.jl b/test/Mustache_test.jl index b74d277..53802f8 100644 --- a/test/Mustache_test.jl +++ b/test/Mustache_test.jl @@ -322,7 +322,7 @@ tpl2 = mt""" """ vec = [Dict("name" => x) for x in ("a", "b")] _uppercase(str, render) = uppercase(render(str)) - a = Mustache.render(Mustache.parse(tpla, ("<<", ">>")); vec, uppercase=_uppercase) + a = Mustache.render(Mustache.parse(tpla, ("<<", ">>")); vec=vec, uppercase=_uppercase) b = Mustache.render(Mustache.parse(tplb); vec=vec, uppercase=_uppercase) @test a == b