xsd 2.6.3 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/xsd/base_object.rb +2 -2
- data/lib/xsd/objects/any.rb +6 -0
- data/lib/xsd/objects/any_attribute.rb +6 -0
- data/lib/xsd/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: 6ec3eb825c36a39f706cd6a684d294b443fa7c59a4e9494ef8b1a6e65f226e5e
|
4
|
+
data.tar.gz: 659b6e95914a0d3a4e04c7b5e17ec54cebbda343b8154b7cd5ff6dd9f2a2ca93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d5dc6738b374642049d316e7213f2b7c83177182cc8aeed164ff7253d8c3a349faf6c46a8781ad1734fa4daa5337462cee769d72bdd7c69d959e18b3ea8605b
|
7
|
+
data.tar.gz: e1d929216f6e9239f5ab82ddaf20558b6e562917e6f1c51c392bd988c699f73af0500f9837fd85c8f76afaccb170f88c6a3ddd723b0be7660e596e1010ef7aa1
|
data/CHANGELOG.md
CHANGED
data/lib/xsd/base_object.rb
CHANGED
@@ -220,7 +220,7 @@ module XSD
|
|
220
220
|
else
|
221
221
|
# map children recursive
|
222
222
|
map_children(:*).map do |obj|
|
223
|
-
if obj.is_a?(Element)
|
223
|
+
if obj.is_a?(Element) || obj.is_a?(Any)
|
224
224
|
obj
|
225
225
|
else
|
226
226
|
# get elements considering references
|
@@ -244,7 +244,7 @@ module XSD
|
|
244
244
|
else
|
245
245
|
# map children recursive
|
246
246
|
map_children(:*).map do |obj|
|
247
|
-
if obj.is_a?(Attribute)
|
247
|
+
if obj.is_a?(Attribute) || obj.is_a?(AnyAttribute)
|
248
248
|
obj
|
249
249
|
else
|
250
250
|
# get attributes considering references
|
data/lib/xsd/objects/any.rb
CHANGED
data/lib/xsd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xsd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- d.arkhipov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|