dynarex 1.7.7 → 1.7.8

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: 74ff64580b7fd666f3b3b41f0a836de6243285ed
4
- data.tar.gz: 51c9d0aced7e4fddc17a303b9cf1740d56b974d8
3
+ metadata.gz: 8be57a0ce4eae2109480be475dbd38617e739632
4
+ data.tar.gz: 9d85d99417ac42928a932a3d83f829b5148848b6
5
5
  SHA512:
6
- metadata.gz: f6081e82a8ce7b4297ca496f3dc0e9967f699d09b78957c9c7b945034af10611948cbdbbc937815f6ced0f3234bd677ed0a108a7762cf7d006d97fee3cc8357b
7
- data.tar.gz: 8869063cf200542affe243edf781ec3e7417ae0ebe14bc5359d83bdac7467b5777956de4fe5800af9d471331855150a8e4c566733d98b44ca5d1318952fe7502
6
+ metadata.gz: ef0b4eadde5fd117e6750dea7edcf0ca6990b72e8a1e64cb37585c00f0b27a6b8524ed46b38c34da288536ae30aacad79debd6e28a73b43268fa0f6a941de73d
7
+ data.tar.gz: 537d87599e554f6d4a656f1e6b852bfc6c2ac9061236f46b04c0fb32be9febc28463be2608875d45f9026802b72779d14a685983cc8ad6b6d8e6270fbb9acb0a
@@ -1 +1 @@
1
- `+b_:�N���"��t�71����9me�rk��*3�n�V�)�3�>�v OQx�J-�'Z����bw���_X�"v�����3��>a7�$�(<R 
2
1
  w�Ud �(�R��Z�7t<�Qg���&���⪱NȜ�<���_!^-V |���EOdֿ��^|隵2^�ՌP�)+Z�^��?��Ҽ]��
2
+ 3��DŽ��y��|�]�u\���o�%�Uހ��BX@��R/R(oƺ'~�]E��M�lulS$�����[�.����������L����I�G!ڋ��0����-� ǧ�0�k�(@�>�&��ݽ��Y'5ÈU����m�5^5�
3
+ ����%��WjL����{�U�D�C��;���ړ�M̋Rv� ���4��\.$@I��h���h}�R��@��[��[����͏��?�'��=�����wk$]���W�K~I
data.tar.gz.sig CHANGED
@@ -1,3 +1 @@
1
- ���A�v��eԌ��S�`���9( U��������bʹ���̢�a&�Z�?3J�D c/|Zr��&��{c�$���1x��[�� � ���{ot�r+�N�����U�����O�EYc��1��0
2
- M;b��G��m� uY��rY���9�^�%bJ:��?�9��-���(����
3
- 62�ۤo�:%&f��`�����6-�,���'[X�6yÒz辻\�Xw����*�~U�J��V�!Q�&;��O�
1
+ S��u]��"�`����B��^�}nd�b'���㈓C�����c�Y�wk�D�2���z�� �ϩ�Ԙ����嗝ҷ<�b�O�Y ��C[�� �8����;K݋�) (lۨnq֡�]��5��s;Z)�(j���)��k�=�N��^@��e��ͣ:�I*�g�څG4�����Y�x1���~#�ȧ�R�J:%��5�__���9�}S�U�'M��Ͼ�8�.α�U 瓳@�������O<�?��
@@ -360,7 +360,17 @@ EOF
360
360
 
361
361
  @dirty_flag = true
362
362
 
363
- (x.each {|record| self.create record }; return self) if x.is_a? Array
363
+ if x.is_a? Array then
364
+
365
+ unless @schema then
366
+ cols = x.first.keys.map {|c| c == 'id' ? 'uid' : c}
367
+ self.schema = "items/item(%s)" % cols.join(', ')
368
+ end
369
+
370
+ x.each {|record| self.create record }
371
+ return self
372
+
373
+ end
364
374
  raw_buffer, type = RXFHelper.read(x)
365
375
 
366
376
  if raw_buffer.is_a? String then
@@ -1283,4 +1293,4 @@ XSL
1283
1293
  end
1284
1294
  end
1285
1295
 
1286
- end
1296
+ end
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.7
4
+ version: 1.7.8
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: 2016-07-08 00:00:00.000000000 Z
34
+ date: 2016-07-12 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex-import
metadata.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- )����, ����e��da.e$�%�brmnv�*R0�<����
2
- f�[�4��i��#F�{C ��� �= �d�����T?ɉ�3��t���G!3W�#���:^".��Px�r�n^Ӈԅ�.���N+zP����������
3
- wi�,���ž�>��9B[�$����q<�yC�X�Eו��?G�^��3-��nW��8�~��:��)]3s��i�p���v��X����0����Y��F�H���w
1
+ �<Jl9QY�
2
+ ��ٷ��� s(6���Wp}�����^<� {�Y(���bЛnR��;h���������=���5��h=��T�{�V�d�_�����;EZV5C�r�7s���X��­*kS^[�H�R�?����# ��>y�Xd�u'4�WI /���x��|�6���O��P��78��u�y���SH��+����'�0"@u��3