xmlmapper 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xmlmapper/version.rb +1 -1
- data/lib/xmlmapper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a9c9b8291f769a98bbb4ce82a1eaf63640da2d1
|
4
|
+
data.tar.gz: c9afa447428142ffbb8c0b78346519db9992cb10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93744d292d3781a9741a1eb0a4c35380b7aa2b5c0b74e2e54b2b287b2c97a87f7b6aef24f60aa8b3f17fc1960dcbfb21366ef5f3475c6cc6a5d4167e75c19a22
|
7
|
+
data.tar.gz: bcf235fcd49214c823fd04425ec851c34f6a4a11d762e21aab32d70d6cb072431ca219c6a2fcda4a8e442eef86611ca7593b691f3feefd51ec25c5049d471d42
|
data/lib/xmlmapper/version.rb
CHANGED
data/lib/xmlmapper.rb
CHANGED
@@ -436,7 +436,7 @@ module XmlMapper
|
|
436
436
|
|
437
437
|
if obj.respond_to?('xml_value=')
|
438
438
|
# n.namespaces.each {|name,path| n[name] = path }
|
439
|
-
obj.xml_value = n.
|
439
|
+
obj.xml_value = n.canonicalize(Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0, n.namespaces.keys.map { |name| name.split(":").last })
|
440
440
|
end
|
441
441
|
|
442
442
|
if obj.respond_to?('xml_node=')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmlmapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damien Le Berrigaud
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.
|
132
|
+
rubygems_version: 2.5.1
|
133
133
|
signing_key:
|
134
134
|
specification_version: 3
|
135
135
|
summary: Provides a simple way to map XML to Ruby Objects and back again.
|