rexle 1.4.12 → 1.4.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexle.rb +9 -3
- metadata +27 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: de0cb527844ed9922d9339bf5916ac540c483c3c6eacade3b821316599550662
|
4
|
+
data.tar.gz: e209722768c1e6601de0c03f1f152f9f8f2f70f453af1a4c203ccfaab0396771
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7a9ea16dfd0f189f124f66c79ae70cfcc59f9fc9ac0ebb61eb41e924fce2c5fed60dbed5bbf9202831abf9720af8b1165ae2f585234798e6f163da2942890d3
|
7
|
+
data.tar.gz: 5271e22f60e7d6e92ac080c65d60da3cc5b3e7f7b57cd899322e0e238b7802da8f5bce3be4523d89055d8337d56ed9f2e6a42c2e7dcf14a9adffb7f80d5a56c7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle.rb
CHANGED
@@ -11,6 +11,8 @@ require 'backtrack-xpath'
|
|
11
11
|
|
12
12
|
|
13
13
|
# modifications:
|
14
|
+
|
15
|
+
# 02-Oct-2018: feature: Added Rexle::Elements#last
|
14
16
|
# 18-Jan-2018: bug fix: An Element's attributes are now cloned too
|
15
17
|
# 16-Sep-2017: improvement: Multiple results are now returned if the
|
16
18
|
# xpath contains an *and* operator
|
@@ -194,9 +196,12 @@ class Rexle
|
|
194
196
|
attr_reader :prefixes, :doctype
|
195
197
|
attr_accessor :instructions
|
196
198
|
|
197
|
-
def initialize(x=nil, rexle: self)
|
199
|
+
def initialize(x=nil, rexle: self, debug: false)
|
198
200
|
|
199
|
-
@rexle = rexle
|
201
|
+
@rexle, @debug = rexle, debug
|
202
|
+
|
203
|
+
puts 'inside Rexle' if debug
|
204
|
+
|
200
205
|
super()
|
201
206
|
|
202
207
|
@instructions = [["xml", "version='1.0' encoding='UTF-8'"]]
|
@@ -1364,6 +1369,7 @@ class Rexle
|
|
1364
1369
|
end
|
1365
1370
|
end
|
1366
1371
|
|
1372
|
+
def last() @elements.last end
|
1367
1373
|
def length() @elements.length end
|
1368
1374
|
def to_a() @elements end
|
1369
1375
|
|
@@ -1586,4 +1592,4 @@ class Rexle
|
|
1586
1592
|
|
1587
1593
|
end
|
1588
1594
|
|
1589
|
-
end
|
1595
|
+
end
|
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.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
+
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgxMDAyMjEwMjM4WhcN
|
15
|
+
MTkxMDAyMjEwMjM4WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC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LP+jbZr6yw/rnU1Mhb3UAI2W9LSXGslpxvtMS0yKsrHPR9/qQ3fIKH
|
32
|
+
teZlGb8tw9RXEKExP6zSR+ZRXpnNyZQ7flRf4lusqUNvtkguF9dL8RNd8QMV2PJw
|
33
|
+
IHeJbMdyTmYQb8XIAR5zXu0BHfqKRT1GLg94u03RBsBcno5YqNJ5OU42C+j8GEQt
|
34
|
+
nFb3gCj4YFPzQa6OVdSIi/kKW2J8wFxUvI8muMt7lbTaxFJLyK9Qdt/oKxwxXM1t
|
35
|
+
Zdf6ufm6l1fXtBUvl0XuKmNH8p6u/7SmI2oqJoV7Oiarx5i1LrpWL8Zc3q9MFaT4
|
36
|
+
pzftGMNXyXUyb9mSx4krfsRT
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date: 2018-
|
38
|
+
date: 2018-10-02 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: rexleparser
|
@@ -140,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
144
|
version: '0'
|
141
145
|
requirements: []
|
142
146
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.6
|
147
|
+
rubygems_version: 2.7.6
|
144
148
|
signing_key:
|
145
149
|
specification_version: 4
|
146
150
|
summary: Rexle is an XML parser written purely in Ruby
|
metadata.gz.sig
CHANGED
Binary file
|