rexle 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c17be6210359cbed7e2a1698eed5c7b16c118ec
4
- data.tar.gz: 1b73e55d26b5f68c66fb1cfa90703e4efff5314e
3
+ metadata.gz: a389009f9a67e4e7ed9d8f714666e6d13ea0eb94
4
+ data.tar.gz: ed36b12ea939166a12c0c5733c2dd5e2f5e2a2cd
5
5
  SHA512:
6
- metadata.gz: b9a2e7317838895ba06abc7931eac60936a22f4b3e1a60bc9ea031d14645851393381a4b90e2215b77d90f0d1a1b16ba9daa680736dcc43373bd7f7f7ca56945
7
- data.tar.gz: bdeee7323744309d7eec27e72c714355a51733587925b90f0b36797235b0f8e0001e2ccc92a3dc276c8ddd02ea94afbfb1e507de38ea586dffe97763231ab381
6
+ metadata.gz: 9de30e22a09d097ebbdc1adeb5cba3aa5e35cb48ad7ebe403663485ba8be0ed27883ab7dce94d37680f59ea786d2a64fb8a59b832e549b29dc75313ffcd0187a
7
+ data.tar.gz: 1d7cfe89491c0129a94dc232df66f60672f0beb3870018da9c1e0f6b43fd01856ad888e9f323121f90fa18d02f4f31753977f45c0291e22a111c858429d334cb
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- ������P����6��Ws��Nl3��uj���e,d>8����Kpe���
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� ��
@@ -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 = Array.new(String.new(self.name), Hash.new(self.attributes), String.new(self.value))
960
- Array.new(*e, *scan_to_a(self.children))
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.2
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-02 00:00:00.000000000 Z
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