ayril 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +6 -0
- data/lib/ayril/core_ext/core_ext.rb +0 -1
- data/lib/ayril/version.rb +1 -1
- data/lib/ayril/xml_document.rb +1 -0
- data/lib/ayril/xml_element/element_manipulation.rb +1 -1
- metadata +1 -1
data/CHANGES
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
v 0.1.2
|
2
|
+
===============================
|
3
|
+
* Removed core_ext any? (compatibility with sequel gem)
|
4
|
+
* Added test_append
|
5
|
+
* Added forward :root, :rootElement for XMLDocument (like REXML)
|
6
|
+
|
1
7
|
v 0.1.0
|
2
8
|
===============================
|
3
9
|
* Added a sanity check and fixed a bug where text nodes caused massive fail
|
data/lib/ayril/version.rb
CHANGED
data/lib/ayril/xml_document.rb
CHANGED
@@ -76,7 +76,7 @@ module Ayril
|
|
76
76
|
return id unless id.nil?
|
77
77
|
begin
|
78
78
|
id = "anonymous_element_#{XMLElement::id_counter += 1}"
|
79
|
-
end while self.rootDocument.select("##{id}").
|
79
|
+
end while !self.rootDocument.select("##{id}").empty?
|
80
80
|
self.write_attribute "id", id
|
81
81
|
id
|
82
82
|
end
|