xml-fu 0.1.2 → 0.1.4

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.1.4
2
+
3
+ * Bug Fix with converting non-Array, non-Hash values to their proper XML string equivalent.
4
+
1
5
  ### 0.1.2
2
6
 
3
7
  * Additional nesting support
@@ -7,8 +11,8 @@
7
11
  * Hash iteration logic reduced to a single Node call
8
12
  * Node
9
13
  * New attribute: "content_type"
10
- * Special tag characters (\*, \/, !) can be mixed and matched
11
- * "foo/\*" will return a collection of <foo/> siblings
14
+ * Special tag characters (\*, /, !) can be mixed and matched
15
+ * "foo/\*" will return a collection of &lt;foo/&gt; siblings
12
16
  * 12 new spec tests
13
17
  * Removed development dependencies for:
14
18
  * autotest
data/lib/xml-fu/node.rb CHANGED
@@ -165,7 +165,7 @@ module XmlFu
165
165
  # Shouldn't be anything else
166
166
  end
167
167
  else
168
- xml.tag!(@name, @attributes) { xml << self.value }
168
+ xml.tag!(@name, @attributes) { xml << self.value.to_s }
169
169
  end
170
170
  xml.target!
171
171
  end#to_xml
@@ -1,3 +1,3 @@
1
1
  module XmlFu
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xml-fu
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Johnson
@@ -66,7 +66,6 @@ files:
66
66
  - README.md
67
67
  - Rakefile
68
68
  - lib/xml-fu.rb
69
- - lib/xml-fu/.FuNode.rb.swp
70
69
  - lib/xml-fu/array.rb
71
70
  - lib/xml-fu/core_ext/string.rb
72
71
  - lib/xml-fu/hash.rb
Binary file