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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 775035a4cdb4f89a03b5cf340f149df1a38cb1e7
4
- data.tar.gz: afcf9fac1de436d57a7901672ee74bb993777d9b
3
+ metadata.gz: 14eef4124742b02f736b9616cf983120f4ee4823
4
+ data.tar.gz: a06c965aa39da47e9e2fe907def7293e6d2c10a0
5
5
  SHA512:
6
- metadata.gz: f8abaa5a41c8f18c28cb2b9dfc7567258176838d4d86c46efa52ef2b046712da2dee172b88e57d0f482702868f7315d6d81cbbccdf9c6a2e1a3275373e994eaa
7
- data.tar.gz: 703dd8c14684b01daff2528de04ec5d681b0157ddc2d55bd429e4c0fe2dfcf1cbc25be40e362b559c6561c08c7406b8731c487d2ace20d7f47b16d3618cf1cc8
6
+ metadata.gz: 9f59693ca772586d8cfcb09c9f51eadadf32e08acb58b6fa6a2d1381bf1259bc9c5c72130f36e6366394de5a7589304846b59ace4aa1b010417f8cdf4a40752e
7
+ data.tar.gz: 242daa0818c3c312234cce269db22ad373599a412ccb5ad03f20a19a492d68bc7aafe8828227ec4525770bb93f47edb426c62cf1f85e93e92f639bb91015cb77
@@ -1,2 +1 @@
1
- EԐ����Ě�.9�6c��Y��Xx47GC�q�״�qJ͐�6���_x�9��YzH<�*���?�D�������(g��>�l���R�E��nU�.�Sld1A�M�}i�%$ LF{axUqN_�\�7.6L*����O�<O��؟�͏w��No���NO���E��,eO#�&�j���h�y6:�`m���b'�sуN���q���RKQ�ԤJ~c<�|В�d,���NY؂Ñ
2
- A|:]}
1
+ h�ݒ�>�1�����aչ|�D��w#AN`S?��g��x�AW��Ϛ�CF#�>6 ��a����h?��m�;��B�������cƮ<q���-Yi�>U���CyQZX iC�M��� `�SoƼ,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
@@ -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 => node.text.to_s
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.19
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-01-04 00:00:00.000000000 Z
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