oga 3.1 → 3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cbe3fa4c19b1995ca00c2efd90bb6052d08a5a874d98083ff647b5e150f96f8
4
- data.tar.gz: 8bc8e79907508eeceb1d5f176fb6df31c1037f2867f59cd00909dfb0891e7fef
3
+ metadata.gz: 8d6d9208c524c5c1afed20ebd101789527afc7f7c6b4291be4264722e777305d
4
+ data.tar.gz: 50d7491afe03b6d384abd6672e564a3d31ff9c2ed625dc9c25fcac9295bef6e6
5
5
  SHA512:
6
- metadata.gz: 39358a1d0684dee4f428474361e5408a7a658099dbbdfc7794980c3aa7f10121db85f97f04201e3aa9f9cb98f5415e3cc2d28d60f8419a4368ed3a2f03629d9f
7
- data.tar.gz: 58bbbdfaac06cc266a8f9ed92ef71182b1fc4d599a68f41374b799af5457c92c9221dc42d9ffb6e23b47bc731d32c23245802c35928b3b270a891f5a84d48943
6
+ metadata.gz: dcbb061de16bfc88a65ff63599f9ac11fe6aa7c9b9d50f9ebc916b48afd17ccc74d153310a40401ff18056c78b18bf325e952a7ad7fde0a6155b9032ff50969f
7
+ data.tar.gz: af4a2687b4d2d6b72cc1fa98e79f88ce844072f02728dc954bf4741e32529560362bfdd20f0525f49e2f016720a9298b2f94c13b5349aa26841204441e75c310
@@ -1,3 +1,3 @@
1
1
  module Oga
2
- VERSION = '3.1'
2
+ VERSION = '3.2'
3
3
  end # Oga
@@ -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.1'
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-08 00:00:00.000000000 Z
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.0.6
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.