lutaml-model 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +4 -4
- data/README.adoc +837 -184
- data/lib/lutaml/model/attribute.rb +6 -2
- data/lib/lutaml/model/error/collection_true_missing_error.rb +16 -0
- data/lib/lutaml/model/error/multiple_mappings_error.rb +6 -0
- data/lib/lutaml/model/error.rb +2 -0
- data/lib/lutaml/model/key_value_mapping.rb +26 -4
- data/lib/lutaml/model/key_value_mapping_rule.rb +15 -4
- data/lib/lutaml/model/loggable.rb +15 -0
- data/lib/lutaml/model/mapping_rule.rb +2 -2
- data/lib/lutaml/model/serialize.rb +50 -15
- data/lib/lutaml/model/version.rb +1 -1
- data/lib/lutaml/model/xml_adapter/xml_document.rb +3 -3
- data/lib/lutaml/model/xml_mapping.rb +4 -0
- data/lib/lutaml/model/xml_mapping_rule.rb +2 -5
- data/lib/lutaml/model.rb +1 -0
- data/spec/lutaml/model/root_mappings_spec.rb +297 -0
- data/spec/lutaml/model/serializable_spec.rb +41 -6
- data/spec/lutaml/model/with_child_mapping_spec.rb +182 -0
- data/spec/lutaml/model/xml_adapter/xml_namespace_spec.rb +66 -0
- data/spec/lutaml/model/xml_mapping_spec.rb +8 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9643744c6317f6cbfa5e270954d5089cdce64961f5b0c8cd3ddffb228b2cbf84
|
4
|
+
data.tar.gz: b10af4981f13f897b4df81624539b6ae64748548e92af37ce0632e2279b96f6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66cf686d10c146dc8d7f7a92c471a6da047e209f1fd37b748c1304f130176cd2473b69275b97072db9b8d08c93e4a480c028f1aa58980be5bc90091734b38a74
|
7
|
+
data.tar.gz: f6029050d1da6ce304eadea3902312b8c8d58311caf65cb2c1e7d43fd10092523ae2084a301d72cc19afaedc2f9d1fcd2291ef13a00caad4a673897fa7b60259
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2025-01-07
|
3
|
+
# on 2025-01-07 10:19:56 UTC using RuboCop version 1.69.2.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -13,7 +13,7 @@
|
|
13
13
|
Layout/LineLength:
|
14
14
|
Enabled: false
|
15
15
|
|
16
|
-
# Offense count:
|
16
|
+
# Offense count: 16
|
17
17
|
# Configuration parameters: AllowedMethods.
|
18
18
|
# AllowedMethods: enums
|
19
19
|
Lint/ConstantDefinitionInBlock:
|
@@ -72,7 +72,7 @@ Metrics/CyclomaticComplexity:
|
|
72
72
|
# Offense count: 63
|
73
73
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
74
74
|
Metrics/MethodLength:
|
75
|
-
Max:
|
75
|
+
Max: 45
|
76
76
|
|
77
77
|
# Offense count: 7
|
78
78
|
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
|
@@ -129,7 +129,7 @@ RSpec/IndexedLet:
|
|
129
129
|
Exclude:
|
130
130
|
- 'spec/address_spec.rb'
|
131
131
|
|
132
|
-
# Offense count:
|
132
|
+
# Offense count: 24
|
133
133
|
RSpec/LeakyConstantDeclaration:
|
134
134
|
Exclude:
|
135
135
|
- 'spec/lutaml/model/schema/json_schema_spec.rb'
|