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.
- data/lib/elibri_xml_versions.rb +2 -0
- data/lib/elibri_xml_versions/version.rb +1 -1
- metadata +3 -3
data/lib/elibri_xml_versions.rb
CHANGED
@@ -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"}
|
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:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Piotr Szmielew
|