beet-observer 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- beet_observer/__init__.py +1 -1
- beet_observer/data_pack.py +3 -2
- {beet_observer-0.2.0.dist-info → beet_observer-0.2.1.dist-info}/METADATA +1 -1
- beet_observer-0.2.1.dist-info/RECORD +8 -0
- beet_observer-0.2.0.dist-info/RECORD +0 -8
- {beet_observer-0.2.0.dist-info → beet_observer-0.2.1.dist-info}/LICENSE +0 -0
- {beet_observer-0.2.0.dist-info → beet_observer-0.2.1.dist-info}/WHEEL +0 -0
beet_observer/__init__.py
CHANGED
beet_observer/data_pack.py
CHANGED
@@ -65,7 +65,7 @@ def gen_dp_overlays(ctx: Context, ctx_overlay: Context, overlay_dir: str) -> Non
|
|
65
65
|
for overlay in ctx.data.overlays:
|
66
66
|
# check if it's the top-level overlay
|
67
67
|
if overlay == ctx.meta["observer"]["default_dir_dp"]:
|
68
|
-
# delete pack.mcmeta from overlay (
|
68
|
+
# delete pack.mcmeta from overlay (required for tests)
|
69
69
|
default_dir = ctx.meta["observer"]["default_dir_dp"]
|
70
70
|
if ctx.data.overlays[default_dir].mcmeta:
|
71
71
|
del ctx.data.overlays[default_dir].mcmeta
|
@@ -91,7 +91,8 @@ def gen_dp_overlays(ctx: Context, ctx_overlay: Context, overlay_dir: str) -> Non
|
|
91
91
|
)
|
92
92
|
|
93
93
|
# save overlay entries in pack.mcmeta
|
94
|
-
|
94
|
+
if len(entries) > 0:
|
95
|
+
ctx.data.mcmeta.data.update({"overlays": {"entries": entries}})
|
95
96
|
|
96
97
|
|
97
98
|
def check_registry(
|
@@ -0,0 +1,8 @@
|
|
1
|
+
beet_observer/__init__.py,sha256=wrNZq4cbCCTtIPOQhShOufEQmAhkL5Ww1yOOzF74DTw,45
|
2
|
+
beet_observer/data_pack.py,sha256=OYGy9vDePpWyDhVpTl2Y-P49UEhsivihOqo17dfNKTM,7166
|
3
|
+
beet_observer/plugin.py,sha256=DGpWvV2q6yeJ_EyBLShigZl4dutN2yCFDKzzcCGiu8o,1808
|
4
|
+
beet_observer/resource_pack.py,sha256=ePNdQjeMrEKEkLdDBsnHcMdrne8g505Cd8vfzX5S_cc,111
|
5
|
+
beet_observer-0.2.1.dist-info/LICENSE,sha256=oBbP6j7sgG9darFSRZxV7iO8yPR1aZiDspSK3mcLpXI,1062
|
6
|
+
beet_observer-0.2.1.dist-info/METADATA,sha256=WUsicEsv5Vs3qknF4a_rb9KuwQT2QR5WjMPP9lLHnIs,633
|
7
|
+
beet_observer-0.2.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
8
|
+
beet_observer-0.2.1.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
beet_observer/__init__.py,sha256=3nBkGnHIldvrJ59Iww87KKAczpOwrpAde5Rc5xF4_sk,45
|
2
|
-
beet_observer/data_pack.py,sha256=4rSSGXCayZouWtaahhdZ4sBzQKMKSJmazyRsCPHrDOI,7138
|
3
|
-
beet_observer/plugin.py,sha256=DGpWvV2q6yeJ_EyBLShigZl4dutN2yCFDKzzcCGiu8o,1808
|
4
|
-
beet_observer/resource_pack.py,sha256=ePNdQjeMrEKEkLdDBsnHcMdrne8g505Cd8vfzX5S_cc,111
|
5
|
-
beet_observer-0.2.0.dist-info/LICENSE,sha256=oBbP6j7sgG9darFSRZxV7iO8yPR1aZiDspSK3mcLpXI,1062
|
6
|
-
beet_observer-0.2.0.dist-info/METADATA,sha256=2LrAnUxe4PtSu9ZYbf2th--Rid-OSi_38vj5Ptc23mI,633
|
7
|
-
beet_observer-0.2.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
8
|
-
beet_observer-0.2.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|