rexle 1.3.5 → 1.3.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 +5 -2
- 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: e527734ccca67f4c8b2ce057a3aa1026e846512c
|
4
|
+
data.tar.gz: 8a3fc5b18b06c59e2462d27e3d83c6bb333a92e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea3871b43ef0586dcfa4a70a6b39795201f7484e7b4f7861ec13b18e401a932507b5cf63ffa66a40674bbfe5898dce3f3dae1f322814bd48b4ba3268d250e4ed
|
7
|
+
data.tar.gz: 13ce6eb8d612169fe5318ccd6d1c2717b7650613980f7e70e48706f0b5da9be1f16fd33490071e3139cb1e52e1c58a12b9b5c50f4e8a352b4c25e9f56840a475
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle.rb
CHANGED
@@ -11,6 +11,8 @@ require 'cgi'
|
|
11
11
|
|
12
12
|
# modifications:
|
13
13
|
|
14
|
+
# 25-May-2015: bug fix: If a Polyrex XML string is being parsed then the
|
15
|
+
# XML instructions will also now be read.
|
14
16
|
# 11-May-2015: improvement: when Rexle::Element#delete is passed an XPath it
|
15
17
|
# will now delete all elements found, not just the first element found.
|
16
18
|
# 10-May-2015: bug fix: Rexle::Element#to_a now correctly returns an array
|
@@ -319,7 +321,8 @@ class Rexle
|
|
319
321
|
if x then
|
320
322
|
procs = {
|
321
323
|
String: proc {|x| parse_string(x)},
|
322
|
-
Array: proc {|x| x}
|
324
|
+
Array: proc {|x| x},
|
325
|
+
RexleParser: ->(x){ parse_rexle(x)}
|
323
326
|
}
|
324
327
|
|
325
328
|
doc_node = ['doc',Attributes.new]
|
@@ -1399,7 +1402,7 @@ class Rexle
|
|
1399
1402
|
procs = {
|
1400
1403
|
'dynarex' => proc {|x| DynarexParser.new(x).to_a},
|
1401
1404
|
#'polyrex' => proc {|x| PolyrexParser.new(x).to_a},
|
1402
|
-
'polyrex' => proc {|x|
|
1405
|
+
'polyrex' => proc {|x| parse_rexle(x)}
|
1403
1406
|
}
|
1404
1407
|
other_parser = procs[recordx_type]
|
1405
1408
|
|
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.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
Tkua07gB3/nVO3aPg7C3vEbDZCxT3WAMli2uZisYT6ozmdAlDsixLjipgFN4If3z
|
32
32
|
Ej0QR3kvGcAvFQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-05-
|
34
|
+
date: 2015-05-25 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexleparser
|
metadata.gz.sig
CHANGED
Binary file
|