rexleparser 0.7.2 → 0.7.3

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
  SHA1:
3
- metadata.gz: 4925d35e26fab3dd011df73df1037fb590c12d93
4
- data.tar.gz: 85d645cd7843f8a39a265af3b7891a7cc30c5ade
3
+ metadata.gz: 2b4ba5fcb34b0aee21b83c1668e0deffe6a1119d
4
+ data.tar.gz: 445a599e783823b24a8ce2e746dafc87e38378a2
5
5
  SHA512:
6
- metadata.gz: 25a1c7f6e5b70361555de4095992cf9403338b17b5350e01133e958aeb0aa008d58e5df8ff0817db552e024e88871df72a9031cbdce16c8f7a18fc30118838cf
7
- data.tar.gz: 6eaa2111a39b21af27bf57d4be7426de9810903ddabb8b92ba08e7118cb561c3fbac5b0fb56bab3d39e75e45679c5231b7364d80c8e053e39aacff24b6afd110
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.2
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: 2015-06-21 00:00:00.000000000 Z
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.6
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
- ��}8xh��̦ݨl�:�VL�R��SY+w_0����7H+_����O�8����t`JB�`�Q��YY�Ei��D�c<�0��q1T;�.ȞH���կ��*GY��nh�o"޾5�Q3���"3�ɶ��$�AqOw��Q⪸�^�sێr��Di��\S��4��"3E�
2
- #�H"�����rV*�4`�X=���Ӈ2&�bX���J��8o����EP@a�: ;�.���4�� $#·���U�y�Q�[�2
1
+ a:��جŧ�:s�t����1� >W��4�
2
+ �ΉҐ��DqimČ 5y��t���q���`P�A��X(�@.kbk�4�c.]�.\�~�yp�Ee��4Ml����3���#� ����~�z�]Fke%������>���eY߄��%.=y�|j{_>A:�2��������>�d3t�[S�+�J�f|�m{I���j;z�y��CłS"n��v9�v-���13�ܸOb��l{����
3
+ ��O