ruby-xquery 0.0.6.225 → 0.0.7.226
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/xml/xquery/node.rb +2 -2
- data/lib/xml/xquery/node_set.rb +4 -4
- data/lib/xml/xquery/version.rb +1 -1
- data/lib/xml/xquery/xpath_object.rb +2 -2
- metadata +2 -2
data/README
CHANGED
data/lib/xml/xquery/node.rb
CHANGED
data/lib/xml/xquery/node_set.rb
CHANGED
@@ -55,12 +55,12 @@ class XML::Node::Set
|
|
55
55
|
self
|
56
56
|
end
|
57
57
|
|
58
|
-
def contents
|
59
|
-
map { |
|
58
|
+
def contents(sep = ' | ')
|
59
|
+
map { |n| (c = n.to_s(sep)).empty? ? nil : c }.compact
|
60
60
|
end
|
61
61
|
|
62
|
-
def to_s
|
63
|
-
contents.join(
|
62
|
+
def to_s(sep = ' | ')
|
63
|
+
contents(sep).join(sep)
|
64
64
|
end
|
65
65
|
|
66
66
|
end
|
data/lib/xml/xquery/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-xquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7.226
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-03-
|
12
|
+
date: 2008-03-28 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|