rexle 1.3.9 → 1.3.10
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexle.rb +6 -2
- metadata +2 -2
- metadata.gz.sig +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa5e46b1147e08b30314c2dbfce997354943fe76
|
4
|
+
data.tar.gz: 4c71da7214b5d62af1ac409fe50cafe44b47ac3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e10e53f73808efed5c45121eeb6ad433d3a76ae0738047669dc3367a05f29df9ef5da8ef438668a85ca527c4dfb80172b4564138ae512e1cf20f43997141d2ea
|
7
|
+
data.tar.gz: fd4996723bc1425a682dfb4f3bee820c486dd7868269097390c07864040aa6c10791abf8873689c52adb7d0a3faa8993a0c24623ee9374cf1dec09534794b4d9
|
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
|
+
# 02-Mar-2016: improvement: When handling the HTML element iframe, it
|
16
|
+
# is no longer printed as a self-closing tag
|
15
17
|
# 05-Nov-2015: bug fix: UTF-8 encoding is now enforced when
|
16
18
|
# preparing the XML for output
|
17
19
|
# 15-Sep-2015: improvement: When handling the HTML element textarea, it
|
@@ -226,7 +228,8 @@ module XMLhelper
|
|
226
228
|
|
227
229
|
if (x.children and x.children.length > 0 \
|
228
230
|
and not x.children.is_an_empty_string?) or \
|
229
|
-
x.name == 'script' or x.name == 'textarea'
|
231
|
+
x.name == 'script' or x.name == 'textarea' \
|
232
|
+
or x.name == 'iframe' then
|
230
233
|
|
231
234
|
out = ["<%s>" % tag]
|
232
235
|
out << scan_print(x.children)
|
@@ -291,7 +294,8 @@ module XMLhelper
|
|
291
294
|
if (x.value and x.value.length > 0) \
|
292
295
|
or (x.children and x.children.length > 0 \
|
293
296
|
and not x.children.is_an_empty_string?) or \
|
294
|
-
x.name == 'script' or x.name == 'textarea'
|
297
|
+
x.name == 'script' or x.name == 'textarea' or \
|
298
|
+
x.name == 'iframe' then
|
295
299
|
|
296
300
|
ind1 = (x.children and x.children.grep(Rexle::Element).length > 0) ?
|
297
301
|
("\n" + ' ' * indent) : ''
|
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.
|
4
|
+
version: 1.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
Tkua07gB3/nVO3aPg7C3vEbDZCxT3WAMli2uZisYT6ozmdAlDsixLjipgFN4If3z
|
32
32
|
Ej0QR3kvGcAvFQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexleparser
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
��3/��S������+�2>�X
|
1
|
+
���7�H��|~����S�%�� �{���#3f���a�N�i@�1eؾ|d�:�+�"{�m� ��=�k�,(���E�?�=ڐ�Y�9�6��1��3נc���|��-z��X�=��G��>�>��$u(��KWa��顣��l���#����C](`e�����#�X�H�_+`�S�g�Hp���U�%f�e��$���S��1Du�!�
|
2
|
+
�o��t"��Z�u���g�C$����Ě
|