dynarex 1.2.25 → 1.2.26

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: c8e5f723c2fa42ef2c70cc07a66e5db717412d1e
4
- data.tar.gz: ed54cf012149ab99935d47d43abe9fdc0e422b6a
3
+ metadata.gz: b573cdd1290583d427cec4101c8f0e1ec2985eb5
4
+ data.tar.gz: 79f8dd40f460468685a95ed9331b35a32e9101a1
5
5
  SHA512:
6
- metadata.gz: 634913ea293219d84dd1f1ad96baee81d84bc2f5dba88f3b4c88d51e642934b35295e55a789006f0350ca68e6a5306f30fa8e463e68e3d63c2e65072dfb895fa
7
- data.tar.gz: a141dc13de04a290dec1b751b3c714de2786008409f99bca52e8a1745fe511b60f47762698388a09faae5e992ffa3179464d988977e69ed011cb7d04c716d5f6
6
+ metadata.gz: 70a2ddcbf9eebc56a825328fd75122f3183283c21270d8eda8bb5f4c5aca5df3148c3c4ac8b2442f6a4969d506ebb60cdd74f129520c8b81b394483b1ce84669
7
+ data.tar.gz: 0a272a23a7a3a8f4141e261b84414527eadffae578d4a9bd1e89e306b8b5ba740ac7845d64c0eca1fb26b9705762356f572acda2f6544b6d13cb6d5986bcc502
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -431,10 +431,16 @@ EOF
431
431
 
432
432
  if raw_header then
433
433
  header = raw_header[/<?dynarex (.*)?>/,1]
434
- header.scan(/\w+\s*=\s*(?:"[^"]+"|'[^']+')/).map\
435
- {|x| r = x.split(/=/,2); [(r[0].rstrip + "=").to_sym, \
436
- r[1][/^\s*"(.*)"$/,1]] }.each \
437
- {|name, value| self.method(name).call(value)}
434
+
435
+ r1 = /([\w\-]+\s*\=\s*'[^']*)'/
436
+ r2 = /([\w\-]+\s*\=\s*"[^"]*)"/
437
+
438
+ r = header.scan(/#{r1}|#{r2}/).map(&:compact).flatten
439
+ r.each do |x|
440
+ attr, val = x.split(/\s*=\s*["']/,2)
441
+ self.method((attr + '=').to_sym).call(val)
442
+ end
443
+
438
444
  end
439
445
 
440
446
  # if records already exist find the max id
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.25
4
+ version: 1.2.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- Gx3�ɡ�R(?˦�A�%tK����]��} /��.S*j
1
+ 1l�,2��5��{�Z�-̂uP�%�]�? ���fΟ s��fŷ��hKi�5sVg"�q� ϖ���|����p̊����� ���s�"��ׂWm�M��*�fg�t`�[|��؉�G�S�5��XvE��<������Qs(��^�S���.`?�?�vR����J�~lO��:5�6S�
2
+ ��$@�O�_��<�