elibri_xml_versions 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -74,6 +74,8 @@ module Elibri
74
74
  deleted = []
75
75
  added = []
76
76
  if a.is_a? Array
77
+ a.compact!
78
+ b.compact!
77
79
  a.sort! { |x,y| x.id <=> y.id }
78
80
  b.sort! { |x,y| x.id <=> y.id }
79
81
  if a.all? { |x| x.instance_variables.include? "@id_before_type_cast"} || a.all? { |x| x.instance_variables.include? "@import_id"}
@@ -1,3 +1,3 @@
1
1
  module ElibriXmlVersions
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_xml_versions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Piotr Szmielew