toml-combine 0.3.0__py3-none-any.whl → 0.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- toml_combine/toml.py +1 -1
- {toml_combine-0.3.0.dist-info → toml_combine-0.4.0.dist-info}/METADATA +2 -2
- {toml_combine-0.3.0.dist-info → toml_combine-0.4.0.dist-info}/RECORD +5 -5
- {toml_combine-0.3.0.dist-info → toml_combine-0.4.0.dist-info}/WHEEL +0 -0
- {toml_combine-0.3.0.dist-info → toml_combine-0.4.0.dist-info}/entry_points.txt +0 -0
toml_combine/toml.py
CHANGED
@@ -22,6 +22,6 @@ def dumps(config: dict) -> str:
|
|
22
22
|
# features. The easiest way to turn tomlkit objects into plain dicts and strings
|
23
23
|
# is through a json round-trip.
|
24
24
|
try:
|
25
|
-
return tomlkit.dumps(json.loads(json.dumps(config)))
|
25
|
+
return tomlkit.dumps(json.loads(json.dumps(config)), sort_keys=False)
|
26
26
|
except tomlkit.exceptions.TOMLKitError as e:
|
27
27
|
raise exceptions.TomlEncodeError from e
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: toml-combine
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.4.0
|
4
4
|
Summary: A tool for combining complex configurations in TOML format.
|
5
5
|
Author-email: Joachim Jablon <ewjoachim@gmail.com>
|
6
6
|
License-Expression: MIT
|
@@ -201,7 +201,7 @@ container.env.ENABLE_EXPENSIVE_MONITORING = false
|
|
201
201
|
This produces the following configs:
|
202
202
|
|
203
203
|
```console
|
204
|
-
$
|
204
|
+
$ toml-combine example.toml --environment=production --service=frontend
|
205
205
|
registry = "gcr.io/my-project/"
|
206
206
|
service_account = "my-service-account"
|
207
207
|
name = "service-frontend"
|
@@ -4,8 +4,8 @@ toml_combine/cli.py,sha256=hG03eDKz7xU-ydJIa1kDuu6WlFzNS3GTMJ6zals9M9c,2843
|
|
4
4
|
toml_combine/combiner.py,sha256=RhhCevncnVvxFYNywvtVWkVMpiqtF0mq_APjg76Tg4Q,5546
|
5
5
|
toml_combine/exceptions.py,sha256=tAFTDRSg6d10bBruBhsasZXrNNgLTmr_nKfvIsRR_yU,991
|
6
6
|
toml_combine/lib.py,sha256=Iw7F8SCyQMlhaqSD2vtnmM6jbnrgzCZeX0d-LTM3VVg,1683
|
7
|
-
toml_combine/toml.py,sha256=
|
8
|
-
toml_combine-0.
|
9
|
-
toml_combine-0.
|
10
|
-
toml_combine-0.
|
11
|
-
toml_combine-0.
|
7
|
+
toml_combine/toml.py,sha256=iBV8xj0qWcvGp2AZaML8FCT3i2X9DL7iA6jd-wcP5Bc,814
|
8
|
+
toml_combine-0.4.0.dist-info/METADATA,sha256=WKLq2pGpPRwfLhdpBuqxoAtCwVKXipgcega_4GTl_r4,7347
|
9
|
+
toml_combine-0.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
10
|
+
toml_combine-0.4.0.dist-info/entry_points.txt,sha256=dXUQNom54uZt_7ylEG81iNYMamYpaFo9-ItcZJU6Uzc,58
|
11
|
+
toml_combine-0.4.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|