rexle 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -2
- data.tar.gz.sig +0 -0
- data/lib/rexle.rb +6 -2
- metadata +28 -28
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2f1804ab0245c2ae09a14b8950cb4cb5995a5d57ca49d835aa6d10f7c075fa8
|
4
|
+
data.tar.gz: b5e8116e45ee6df9cac50851fead708e961f366a302bffad5cf056313178db0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80b8d5ee3d5b9eb2049df6bdc3f3ce4656d0da5c36cf2a9bf821d36f55aa378381e964e1e0a87a6aa07d118ed289ef1c23229ee442cc42b1a0fb79b377b821c7
|
7
|
+
data.tar.gz: 76aefcad66c7f914697d6c8cc61d8f7ceb0f6deb4511d3c18c81de25e415092c8af34c270e36616932753824aad39b6ebecb9e41c5f4b9534840ed07cf71fa26
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
��͎ІL����W�k8ɺY�ʙҥ[��}cUR/������d����
|
2
|
+
�PHۍ3���w�H������{9����}��>������y4˴i�r08�N�5�mh�g[\��'���gμ��&�&���}?lY��(������<G�|V�q���P��`��� oZ��W��L`��-�g@7;�@#j���Ek.�U~P�-1�����NSa,�v�0o�\��LК�����B�z�MݮI�#�I9O��]�a�`����2γ�_O�h�G�>J/vɃDS�Y7�`�oP`^��=#���?���1�$�/�q��\�!J���j��ʱ2�
|
3
|
+
�պ�e�%$��e_5ӄ/��ss#�
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle.rb
CHANGED
@@ -13,6 +13,7 @@ require 'backtrack-xpath'
|
|
13
13
|
|
14
14
|
# modifications:
|
15
15
|
|
16
|
+
# 04-Feb-2020: minor bug fix: Element A is now defined as a non self-closing tag
|
16
17
|
# 18-Sep-2019: minor bug fix: &apos is now unescaped properly
|
17
18
|
# 09-Jul-2019: minor improvement: A comment tag now has a
|
18
19
|
# new line when pretty printed
|
@@ -100,7 +101,7 @@ module XMLhelper
|
|
100
101
|
|
101
102
|
tag = x.name + (a.empty? ? '' : ' ' + a.join(' '))
|
102
103
|
|
103
|
-
non_self_closing_tags = %w(script textarea iframe div object)
|
104
|
+
non_self_closing_tags = %w(script textarea iframe div object a)
|
104
105
|
|
105
106
|
if (x.children and x.children.length > 0 \
|
106
107
|
and not x.children.is_an_empty_string?) or \
|
@@ -206,6 +207,7 @@ class Rexle
|
|
206
207
|
def initialize(x=nil, rexle: self, debug: false)
|
207
208
|
|
208
209
|
@rexle, @debug = rexle, debug
|
210
|
+
$debug = @debug
|
209
211
|
|
210
212
|
puts 'inside Rexle'.debug if debug
|
211
213
|
|
@@ -647,6 +649,7 @@ class Rexle
|
|
647
649
|
attr_search = format_condition(condition) if condition \
|
648
650
|
and condition.length > 0
|
649
651
|
|
652
|
+
puts ('1. attr_search: ' + attr_search.inspect).debug if $debug
|
650
653
|
#@log.debug 'attr_search2 : ' + attr_search.inspect
|
651
654
|
attr_search2 = xpath_value[/^\[(.*)\]$/,1]
|
652
655
|
|
@@ -711,6 +714,7 @@ class Rexle
|
|
711
714
|
end
|
712
715
|
|
713
716
|
elsif element_name.nil?
|
717
|
+
puts ('attr_search: ' + attr_search.inspect).debug if $debug
|
714
718
|
return eval attr_search
|
715
719
|
else
|
716
720
|
|
@@ -1043,7 +1047,7 @@ class Rexle
|
|
1043
1047
|
|
1044
1048
|
val = Value.new(raw_s.to_s.clone)
|
1045
1049
|
|
1046
|
-
escape_chars = %w(& & < < > >).each_slice(2).to_a
|
1050
|
+
escape_chars = %w(& & ' ' < < > >).each_slice(2).to_a
|
1047
1051
|
escape_chars.each{|x| val.gsub!(*x)}
|
1048
1052
|
|
1049
1053
|
t = val
|
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.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -11,31 +11,31 @@ cert_chain:
|
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjAwMjA0MTMxMjIzWhcN
|
15
|
+
MjEwMjAzMTMxMjIzWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCyVLqC
|
17
|
+
gVJ+P/zFnjtoyxfgcrc5US5+G7mDdNq/Q2GDm2zIZjVAnUHLZCcKLBlwMY0Vusqq
|
18
|
+
sNzbiSHqVqaXtrFq2jivmbJsKUxJMTIuErXQnpfVsmapQsYJ7U8+byHgFRf8ysTc
|
19
|
+
Op90xKUkroJdO+Ls0SMcFXUGqybH5d4Dxhb+3f/rAThPC8V9EWRWF/SlosXvE/sw
|
20
|
+
VzsGkxLQug3xJkSvN2rQQZi4RgOP37jgeEToeLTIu43npNF6H9nSV/lxUriqPyva
|
21
|
+
OMQYIpK+1SS42J9rSD1/1q1FscsKT2koP9Uf4zHzIeuiQ4wmAMpqYS80eNzaeAEx
|
22
|
+
p3Z4HLBHseWKNWSDrgW0YvuYBAEMcq+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qIOqNxqRJkYpuYSZr+tyd
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: c32
|
@@ -63,20 +63,20 @@ dependencies:
|
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '0.
|
66
|
+
version: '0.9'
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.9.3
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0.
|
76
|
+
version: '0.9'
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.
|
79
|
+
version: 0.9.3
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: rexle-builder
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|