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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c99a5e463c69419d77ab9fc23a2899dcee634840d3df17ff6be5531c9602175b
4
- data.tar.gz: 968a9dd1f8f41763cab001ca540ddb48c9519c1cbaa1df67d9dbea484a43de9f
3
+ metadata.gz: f2f1804ab0245c2ae09a14b8950cb4cb5995a5d57ca49d835aa6d10f7c075fa8
4
+ data.tar.gz: b5e8116e45ee6df9cac50851fead708e961f366a302bffad5cf056313178db0f
5
5
  SHA512:
6
- metadata.gz: e1a6ffe5c2d5f56ba866fbda5bfda8fda6b79e21cc2fe5ef17a358092467a2da043b377a397009bca4bd1ed2ec73512fd4b841f8a9a544b5402b1ca9b432755b
7
- data.tar.gz: 60dde98962041333633d2a0a6308346f2fee8c8089978460cdaef01c80ac6a39ba6386c03b3f65b1bf25413cac529808f468e9abbb9b50ed69632c364e524ea8
6
+ metadata.gz: 80b8d5ee3d5b9eb2049df6bdc3f3ce4656d0da5c36cf2a9bf821d36f55aa378381e964e1e0a87a6aa07d118ed289ef1c23229ee442cc42b1a0fb79b377b821c7
7
+ data.tar.gz: 76aefcad66c7f914697d6c8cc61d8f7ceb0f6deb4511d3c18c81de25e415092c8af34c270e36616932753824aad39b6ebecb9e41c5f4b9534840ed07cf71fa26
@@ -1,2 +1,3 @@
1
- i ]!�f9&�f�Ky�iC��`�#'�fu(���}=�/���Gk.lW!5��+��6Z��֒)%�<��4�m��U�R�|�e�B��n�d�_l���x�����
2
- qŗ�}���)Z��)��G�S�>�sw�|����%,�25�́�� ��u �N<�����z{���֨B��^x4V$z �T�8���%�B�0s*�wR� �S}�~6c؉�C��F� ir��|�e?p��*�b1�Ϥ�C�!���.G�K�.�>�8���~�I�ܺp�6ї��%��,�qo�+�v �2��ܦ��!Y�!�Iy�l��g��w��y�@ä��DX��\S�5b�U�'Wl6WH��V�%e=�̯+v�N���5b����&]L��
1
+ ��͎ІL����Wk8ɺY�ʙҥ[��}cUR/������d����
2
+ �PHۍ3���w�H������{9����}��>������y4˴ir08�N�5mhg[\��'���g μ��&�&���}?lY��(������<G�|V�q���P��`��� oZ��W��L`��-�g@7;�@#j���Ek󎡐.�U~P�-1�����NSa,�v0o�\��LК�����Bz�MݮI� #�I 9O��]�a�`����2γ�_O�h�G�>J/vɃDSY7�`�oP`^��=#���?���1�$�/�q��\�!J���j��ʱ2�
3
+ �պ�e�%$��e_5ӄ/��ss#�
data.tar.gz.sig CHANGED
Binary file
@@ -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(& &amp; < &lt; > &gt;).each_slice(2).to_a
1050
+ escape_chars = %w(& &amp; ' &apos; < &lt; > &gt;).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.3
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
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgxMDAyMjEwMjM4WhcN
15
- MTkxMDAyMjEwMjM4WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC1X6zL
17
- G+ytuYkQsPOKreuUt/gsYlNSAw5D8VDCUdOScMLcytoL5Ssf3CBBr2LM1QJrkQ5M
18
- 2J4bF0uTDFmegNK44hIpPPYAYuMHL3IjSawvdyBHgl7GRqv84Y7ys7kD+X+TtxqK
19
- jP3icaTau5+DQMe3lIjqlS7KhI0GhUmjiGlL1X/WOaxf3gHTRWtiMktv3VElekAj
20
- cOL+hZtRICwLq6yrixODLIt9OyAZ8t+U3XpYZIHkMAswGGo05Pkf4FlDnIzm+VJ0
21
- J+dTw+FVx/kPL7y4FNTN8Akl45dAFADuHHNAuOKlCWT+CkKBdDhEWNJQC/cX8nxf
22
- XHwKna6YPnuAbt1IBw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dzzxzRuUBwKHMggxPsHRQzaz8cy4fB
32
+ UWC8eX0y59rd/gA0WunPXgpuV24SHBtIqTLk76Z1Oz3P27Hwx2JPhURtzc3bNfSg
33
+ gvwYrdF1dTOwourN6uqQLksl7AjcCVUV+6hyoa5Fo9HcfURnlPdjVFax/KIQj3lA
34
+ X0bOYG6opdA3I0zyDHGx+mC9QuhM6oKYq3fu7i8RsVsihVImOovRYVagGbULBLDZ
35
+ yK32Ci6By/qMCdJdE8pLLZhHuZGIkoYJK7EN7OKPznwuXRCOq7jb44HAIDi4RZST
36
+ J+lqIOqNxqRJkYpuYSZr+tyd
37
37
  -----END CERTIFICATE-----
38
- date: 2019-09-18 00:00:00.000000000 Z
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.8'
66
+ version: '0.9'
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 0.8.1
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.8'
76
+ version: '0.9'
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 0.8.1
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