lutaml-model 0.8.86 → 0.8.87
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.
- checksums.yaml +4 -4
- data/lib/lutaml/model/version.rb +1 -1
- data/lib/lutaml/xml/leptris/plan_compiler.rb +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 86ca328809a1a0e065b430ec56f016fbe70ee892cf705ceb618a7d1869aa8d77
|
|
4
|
+
data.tar.gz: 5f23509351e875b5e43c459de66a134cb2d3106288528a43a9adfa97f411a2c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8172239de2524442bca61fdfd9111f9163f8fd03b5b84f620a54940b22aab359a2e7d4ade1a127b651af717dbce2172b244670047ec9a1ff5890abce8ce5457d
|
|
7
|
+
data.tar.gz: 579e6c690fabd240ddb1ced902c38dee5af5d86bf3d0d2ecfd0c3ccf01749b62843f1189660579b193bca8edc1f1f127e8ccc1fbfaa5c0209d79b2fc8841bf23
|
data/lib/lutaml/model/version.rb
CHANGED
|
@@ -278,6 +278,13 @@ module Lutaml
|
|
|
278
278
|
def compilable_mapping?(mapping)
|
|
279
279
|
# Mapping's uniform interface: root_mappings defaults to
|
|
280
280
|
# false on the base (KeyValue overrides with its own).
|
|
281
|
+
# A map_any_element catch-all is not plan-shaped yet — the
|
|
282
|
+
# compiled plan has no row for it, so plan-path models
|
|
283
|
+
# would silently drop every catch-all child (0.8.86's
|
|
284
|
+
# smoke catch). The interpretive path owns them until the
|
|
285
|
+
# plan learns the catch-all row.
|
|
286
|
+
return false if mapping.any_element_rule
|
|
287
|
+
|
|
281
288
|
mapping.root_element && !mapping.root_mappings
|
|
282
289
|
end
|
|
283
290
|
|