rexleparser 0.7.2 → 0.7.3
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/lib/rexleparser.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b4ba5fcb34b0aee21b83c1668e0deffe6a1119d
|
|
4
|
+
data.tar.gz: 445a599e783823b24a8ce2e746dafc87e38378a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06d0b1bcda16b66b55ff5e54b89525a7c826c2409680096c6fa6cb7d33338c451bb909bc233b91f093284f296ed8c2ab5db74e38cdd874e9620a274d94929d6d
|
|
7
|
+
data.tar.gz: afffd91652fbd6b915b9ba4c8593b8109549aad39b911442ae7f43fc6b19ae60dc30999708502361a10af88fc1e28c03d5fe5e19551a8e89c5e9e4ead64f8535
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/rexleparser.rb
CHANGED
|
@@ -127,7 +127,7 @@ class RexleParser
|
|
|
127
127
|
tagname = tag[/([\w!:]+)\/?<$/,1]
|
|
128
128
|
|
|
129
129
|
# self closing tag?
|
|
130
|
-
if tag[/^>\/.*#{tagname}<$/] then
|
|
130
|
+
if tag[/^>\/.*#{tagname}<$/m] then
|
|
131
131
|
return [">/#{tagname}<", [], "#{tag.sub(/>\//,'>')}"]
|
|
132
132
|
end
|
|
133
133
|
|
|
@@ -163,8 +163,8 @@ class RexleParser
|
|
|
163
163
|
|
|
164
164
|
def get_attributes(raw_attributes)
|
|
165
165
|
|
|
166
|
-
r1 = /([\w
|
|
167
|
-
r2 = /([\w
|
|
166
|
+
r1 = /([\w\-:\(\)]+\='[^']*)'/
|
|
167
|
+
r2 = /([\w\-:\(\)]+\="[^"]*)"/
|
|
168
168
|
|
|
169
169
|
r = raw_attributes.scan(/#{r1}|#{r2}/).map(&:compact)\
|
|
170
170
|
.flatten.inject(Attributes.new) do |r, x|
|
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.7.
|
|
4
|
+
version: 0.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
ybOh4VahEZAk5VvZl/+nYpXIrz4a5iJo7D11Ru8Uob/OHuv43P87YdPyN45BfA+/
|
|
32
32
|
bRHA589NQFGSiw==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date:
|
|
34
|
+
date: 2016-03-14 00:00:00.000000000 Z
|
|
35
35
|
dependencies: []
|
|
36
36
|
description:
|
|
37
37
|
email: james@r0bertson.co.uk
|
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
60
60
|
version: '0'
|
|
61
61
|
requirements: []
|
|
62
62
|
rubyforge_project:
|
|
63
|
-
rubygems_version: 2.4.
|
|
63
|
+
rubygems_version: 2.4.8
|
|
64
64
|
signing_key:
|
|
65
65
|
specification_version: 4
|
|
66
66
|
summary: Rexleparser is an XML parser used by the Rexle gem
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
a:��جŧ�:s�t����1�>W��4�
|
|
2
|
+
�ΉҐ��Dq�imČ5y��t���q���`P�A��X(�@.k�bk�4�c.]�.\�~�yp�Ee��4M�l����3���#� ����~�z�]Fke%������>���eY߄��%.=y�|j{_>A:�2��������>�d�3t�[S�+�J�f|�m{I���j;z�y��CłS"n��v9�v-���13�ܸOb��l{����
|
|
3
|
+
��O
|