rexle 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexle.rb +10 -1
- metadata +2 -3
- 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: 2f3a69d53a3bbb7af3850eccdf8fac527f95bca1
|
|
4
|
+
data.tar.gz: 5fb607c69e7883f2fa2f12c183e33bbbe07f8f71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2773d7716ce5be7764b6c37f4ab8a4239c69d4f714edb0ac258b494226bfc389cd988a6f45519244c169751531ae426d4dd31918558cbe8876a45abee2b1c14
|
|
7
|
+
data.tar.gz: 826ceb77c77a1e81a5775696c630a91ee87245d19dbfdac454b044d6aa83be59eb686356b22d13139fc9d52d6375d89c858cdbce77e8b15056abeaca8fb8ce6b
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/rexle.rb
CHANGED
|
@@ -11,6 +11,7 @@ include REXML
|
|
|
11
11
|
|
|
12
12
|
# modifications:
|
|
13
13
|
|
|
14
|
+
# 07-Aug-2014: feature: Rexle::CData can now be used to create CDATA
|
|
14
15
|
# 12-Jul-2014: XPath with a single element condition now works e.g. b[c]
|
|
15
16
|
# 07-Jun-2014: bug fix: An XPath nested within an XPath (using a selector)
|
|
16
17
|
# should now wok properly e.g. record/abc[item/xyz="red"]
|
|
@@ -861,6 +862,14 @@ class Rexle
|
|
|
861
862
|
end
|
|
862
863
|
end # -- end of element --
|
|
863
864
|
|
|
865
|
+
class CData < Element
|
|
866
|
+
|
|
867
|
+
def initialize(value='')
|
|
868
|
+
super('![', value)
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
end
|
|
872
|
+
|
|
864
873
|
class Elements
|
|
865
874
|
include Enumerable
|
|
866
875
|
|
|
@@ -1028,4 +1037,4 @@ class Rexle
|
|
|
1028
1037
|
[node.name, node.text.to_s, attributes, *children]
|
|
1029
1038
|
end
|
|
1030
1039
|
|
|
1031
|
-
end
|
|
1040
|
+
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.0.
|
|
4
|
+
version: 1.0.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
UOGKUMV5RApHDnC0ywMYNe0HK7qMSTP5YLKs8JUjNxpc5jl8+o3D3sHkNN4DzbQm
|
|
32
32
|
jVfzDZ+niKvAUA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2014-07
|
|
34
|
+
date: 2014-09-07 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rexleparser
|
|
@@ -145,4 +145,3 @@ signing_key:
|
|
|
145
145
|
specification_version: 4
|
|
146
146
|
summary: Rexle is a simple XML parser written purely in Ruby
|
|
147
147
|
test_files: []
|
|
148
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
|
Binary file
|