rexle 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexle.rb +2 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf2a8f8144967e80871f40a221639583ea282f507c129298ef120ae944058911
|
4
|
+
data.tar.gz: 780227156d596752418d4c0b1a7c88602ce8544e8f980283cc1c7e6e4fbe8e38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a34dba5dd5e44d97f698f8086da23f8762ecf5683e6dff56dded2035467bd466982d1470f2a625a275a564b3b6c504abefa1bf0eb7d3e64e69fe492865de45a7
|
7
|
+
data.tar.gz: a7f8cd5a197af5f68fafbef0d74713f7d7f76e7de3a7217ae45b668a245c0d07a1eb3802c2e79d7ab9f8e470529166cb46142ba4ab61975191ba98f4bc290dd7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle.rb
CHANGED
@@ -13,6 +13,7 @@ require 'backtrack-xpath'
|
|
13
13
|
|
14
14
|
# modifications:
|
15
15
|
|
16
|
+
# 11-May-2020: bug fix: Rexle#css now responds correctly to valid selectors
|
16
17
|
# 23-Apr-2020: feature: Added public method *plaintext*.
|
17
18
|
# 04-Feb-2020: minor bug fix: Element A is now defined as a non self-closing tag
|
18
19
|
# 18-Sep-2019: minor bug fix: &apos is now unescaped properly
|
@@ -257,9 +258,7 @@ class Rexle
|
|
257
258
|
a = selector.split(',').flat_map do |x|
|
258
259
|
@doc.root.xpath RexleCSS.new(x).to_xpath
|
259
260
|
end
|
260
|
-
|
261
|
-
a.shift if self.kind_of? Rexle
|
262
|
-
|
261
|
+
|
263
262
|
return a
|
264
263
|
end
|
265
264
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rexle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
yK32Ci6By/qMCdJdE8pLLZhHuZGIkoYJK7EN7OKPznwuXRCOq7jb44HAIDi4RZST
|
36
36
|
J+lqIOqNxqRJkYpuYSZr+tyd
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2020-
|
38
|
+
date: 2020-05-11 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: c32
|
metadata.gz.sig
CHANGED
Binary file
|