lutaml-model 0.8.76 → 0.8.77
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/key_value/transformation.rb +3 -3
- data/lib/lutaml/model/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1206fc165398f220eece8db175ef496ec89d28c068b5594a3c9531f7950fce62
|
|
4
|
+
data.tar.gz: bc3db728524b5f8f32f1a67cd7627cc69e83d2dec0815ca662e1476adbb646db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7cb7d39620f0a8f976c1a9f3eca8a474f8a9e33f6e334d634ca2b3288046b47036c72217523598db8dc92e21f3db8ca45571eea2829b35d7014b5885caf37fad
|
|
7
|
+
data.tar.gz: ad126e52a86852bed4ba5ff0deb8ee44495b2b28c742dde172b0e62870b805556ed7391e1847a80d50375a5674637710a1b0d03f3ed0cc732b6de23a0ebbdd85
|
|
@@ -328,7 +328,7 @@ register = self.register)
|
|
|
328
328
|
# Custom methods receive an Element "doc" and populate it
|
|
329
329
|
# (public contract, TODO.perf 19 keeps it): a scratch element
|
|
330
330
|
# is merged into the output hash afterwards.
|
|
331
|
-
doc = Lutaml::KeyValue::DataModel::Element.new("
|
|
331
|
+
doc = Lutaml::KeyValue::DataModel::Element.new("__root__")
|
|
332
332
|
# Custom methods may write children, or doc.value[key]=, or
|
|
333
333
|
# nothing at all (pubid 2.0 regression: an empty scratch
|
|
334
334
|
# flattened to {key => nil} and crashed the merge). Seed the
|
|
@@ -349,8 +349,8 @@ register = self.register)
|
|
|
349
349
|
# lutaml-model#892.) Empty docs serialize as nothing, matching
|
|
350
350
|
# the pre-0.8.74 behavior.
|
|
351
351
|
merged = doc.to_hash
|
|
352
|
-
parent.update(merged["
|
|
353
|
-
merged["
|
|
352
|
+
parent.update(merged["__root__"]) if merged.is_a?(::Hash) &&
|
|
353
|
+
merged["__root__"].is_a?(::Hash)
|
|
354
354
|
return
|
|
355
355
|
end
|
|
356
356
|
|
data/lib/lutaml/model/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lutaml-model
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.77
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|