dynarex 1.7.25 → 1.7.26

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: 16379a6179f7d2896140adc4e4f254fc8d25d2ed
4
- data.tar.gz: c7c0b1ec77dc0762ba71c2c458f502e001521f2d
3
+ metadata.gz: 80bed6575184dc3ab3e79d5aab87c2f8c20ab8ce
4
+ data.tar.gz: 1f4792c4b0e0be696f6d10e957c62ea1b24540aa
5
5
  SHA512:
6
- metadata.gz: 1ca018a38a00967c6d7358f66205f571af3a158180202fda4ac9a1aa4a025249049f2f01fae40768124cd061c674edcd59577715b13aa919c8a930c865436ec9
7
- data.tar.gz: 37a5287bc21ebcae98e70ca585d716905cba250a6aac9881d0e701f4b2a6ae3d7e58f231b6e59a9daf02b8157f629200846facb7097fbb8a0c0364bf39807688
6
+ metadata.gz: c9244b2628d0f5a108c8467c0b85e3a101d8228ac48581d3dbc2c9f874d7d5902b379b4bc8ccc9e4975fecd7e8114acdc0ad35bcfc136fb0fa2a4c178e0cf549
7
+ data.tar.gz: 15a3825c14858308dcd6466236d6aff401ad6675f079d34bd49c6a2024f79ec2d58d4504bd6797abf1142c582079918ed8545152014f70d826f38a156e812806
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -676,9 +676,10 @@ EOF
676
676
 
677
677
  h = recordx.attributes
678
678
 
679
- hash = Hash[*@fields.zip(recordx.xpath("*")\
680
- .map {|x| x.text.unescape.to_s}).flatten]
679
+ records = recordx.xpath("*").map {|x| x.text ? x.text.unescape.to_s : '' }
680
+ hash = @fields.zip(records).to_h
681
681
  RecordX.new(hash, self, h[:id], h[:created], h[:last_modified])
682
+
682
683
  end
683
684
 
684
685
  def hash_create(raw_params={}, id=nil, attr: {})
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.25
4
+ version: 1.7.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  7ELNqcn7p7un/tZgEIU+gYBxvhUWftO9MF8fbJsCaMyfSZjXxXM+6+3Q0lBpYCSS
32
32
  nuO5b3MqW2dcBw==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-09-08 00:00:00.000000000 Z
34
+ date: 2017-09-11 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