rexle 1.4.0 → 1.4.1

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: 9874aa7d64ad62acc0486eefeda26da347d3f664
4
- data.tar.gz: 3ea8b2d05dc09616a8163808ee8cfb0d41dca23d
3
+ metadata.gz: f175f4fe11f5187f24a25a17dd1e0ef0b88412f8
4
+ data.tar.gz: 5d262932e7779c5a32dbc21ad77ac078dd8532e3
5
5
  SHA512:
6
- metadata.gz: cf572f0bed30b4070255c043c414e748ea7d2c1de918d34b77bfafed4e66b7ca47365ceaffe05a1a0776a9bf72509b79a2399585ae9b59c61af8b832935ad9b9
7
- data.tar.gz: d957c53efa93c5ab87f5590287ee0077b265dce15128120c3efb22280a72c70c29a16c1471ffc4d43278c1e28d580b13810e43cb39b81bb6e8583c48a9930283
6
+ metadata.gz: 921af412c52f19218922cad404f663dd7aa9349d08ffbae7d1b86b6e8b2df38889c7dcdcf1b25bdb68acf3c003d41fe9543c24280c185c4b5021284cf01db753
7
+ data.tar.gz: 1fd8a085c4fd2c2e30a54f742c0e6d0e63817a55a9d7acfaaaeadb5f9375fc9717170e518da7adceb9179c7c7699c889b10ba25355216569d4f5e6b46400b174
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/rexle.rb CHANGED
@@ -11,7 +11,8 @@ require 'backtrack-xpath'
11
11
 
12
12
 
13
13
  # modifications:
14
-
14
+ # 11-Nov-2016: bug fix: escaped string using double quotes instead regarding
15
+ # attr_search
15
16
  # 24-Aug-2016: bug fix: Replaced the Dynarex parser with the native parser
16
17
  # 08-Jul-2016: bug fix: Dynarex#css will no longer return the Rexle
17
18
  # object in the results e.g. doc.css '*'
@@ -1172,7 +1173,7 @@ class Rexle
1172
1173
  "r = e.xpath('#{path}').first; r and r.value == #{value}"
1173
1174
  end
1174
1175
  else
1175
- "(name == '%s' and value %s '%s')" % [x[0], x[1], \
1176
+ "(name == '%s' and value %s \"%s\")" % [x[0], x[1], \
1176
1177
  x[2].sub(/^['"](.*)['"]$/,'\1')]
1177
1178
  end
1178
1179
  else
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.4.0
4
+ version: 1.4.1
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-07-24 00:00:00.000000000 Z
34
+ date: 2016-11-11 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexleparser
metadata.gz.sig CHANGED
@@ -1 +1,3 @@
1
- U �t(�ƚ��BS�:��S(���\�^ �:�g1�۝�Y
1
+ v'�/�Q'��hkO
2
+ F�b�G���0����ϸ)�~��y���o����R8۱��tL{{a.����1m���G���޲��˰wd
3
+ �e�S޿B~���ڐ{>C�'-7DJ���`����z��$,�̡/��oR����1�IE��J��m�a��xa$�SƩ�ʦ*���I7ߕȨ������1S]Y�#������f�=��J~�����<$�U`6��i�)p�m�W\G�D+��W�<���Tн��&��,