oga 2.13-java → 2.14-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/liboga.jar +0 -0
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/attribute.rb +4 -2
- data/lib/oga/xml/node.rb +2 -0
- data/lib/oga/xml/node_set.rb +2 -0
- data/lib/oga/xml/traversal.rb +2 -0
- 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: 21160381f90738e0a65a0002282d2b97eb62aa09
|
4
|
+
data.tar.gz: a40878e992879fa93c0911310a171347d745c02a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a73ad9723f0cf2f499bbec77b028414f3efe918f80462a4c967c105209e8439cbf5a619a79a82c8d11ac6e56aa20681f3faf7bae15a33578619fa0d2fccacea
|
7
|
+
data.tar.gz: a75e00464c6884b106f4c228007b6ae4f3d28bf8a4189440b5d716259c07e4ab9f9bdd730b4959e6eb9edafe7933a0b05b5bc5e7e6de2bbd808938b13e3432a3
|
data/lib/liboga.jar
CHANGED
Binary file
|
data/lib/oga/version.rb
CHANGED
data/lib/oga/xml/attribute.rb
CHANGED
@@ -99,12 +99,14 @@ module Oga
|
|
99
99
|
end
|
100
100
|
|
101
101
|
# @see [Oga::XML::Node#each_ancestor]
|
102
|
-
def each_ancestor
|
102
|
+
def each_ancestor
|
103
|
+
return to_enum(:each_ancestor) unless block_given?
|
104
|
+
|
103
105
|
return unless element
|
104
106
|
|
105
107
|
yield element
|
106
108
|
|
107
|
-
element.each_ancestor
|
109
|
+
element.each_ancestor { |ancestor| yield ancestor }
|
108
110
|
end
|
109
111
|
|
110
112
|
private
|
data/lib/oga/xml/node.rb
CHANGED
data/lib/oga/xml/node_set.rb
CHANGED
data/lib/oga/xml/traversal.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '2.
|
4
|
+
version: '2.14'
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|