rexle 1.3.16 → 1.3.17

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: 512246ae7c4d8e66534964b7a8b8056aaac24961
4
- data.tar.gz: a66848989af6ea65cd7546b0ee6c849fd81fa9b3
3
+ metadata.gz: 777d29e820842eed60966cb67ee8cf8c8211d577
4
+ data.tar.gz: 624cf37cf24651e1d0fb75452847979a84ff8448
5
5
  SHA512:
6
- metadata.gz: e140c84231b0f35864dd62ee8aed8d652205621e20bb03e9a98ad8a445e0d19349814885ad284ab6f25a9f41962e17ee87af88fe0f2790392784e768a350be95
7
- data.tar.gz: 89197b6f77e8c5ffa54b0a5bdbe45b3c1daf72dba7b27cebb675645331c1b6572c8dd140f547ea460cd2d9c202a3a48f722cd4d1e774608c12e77bb313075d68
6
+ metadata.gz: ba8909254b564445bb1649e9f98fd1791a8a827b5765f51ad0f1a433116b452241c2dba5302232ab222d1fa4c433b293f7eac46287006025207c387ff40e69b6
7
+ data.tar.gz: af10871ef56db5998db7012dd80af1e35148c6553c48055cdf193b284081efef2b1731a81dbbaf79d3de24e90dece74b9ea0e93c20557c0e3edf6aac048c2127
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/rexle.rb CHANGED
@@ -12,6 +12,8 @@ require 'backtrack-xpath'
12
12
 
13
13
  # modifications:
14
14
 
15
+ # 04-Apr-2016: bug fix: modified the bug fix from the 15-Mar-2016 to
16
+ # validate on a function name only within the variable attr_search
15
17
  # 28-Mar-2016: minor feature: the name of an attribute can now be
16
18
  # passed into Rexle::Element#text
17
19
  # 15-Mar-2016: bug fix: Reapplied a select case statement (which had
@@ -1159,7 +1161,7 @@ class Rexle
1159
1161
  end
1160
1162
  elsif attr_search[/e\.xpath/] and eval(attr_search)
1161
1163
  block_given? ? blk.call(e) : e
1162
- elsif e.element(attr_search)
1164
+ elsif attr_search[/^\w+\(/] and e.element(attr_search)
1163
1165
  block_given? ? blk.call(e) : e
1164
1166
  end
1165
1167
 
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.16
4
+ version: 1.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  pOw2Fx4uv9tO6wagRTcaHduxkh4jYfPDQI9mODFccHeY+wRLDGTENQwIILvMgEa7
32
32
  50vRuyU+obGfjg==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-03-28 00:00:00.000000000 Z
34
+ date: 2016-04-04 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexleparser
metadata.gz.sig CHANGED
Binary file