Skip to content

Commit 64492f5

Browse files
committed
feat(pkg): update julixian.tomlkitpp to 1.0.2
1 parent 9948b65 commit 64492f5

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

‎pkgs/j/julixian.tomlkitpp.lua‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,42 @@ package = {
2929
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.0.tar.gz",
3030
sha256 = "0a242d7eed2bf1fc785b6becf45b78f948c07c4e36097f4b898e300239691979",
3131
},
32+
["1.0.1"] = {
33+
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.1.tar.gz",
34+
sha256 = "f6060d839c32562ffc9fa279d4e57a0436de017b6d12ee6432049f05e054a899",
35+
},
36+
["1.0.2"] = {
37+
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.2.tar.gz",
38+
sha256 = "7f7fca227005acab339ee08a1d5e321e7d5c48c83380100274a840d570913deb",
39+
},
3240
},
3341
macosx = {
3442
["1.0.0"] = {
3543
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.0.tar.gz",
3644
sha256 = "0a242d7eed2bf1fc785b6becf45b78f948c07c4e36097f4b898e300239691979",
3745
},
46+
["1.0.1"] = {
47+
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.1.tar.gz",
48+
sha256 = "f6060d839c32562ffc9fa279d4e57a0436de017b6d12ee6432049f05e054a899",
49+
},
50+
["1.0.2"] = {
51+
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.2.tar.gz",
52+
sha256 = "7f7fca227005acab339ee08a1d5e321e7d5c48c83380100274a840d570913deb",
53+
},
3854
},
3955
windows = {
4056
["1.0.0"] = {
4157
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.0.tar.gz",
4258
sha256 = "0a242d7eed2bf1fc785b6becf45b78f948c07c4e36097f4b898e300239691979",
4359
},
60+
["1.0.1"] = {
61+
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.1.tar.gz",
62+
sha256 = "f6060d839c32562ffc9fa279d4e57a0436de017b6d12ee6432049f05e054a899",
63+
},
64+
["1.0.2"] = {
65+
url = "https://github.com/julixian/tomlkitpp/archive/refs/tags/v1.0.2.tar.gz",
66+
sha256 = "7f7fca227005acab339ee08a1d5e321e7d5c48c83380100274a840d570913deb",
67+
},
4468
},
4569
},
4670

‎tests/examples/julixian.tomlkitpp/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ name = "julixian-tomlkitpp-tests"
1212
version = "0.1.0"
1313

1414
[dependencies.julixian]
15-
tomlkitpp = "1.0.0"
15+
tomlkitpp = "1.0.2"

‎tests/examples/julixian.tomlkitpp/tests/parse_edit_roundtrip.cpp‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,13 @@ int main() {
3838
if (!reparsed) return 11;
3939
if ((*reparsed)["server", "endpoint", "port"].get<int>() != 9090) return 12;
4040

41+
if (tomlkit::kLibraryVersion != "1.0.2") return 13;
42+
43+
// 1.0.2 regression: dotted key inside [a] traversing an earlier ImplicitSuper [a.b].
44+
constexpr std::string_view dottedInput = "[a.b]\nx = 1\n\n[a]\nc.y = 2\n";
45+
auto dottedDoc = tomlkit::tryParse(dottedInput);
46+
if (!dottedDoc) return 14;
47+
if (tomlkit::format(*dottedDoc) != dottedInput) return 15;
48+
4149
return 0;
4250
}

0 commit comments

Comments
 (0)