lutaml-model 0.3.12 → 0.3.13

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.

Potentially problematic release.


This version of lutaml-model might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 345649756b1331313e2ce36666a74d5d74476d4a78cc45d5e672e02d567153e6
4
- data.tar.gz: adf1aff67862a8c6c6f8aac304dd819042c437460f3baf31625563e94c2aa73f
3
+ metadata.gz: c7a3ca13f464d886f1f30bb695cc5b98151c86771214665e77734b308e4ae6e0
4
+ data.tar.gz: '08cf720cab0dadca493262a8fec1dbd14ffb6db53ea9f047fe978249f4c299a5'
5
5
  SHA512:
6
- metadata.gz: 35865f10010a06f9ebd4be5feb988d376d5bd9a960c2e10eb9c786dd346ab97f61fc41f8d0cb09ab5f280f75e4cbb7ab1b52ca36ee8fa45b64629e349b7ea1ea
7
- data.tar.gz: 68d128827defc77d8e06e3b227f435ff4d3046c0f47c7570fc966adf58c830907b146f78e9baaafe3b11b719c86bb6778f10ae9e08e03af95f2e172ba392ca9c
6
+ metadata.gz: bbc204ba771660eecbc9eca1b14d37470f6175fb8bb00910bc478f0928a7d03fb95f0b364339d129c1b7d9116c46be8c96344e2c944ca0061bc74ee028069c15
7
+ data.tar.gz: b36bd0b23f8b16ac5921ea63d187cb9c95ea1c819fc92f7007133c40580ad3a88dd4e3a50d9fa541dad9f21895fb9f5330ab45c74d8727c9b7604d3941e29b90
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lutaml
4
4
  module Model
5
- VERSION = "0.3.12"
5
+ VERSION = "0.3.13"
6
6
  end
7
7
  end
@@ -303,6 +303,10 @@ module Lutaml
303
303
  {}
304
304
  end
305
305
 
306
+ if element.respond_to?(:schema_location) && element.schema_location
307
+ attrs.merge!(element.schema_location.to_xml_attributes)
308
+ end
309
+
306
310
  xml_mapping.attributes.each_with_object(attrs) do |mapping_rule, hash|
307
311
  next if options[:except]&.include?(mapping_rule.to)
308
312
  next if mapping_rule.custom_methods[:to]
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.3.12
4
+ version: 0.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-21 00:00:00.000000000 Z
11
+ date: 2024-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor