rexle 1.3.28 → 1.3.29

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: 5285c2104b08d97e21aef3470025c69a55818eb5
4
- data.tar.gz: 7ddd301387395fbe0a8f1286d3d3b80c07784837
3
+ metadata.gz: dbd980688750765c64cb8b636db30994199e269f
4
+ data.tar.gz: e9f2bb14c9e4ebf22cf4e07710c425cae024aba4
5
5
  SHA512:
6
- metadata.gz: e797387cdb3ecc6a24b49bd13cb67c42d7027ed99b114a02dcbd05271f30e1fc4676bed3a44e6519191f5b02a40b66fcb737554bdead22e33bdbc812f6f61da2
7
- data.tar.gz: 58f94f58bc51baf9dd3190e0b54137dc32be109e3516ee823328bb2224ef1e03d9934224df26fbb44e494c0e719182000857812747e03742dff0a1c93ca611ec
6
+ metadata.gz: c897a4409fafcd6204fcd764a50c41d11e0c72acb9fe0b65141ac31a7a586d1331772fd013ed8ccd0b2ef100997dc10147efc9ad05b282302d87fe6ba25b2ad3
7
+ data.tar.gz: aa3deb911ec3430b61f3fd0fdb9ba0d6df18f7b499d487c83753fa0009a5ffb9bcb5a9f42e5022570a1de63d4cd1e2dc23deb37ad5c3bb3cbb106efbab082563
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -12,6 +12,8 @@ require 'backtrack-xpath'
12
12
 
13
13
  # modifications:
14
14
 
15
+ # 24-Apr-2016: bug fix: The element text is now enclosed within quotes when
16
+ # evaluating an xpath condition. see xpath improvement 23-apr-2016
15
17
  # 23-Apr-2016: xpath improvement: Better predicate support
16
18
  # e.g. e.xpath("node != ''")
17
19
  # revision: The previous feature can now include simple
@@ -698,7 +700,7 @@ class Rexle
698
700
 
699
701
  if x.text then
700
702
 
701
- r11 = eval x.text.to_s + right_cond
703
+ r11 = eval "'%s'%s" % [x.text.to_s, right_cond]
702
704
 
703
705
  else
704
706
  false
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.28
4
+ version: 1.3.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file