oga 3.1 → 3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/querying.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d6d9208c524c5c1afed20ebd101789527afc7f7c6b4291be4264722e777305d
|
4
|
+
data.tar.gz: 50d7491afe03b6d384abd6672e564a3d31ff9c2ed625dc9c25fcac9295bef6e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcbb061de16bfc88a65ff63599f9ac11fe6aa7c9b9d50f9ebc916b48afd17ccc74d153310a40401ff18056c78b18bf325e952a7ad7fde0a6155b9032ff50969f
|
7
|
+
data.tar.gz: af4a2687b4d2d6b72cc1fa98e79f88ce844072f02728dc954bf4741e32529560362bfdd20f0525f49e2f016720a9298b2f94c13b5349aa26841204441e75c310
|
data/lib/oga/version.rb
CHANGED
data/lib/oga/xml/querying.rb
CHANGED
@@ -63,8 +63,8 @@ module Oga
|
|
63
63
|
#
|
64
64
|
# @see [#xpath]
|
65
65
|
# @return [Oga::XML::Node|Oga::XML::Attribute]
|
66
|
-
def at_xpath(*args)
|
67
|
-
result = xpath(*args)
|
66
|
+
def at_xpath(*args, namespaces: nil)
|
67
|
+
result = xpath(*args, namespaces: namespaces)
|
68
68
|
|
69
69
|
result.is_a?(XML::NodeSet) ? result.first : result
|
70
70
|
end
|
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: '3.
|
4
|
+
version: '3.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
- !ruby/object:Gem::Version
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
|
-
rubygems_version: 3.
|
228
|
+
rubygems_version: 3.1.2
|
229
229
|
signing_key:
|
230
230
|
specification_version: 4
|
231
231
|
summary: Oga is an XML/HTML parser written in Ruby.
|