rexle 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5f2c294e8d6845f6909d3abc19690240d226e80
4
- data.tar.gz: 11e7b46a5acc0ca105a38364741a9e001f160931
3
+ metadata.gz: 5d7adcbb0c4e16512dc560298ac8bab4871b1d8c
4
+ data.tar.gz: fa1af4a7d7e5f7316013408a4e6f4a06f9cd228a
5
5
  SHA512:
6
- metadata.gz: b2257d5da4b295566b3d9cb5703a5886add42feb4159894f35c8a6445e7dcad98d27ce6aef1b21f5b74ba4d3d1320aa3b90bf8d575fe70a1edafd2a71fff9482
7
- data.tar.gz: 7c0d973a49630e6cd6cacd8f968c546b63b72206ca48c2aa815ca2b4bacf574c6b57300d0c4abda3bf8ff5a28b5a71a5462114a89b92af7de978e0940a115258
6
+ metadata.gz: 8b2e62245764034014a5d0867546eefaf63cde30c8d7cc069fc5f9391765fba4bfcf0ad5d238ec145b2cc4017015bd1232fa29d241210f5930cfc8ac3841d2a3
7
+ data.tar.gz: c0cb16ed7bbf49d8ea7a110941201efc9d56df1614dd1a835d6bc1b3f998fe28d399b9836a26425efae39a3acb10322c82396bb8cddfcbe275a1ef5bddca0e4f
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rexle.rb CHANGED
@@ -11,6 +11,7 @@ include REXML
11
11
 
12
12
  # modifications:
13
13
 
14
+ # 17-Jan-2014: bug fix: Rexle::Element to_a now returns all child elements
14
15
  # 31-Dec-2013: feature: now supports processing instructions
15
16
  # 18-Dec-2013: feature fix: the result of text() is no longer unescaped
16
17
  # 13-Dec-2013: bug fix: elements with dashes can now be queried
@@ -131,7 +132,7 @@ module XMLhelper
131
132
  if x.is_a? Rexle::Element then
132
133
 
133
134
  a = [x.name, x.value, x.attributes]
134
- (a.concat(scan_to_a(x.children[1..-1]))) if x.children.length > 1
135
+ (a.concat(scan_to_a(x.children))) if x.children.length > 1
135
136
  r << a
136
137
  elsif x.is_a? String then
137
138
 
data.tar.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- 9`���n�u����OD�� �uQkjf>�F@��{�d�E��ʔ,��8�?&��Sp���y����C�d�;hr҈�������nFh�+��+��Jixu�v
2
- ��!�=A��i9��:+[/�7ܒ�3~S��8�U[Ӻ%2��ܸ�cɒP���唏����&o���!���Q�o��BMt���=R͢�q�k��V���l�'��l`Wؽ�
1
+ C?�u?Pz8�Ф�S{��j<�36�^o*�/jgCf���R�� �Ͳag`IP��ɒYs��m��E��y�.��d�c//-6�Ǭ_274XDq����
2
+ ����0b����)k)U[�<���KU�����w�m�� 
3
+ ��lCUN�T�HCT���eMЀ�D+����rӱ]�B�sL�:� c9A��{P���&�
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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -29,7 +29,7 @@ cert_chain:
29
29
  EgghkUCgC30KsgaYheoN5ILHCE52JXCfr1Qto26qUSdC49xWkxnQz2yrSq8z085Q
30
30
  h0bKDk/qqjLsNUnSPxhypj3wTgJNdHKX
31
31
  -----END CERTIFICATE-----
32
- date: 2014-01-01 00:00:00.000000000 Z
32
+ date: 2014-01-17 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rexleparser
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- ���垢�r Nv��4\9���E�$SWl)��fj�>�R�su��i1���H^��M.o�H��� ��l�W,����x>�~�J�yQ��J�!�.9��]�ۃ��H�ޭ:�^��G����aN` ��i1��a G�Տ�Q�ٴ��k��ƣ��z������M������b�\��\|�hT���sv3&$�,�NF%�N��U<�W�0����nA�7pΎ���eGD3�'x�y�y�;b�`8�]��etU��ۣ
1
+ QR.<�0^]:n2;t��P n':�6P�q0n�s�nQ�ϑ;�K�~�bS��-l_��?`W�6�5���Gh|}]�)k�tJӿ7�J�9�@�[��zF���=