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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1e693a049a5832268f77e719d7149cc57ea49fa1598adbd011c176afe04537b
4
- data.tar.gz: ace4a564fd8a0dda84e18141cbe915bbdff873bcbaadbc6ab7fc37210c22d870
3
+ metadata.gz: bf2a8f8144967e80871f40a221639583ea282f507c129298ef120ae944058911
4
+ data.tar.gz: 780227156d596752418d4c0b1a7c88602ce8544e8f980283cc1c7e6e4fbe8e38
5
5
  SHA512:
6
- metadata.gz: 10b3ae2d1ff181fa7d6591e7215a8fd8830a0e16fece40bde11ea8f40b0fffb8602e8eae9c17e8caa7d58c3c1db3e854d97951718c5abd8fa25fa059d7b87afa
7
- data.tar.gz: 0a9eaa9b64d846a56d572c0a41007c16d9d6ce30eb7fcc57b9ae5e890b20f5ae5f6fff82b270b84a2b1053ce7ae76df67dc190c7764768bd1cf8f5e6699c10c0
6
+ metadata.gz: a34dba5dd5e44d97f698f8086da23f8762ecf5683e6dff56dded2035467bd466982d1470f2a625a275a564b3b6c504abefa1bf0eb7d3e64e69fe492865de45a7
7
+ data.tar.gz: a7f8cd5a197af5f68fafbef0d74713f7d7f76e7de3a7217ae45b668a245c0d07a1eb3802c2e79d7ab9f8e470529166cb46142ba4ab61975191ba98f4bc290dd7
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.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-04-23 00:00:00.000000000 Z
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