dynarex 1.7.19 → 1.7.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -2
- data.tar.gz.sig +0 -0
- data/lib/dynarex.rb +7 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14eef4124742b02f736b9616cf983120f4ee4823
|
4
|
+
data.tar.gz: a06c965aa39da47e9e2fe907def7293e6d2c10a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f59693ca772586d8cfcb09c9f51eadadf32e08acb58b6fa6a2d1381bf1259bc9c5c72130f36e6366394de5a7589304846b59ace4aa1b010417f8cdf4a40752e
|
7
|
+
data.tar.gz: 242daa0818c3c312234cce269db22ad373599a412ccb5ad03f20a19a492d68bc7aafe8828227ec4525770bb93f47edb426c62cf1f85e93e92f639bb91015cb77
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
�
|
2
|
-
A|:]}
|
1
|
+
h�ݒ�>�1�����aչ|�D��w#A�N`S?��g��x�A�W��Ϛ�CF#�>6��a����h?��m�;��B�������cƮ<q���-Yi�>U���C�y�QZ�X iC�M��� `�S�oƼ,c2iY�a������C$�U ��np��DA)�t��`\�wH�[��"����,<i��R��";�lzE�>��1B43��|L"������5x���^�LJ�6R""4*���0$~R^�>�
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/dynarex.rb
CHANGED
@@ -121,6 +121,11 @@ class Dynarex
|
|
121
121
|
def fields
|
122
122
|
@fields
|
123
123
|
end
|
124
|
+
|
125
|
+
def first
|
126
|
+
r = @doc.root.element("records/*")
|
127
|
+
r ? recordx_to_record(r) : nil
|
128
|
+
end
|
124
129
|
|
125
130
|
def format_mask=(s)
|
126
131
|
@format_mask = s
|
@@ -1337,7 +1342,8 @@ XSL
|
|
1337
1342
|
h = {recordx_type: 'dynarex'}
|
1338
1343
|
|
1339
1344
|
@doc.root.xpath('summary/*').inject(h) do |r,node|
|
1340
|
-
r.merge node.name.to_s.to_sym =>
|
1345
|
+
r.merge node.name.to_s.to_sym =>
|
1346
|
+
node.text ? node.text.unescape : node.text.to_s
|
1341
1347
|
end
|
1342
1348
|
end
|
1343
1349
|
|
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.7.
|
4
|
+
version: 1.7.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
nP4bxzo6o8Qw40KPcv/n3Vcx8tV8hUOOe4XkImYbeWst9hbbHfbg8daipgkn9NEu
|
32
32
|
YXuVi+EfN14P6g==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-
|
34
|
+
date: 2017-02-15 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dynarex-import
|
metadata.gz.sig
CHANGED
Binary file
|