xsd 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/lib/xsd/generator.rb +1 -1
- data/lib/xsd/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 786af29254baeee14f0dbe25030ea93f11b13cbc65809a6b74eec7dac9c3e964
|
4
|
+
data.tar.gz: 8a57b93cbd03ffb4cc176dee9ef9acec5ee37da68bcba6c0dd29bfb9450cd71c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96c8d9f3e1905cab35ab23446c7ab6b14b6d60a352fc603a520851f7669a5ae0fad5f61256cc95ee1077aade09a3fb8d12aeee28721f003d615d01233d0d190c
|
7
|
+
data.tar.gz: b5214a02de3b5b196d37eacddd6afb987fdd3ff23bb0a4660204fbac91875d61e266089e84f183a64fae5b8a2eba3a47e65cd0813babec74e8e45842243a2bd1
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/xsd/generator.rb
CHANGED
@@ -77,7 +77,7 @@ module XSD
|
|
77
77
|
# prepare attributes
|
78
78
|
all_attributes.each do |attribute|
|
79
79
|
value = item["@#{attribute.name}"]
|
80
|
-
if value
|
80
|
+
if !value.nil?
|
81
81
|
attributes[attribute.name] = value
|
82
82
|
elsif attribute.required?
|
83
83
|
raise Error, "Attribute #{attribute.name} is required, but no data in provided for it" if attribute.fixed.nil?
|
data/lib/xsd/version.rb
CHANGED