rexleparser 0.6.7 → 0.6.8
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 +1 -1
- data.tar.gz.sig +0 -0
- data/lib/rexleparser.rb +7 -0
- metadata +2 -2
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32a6446ba06959d7a1a08de1534740243b18d76f
|
|
4
|
+
data.tar.gz: ab584adbd62f514620b0e7c0aeaaf94681a5ff3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0450ddc245605d5353ece7b54904add27e8aed304ab5eaf82ecd21c5b1eebc6ce6550b3c4e9b5fb28d67516f7dcab38e07ce8019f450d6e1bde55937b048cfb5
|
|
7
|
+
data.tar.gz: 69452cb6ebf4faa8c58b0a25cc4bb516d654400e158a1117ca32b18b8a4c35927e6453e173307304a5788c44f4df5aeb90bb101e213f868486976da91342ef52
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
��z�X\��sQF�Er]�U�IX9[�H��:]�|�\@� �_�j*K��b���e��pTh��t���)-Q\�N� +L�̔,�*�Qp��mE�߳�j��R�`��h��+������㓕�E��%R��u�!�{�)dD��zv��n�$^��C
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/rexleparser.rb
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
# file: rexleparser.rb
|
|
4
4
|
# description: used by rexle.rb
|
|
5
5
|
|
|
6
|
+
class RexleParserException < Exception
|
|
7
|
+
end
|
|
8
|
+
|
|
6
9
|
class RexleParser
|
|
7
10
|
|
|
8
11
|
attr_reader :instructions, :doctype, :to_a
|
|
@@ -119,6 +122,10 @@ class RexleParser
|
|
|
119
122
|
|
|
120
123
|
start_tag, children, end_tag = tag, [], nil
|
|
121
124
|
|
|
125
|
+
unless start_tag[1..-3][/\w+$/] then
|
|
126
|
+
raise RexleParserException, 'invalid tag found ' + start_tag
|
|
127
|
+
end
|
|
128
|
+
|
|
122
129
|
until end_tag do
|
|
123
130
|
|
|
124
131
|
key, res = scan_next r, tagname
|
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.6.
|
|
4
|
+
version: 0.6.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
CkjTMLaPwIQI6dsbG4bVJ7/XzL7c8niqJSF7M0yr1+2kUrWFUZMBMrUUxgZxSkjL
|
|
32
32
|
Cgd76bp2zjiyCw==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-02-
|
|
34
|
+
date: 2015-02-22 00:00:00.000000000 Z
|
|
35
35
|
dependencies: []
|
|
36
36
|
description:
|
|
37
37
|
email: james@r0bertson.co.uk
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
�
|
|
1
|
+
oI)�yL�q���oS�W\��U^��?[J1�d��4rd�%��=z���J��\ԑ4њq��1|+8����:W{G��گ��Y������)x�Y��D�3i��S��G�c�&���&s��m��<]g�"�������W�r|��l�
|
|
2
|
+
@�C�{!�fG�Vpdѧ6�d����%�~�U�����J�qX`�4�V���^.o�m
|