rexle 1.3.2 → 1.3.3
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 +3 -1
- data/lib/rexle.rb +3 -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: a389009f9a67e4e7ed9d8f714666e6d13ea0eb94
|
4
|
+
data.tar.gz: ed36b12ea939166a12c0c5733c2dd5e2f5e2a2cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9de30e22a09d097ebbdc1adeb5cba3aa5e35cb48ad7ebe403663485ba8be0ed27883ab7dce94d37680f59ea786d2a64fb8a59b832e549b29dc75313ffcd0187a
|
7
|
+
data.tar.gz: 1d7cfe89491c0129a94dc232df66f60672f0beb3870018da9c1e0f6b43fd01856ad888e9f323121f90fa18d02f4f31753977f45c0291e22a111c858429d334cb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
Y��h��)�s��,�^��&�Pf�./�J`�+K�՛�7\��/M��
|
2
|
+
O�����҉����>�x_�k%�-'�Z��9�����)��$�Xg;G��Ƅ�W�r��ei�SH�S.n��cq(LGLG����"B}�@0�?e�>��
|
3
|
+
�&`���)��^V��@��OEf��g��QdK����H��r���A�Ҿ�J&.R>*(?�Zk�6����X��`��B 9�+��b���2I��+�Ȯ���� �Wۉmk���
|
data/lib/rexle.rb
CHANGED
@@ -11,6 +11,7 @@ require 'cgi'
|
|
11
11
|
|
12
12
|
# modifications:
|
13
13
|
|
14
|
+
# 10-May-2015: bug fix: Rexle::Element#to_a now correctly returns an array
|
14
15
|
# 02-May-2015: improvement: Rexle::Element#xpath function contains() can
|
15
16
|
# now be used as a condition .e.g. b[contains(c,'10')]
|
16
17
|
# 30-Apr-2015: improvement: Rexle::Element#xpath function contains() can
|
@@ -956,8 +957,8 @@ class Rexle
|
|
956
957
|
alias text= value=
|
957
958
|
|
958
959
|
def to_a()
|
959
|
-
e =
|
960
|
-
|
960
|
+
e = [String.new(self.name), Hash.new(self.attributes), String.new(self.value)]
|
961
|
+
[*e, *scan_to_a(self.children)]
|
961
962
|
end
|
962
963
|
|
963
964
|
def xml(options={})
|
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.3
|
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-10 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexleparser
|
metadata.gz.sig
CHANGED
Binary file
|