rexle 1.4.1 → 1.4.2
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/lib/rexle.rb +3 -16
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bf8fa94cb9283bac159c4f21d6a42c8b04507a9
|
4
|
+
data.tar.gz: ffba2a7d3798f1066da6e54ba12d35e563eacd9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30c3c700caaa483ee243b6001244357657244323af2a0044fd73803973715f86bad785f2d09811d3a0dda21a56ab50f78a20f8b1cc11fa091f24b08fc4ad6399
|
7
|
+
data.tar.gz: 73bfb8c552c9bed59b3bf9805681867e4b3584a0e531a71841d68e10dec5ac9d9295b6394ecb8668f53c20e8fcf965035dc421cf17c85837b55fccfbe7af6179
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rexle.rb
CHANGED
@@ -11,6 +11,7 @@ require 'backtrack-xpath'
|
|
11
11
|
|
12
12
|
|
13
13
|
# modifications:
|
14
|
+
# 11-Dec-2016: backtrack improvement: The usage of attributes (ID, or class) in the returned XPath is now optional
|
14
15
|
# 11-Nov-2016: bug fix: escaped string using double quotes instead regarding
|
15
16
|
# attr_search
|
16
17
|
# 24-Aug-2016: bug fix: Replaced the Dynarex parser with the native parser
|
@@ -59,20 +60,6 @@ require 'backtrack-xpath'
|
|
59
60
|
# 09-Mar-2016: bug fix: '.' now returns the current element
|
60
61
|
# 02-Mar-2016: improvement: When handling the HTML element iframe, it
|
61
62
|
# is no longer printed as a self-closing tag
|
62
|
-
# 05-Nov-2015: bug fix: UTF-8 encoding is now enforced when
|
63
|
-
# preparing the XML for output
|
64
|
-
# 15-Sep-2015: improvement: When handling the HTML element textarea, it
|
65
|
-
# is no longer printed as a self-closing tag
|
66
|
-
# 25-May-2015: bug fix: If a Polyrex XML string is being parsed then the
|
67
|
-
# XML instructions will also now be read.
|
68
|
-
# 11-May-2015: improvement: when Rexle::Element#delete is passed an XPath it
|
69
|
-
# will now delete all elements found, not just the first element found.
|
70
|
-
# 10-May-2015: bug fix: Rexle::Element#to_a now correctly returns an array
|
71
|
-
# Corrected method scan_to_a() which is used by to_a()
|
72
|
-
# 02-May-2015: improvement: Rexle::Element#xpath function contains() can
|
73
|
-
# now be used as a condition .e.g. b[contains(c,'10')]
|
74
|
-
|
75
|
-
|
76
63
|
|
77
64
|
|
78
65
|
module XMLhelper
|
@@ -353,8 +340,8 @@ class Rexle
|
|
353
340
|
|
354
341
|
end
|
355
342
|
|
356
|
-
def backtrack()
|
357
|
-
BacktrackXPath.new(self)
|
343
|
+
def backtrack(use_attributes: true)
|
344
|
+
BacktrackXPath.new(self, use_attributes: use_attributes)
|
358
345
|
end
|
359
346
|
|
360
347
|
def cdata?()
|
data.tar.gz.sig
CHANGED
Binary file
|
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.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
pOw2Fx4uv9tO6wagRTcaHduxkh4jYfPDQI9mODFccHeY+wRLDGTENQwIILvMgEa7
|
32
32
|
50vRuyU+obGfjg==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-
|
34
|
+
date: 2016-12-11 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexleparser
|
metadata.gz.sig
CHANGED
Binary file
|