rexleparser 0.5.3 → 0.5.4

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: 150be4b182e230e32a34e4de0d0b66476786c5b4
4
- data.tar.gz: 7b28f8bb1181a3d3938c938d4f06368aaf5409d1
3
+ metadata.gz: 54da533e31ca21accc56dd043d599c75e7d156e8
4
+ data.tar.gz: 490f575e1319f8515695eb594e21c2b3b3f951be
5
5
  SHA512:
6
- metadata.gz: 1d3e71bcab648bca2e19d6058897cecd2046c6cce45e3c7d6ee0017817a2585b3fa5cecda50cffd1c892a5ff69f865d2f5a422cf51722f88967b9894f85942fc
7
- data.tar.gz: 7edbfbd4936878a5b8b462a6daa421eaea7ce96e127d4b5e427c383776cf7930382a3ffe7131a30ecc7691323acdcd222763de1f98acebbe8b427deff222c36b
6
+ metadata.gz: 309715fb03c2b6f0be03c2008ab0fd85e4a603401c61cc753f045610e5de3defab285e09663ced755d930ac5306dd3f7f491d8106c23d5301d8e6d746cc1f562
7
+ data.tar.gz: 338bd16792836f9d59c9217abf38259f94dcbb9a5bbe6d373da5b2a41167d094c7598f98d8d0b2fbb9f8a4ceff84a88ecc817c83620ad824c47b5e2da82cbcb3
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rexleparser.rb CHANGED
@@ -23,10 +23,10 @@ class RexleParser
23
23
 
24
24
 
25
25
  def scan_next(r, tagname)
26
-
26
+
27
27
  j = tagname
28
28
 
29
- if r[0][/^>/] then
29
+ if r[0] == '>' then
30
30
 
31
31
  # end tag match
32
32
  tag = r[/^>[^<]+</]
@@ -59,8 +59,8 @@ class RexleParser
59
59
  return [:child, text]
60
60
  end
61
61
 
62
- elsif tag[/^(?:>--|>\]\]).*(?:--!|\[ATADC\[!<)/m] then
63
-
62
+ elsif r[/^(?:>--|>\]\]).*(?:--!|\[ATADC\[!<)/m] then
63
+
64
64
  i = r =~ /(\-\-!<|\[ATADC\[!<)/
65
65
  len = ($1).length
66
66
  tag = r.slice!(0,i+len)
@@ -93,7 +93,7 @@ class RexleParser
93
93
  end
94
94
 
95
95
  def parse_node(r, j=nil)
96
-
96
+
97
97
  return unless r.length > 0
98
98
 
99
99
  tag = r.slice!(/^>[^<]+</) if (r =~ /^>[^<]+</) == 0
@@ -177,4 +177,4 @@ class RexleParser
177
177
 
178
178
  return [tag[/[!\-\w\[]+/], ltext, get_attributes(tag), *r]
179
179
  end
180
- end
180
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexleparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- ��ؠ������eER��&U_����z9}�zk��?��v���u��ʎ��tuz��5㞞�BsP���13w��$d&:;����{ȱ��'��j 9��HL����鸻��|fn'��'��.�����]ˤx���Af�ۮ@“�2�ma�����v�Z���v�m��L��TU�C����P���I%f-�p��H�����,�%�˳i\�9+'��]T>���h)5���=�jm/�\/
1
+ ^�S[®ĭZxfR�>5��uن���l�>&俓7)����鲹I�������ʦ����dWdD�~BF�\f;�iV"���6��.{saY�5]�C'v� ��"��-n2G��Ե�;ʅ��{��ŷ������Eϒ�Mw,��ԶL�wQGp��>�a9"6w檌Cӷ�]�ΌwJ��#�b ���<N��szn֬~x}f��Et������c<��B�)�&�i�0�軌� �|�/�i�-�