rexle 0.9.76 → 0.9.77

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: 15dcad49f46781b9a81eab91d6c600ce9a5a1aa6
4
- data.tar.gz: ba43c911eabe6ee2fe27ff94ac26ab799f3e1d12
3
+ metadata.gz: cf2d1b7fb7f090c6bfb0e142ba9e0596f8730709
4
+ data.tar.gz: c9217b7a30787b26500533219b851dc5e94866be
5
5
  SHA512:
6
- metadata.gz: d85e712b0328d0335f8feb89d814d5726535221607bc614321f549e6471f847a132986829805cba5ab816ad6e1b1b25693979fa5a072a0b655d2f68ee13d4801
7
- data.tar.gz: 9cad24df925c9b4e20927994543b0a8beed753188289d4cb2e90675bb92e6df67c449a72cd9e1ca9a2717cb75a04643af97f7e07f9665f543bca655fb3e00b44
6
+ metadata.gz: 9681b4c6d172fa098938c96aac97718349adb6662f974bfb375febb210fab88348856709fa1507dc62d94406a73a42b1e057c9c6661659d4a36321f45524762a
7
+ data.tar.gz: acb9cfcd8ef7d3a3be89166ceff80c1f142b503b8b60f8d248d5382f657e705f4d4677ae661eed29f21766030a031368144894f1a664a5a96b73457a2c444f58
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- Q�� ^:�°�}ڕ�_�0���<d���pa4g�/�y�<:
2
- Ns����jJ�������w��y$�:�p
3
- �I��INaJ�}B9�vUv��!�K�����#��kz�����_M��6*r���n�b����w����|͏@X�K�~��p�����f��FY�HCKh���~d� �$��� _��z^�_3SO��Ӛ%#�n C��9���b4�o����G^ڲ /��u
1
+ �ͭ���+���K���-7� >՞�#��h��7Eß�e��=�K�R8��k��1�ܢ�G�%h'�f�1V*�Y �T�+��4����Bn��)Ѐxb�ːs�ͧ�rJ�_[6�FGc���\��Ҥ��V
2
+ ćYXL�o& �����Z+������d�I��@*�&�^��Sᢌ"�toHx*�(^=/�������5��t�ߧ7�Ɓ���L0Ϯї崊�妷?,0��0M�
data.tar.gz.sig CHANGED
Binary file
data/lib/rexle.rb CHANGED
@@ -10,6 +10,8 @@ require 'cgi'
10
10
  include REXML
11
11
 
12
12
  # modifications:
13
+ # 05-Nov02013: XPath bug fix: recursive selector with conditional parent now
14
+ # returns the correct child e.g. //b[2]/c
13
15
  # 10-Oct-2013: bug fix: child elements which have the same name as their parent
14
16
  # are now select correctly through XPath
15
17
  # 22-sep-2013: feature: remove() is now an alias of delete()
@@ -368,7 +370,7 @@ class Rexle
368
370
 
369
371
  if raw_path[0,2] == '//' then
370
372
 
371
- regex = /\[(\d+)\]/
373
+ regex = /\[(\d+)\]$/
372
374
  n = xpath_value[regex,1]
373
375
  xpath_value.slice!(regex)
374
376
 
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: 0.9.76
4
+ version: 0.9.77
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: 2013-10-10 00:00:00.000000000 Z
32
+ date: 2013-11-05 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rexleparser
metadata.gz.sig CHANGED
Binary file