lutaml-model 0.8.6 → 0.8.8
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/.rubocop_todo.yml +15 -68
- data/lib/lutaml/model/attribute.rb +5 -7
- data/lib/lutaml/model/attribute_validator.rb +3 -1
- data/lib/lutaml/model/choice.rb +1 -1
- data/lib/lutaml/model/deep_dupable.rb +16 -0
- data/lib/lutaml/model/mapping/mapping.rb +2 -0
- data/lib/lutaml/model/mapping/mapping_rule.rb +5 -3
- data/lib/lutaml/model/sequence.rb +4 -2
- data/lib/lutaml/model/serialize/initialization.rb +91 -4
- data/lib/lutaml/model/serialize.rb +24 -34
- data/lib/lutaml/model/store.rb +75 -6
- data/lib/lutaml/model/transform.rb +14 -3
- data/lib/lutaml/model/type/hash.rb +9 -5
- data/lib/lutaml/model/type/symbol.rb +1 -1
- data/lib/lutaml/model/utils.rb +15 -4
- data/lib/lutaml/model/validation.rb +8 -2
- data/lib/lutaml/model/version.rb +1 -1
- data/lib/lutaml/model.rb +1 -0
- data/lib/lutaml/xml/schema/xsd/schema.rb +8 -5
- data/lib/lutaml/xml/serialization/instance_methods.rb +2 -0
- data/lib/lutaml/xml/xml_element.rb +1 -1
- data/spec/lutaml/model/attribute_spec.rb +8 -19
- data/spec/lutaml/model/register_methods_spec.rb +149 -0
- data/spec/lutaml/model/store_spec.rb +120 -0
- data/spec/lutaml/model/transform_cache_spec.rb +42 -0
- data/spec/lutaml/xml/clear_parse_state_spec.rb +10 -3
- data/spec/lutaml/xml/schema/xsd/schema_mapping_spec.rb +35 -0
- data/spec/lutaml/xml/schema/xsd/spec_helper.rb +1 -0
- metadata +5 -2
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.8
|
|
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-05-
|
|
11
|
+
date: 2026-05-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -404,6 +404,7 @@ files:
|
|
|
404
404
|
- lib/lutaml/model/consolidation_rule/pattern_element_rule.rb
|
|
405
405
|
- lib/lutaml/model/constants.rb
|
|
406
406
|
- lib/lutaml/model/context_registry.rb
|
|
407
|
+
- lib/lutaml/model/deep_dupable.rb
|
|
407
408
|
- lib/lutaml/model/error.rb
|
|
408
409
|
- lib/lutaml/model/error/choice_lower_bound_error.rb
|
|
409
410
|
- lib/lutaml/model/error/choice_upper_bound_error.rb
|
|
@@ -1617,6 +1618,7 @@ files:
|
|
|
1617
1618
|
- spec/lutaml/model/polymorphic_spec.rb
|
|
1618
1619
|
- spec/lutaml/model/processing_instruction_spec.rb
|
|
1619
1620
|
- spec/lutaml/model/register_key_value_spec.rb
|
|
1621
|
+
- spec/lutaml/model/register_methods_spec.rb
|
|
1620
1622
|
- spec/lutaml/model/register_spec.rb
|
|
1621
1623
|
- spec/lutaml/model/render_empty_spec.rb
|
|
1622
1624
|
- spec/lutaml/model/render_nil_spec.rb
|
|
@@ -1637,6 +1639,7 @@ files:
|
|
|
1637
1639
|
- spec/lutaml/model/services/default_value_resolver_spec.rb
|
|
1638
1640
|
- spec/lutaml/model/services/transformer_spec.rb
|
|
1639
1641
|
- spec/lutaml/model/simple_model_spec.rb
|
|
1642
|
+
- spec/lutaml/model/store_spec.rb
|
|
1640
1643
|
- spec/lutaml/model/toml_adapter_spec.rb
|
|
1641
1644
|
- spec/lutaml/model/toml_spec.rb
|
|
1642
1645
|
- spec/lutaml/model/transform_cache_spec.rb
|