onebody-updateagent 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/updateagent/updaters/people_updater.rb +2 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
@@ -19,8 +19,8 @@ class PeopleUpdater < UpdateAgent
|
|
19
19
|
if person.has_key?('email')
|
20
20
|
person['email_changed'] = false
|
21
21
|
end
|
22
|
-
if person.has_key?('relationships')
|
23
|
-
person['relationships_hash'] = Digest::SHA1.hexdigest(
|
22
|
+
if person.has_key?('relationships') and !(rels = person['relationships'].split(',').sort.join(',')).blank?
|
23
|
+
person['relationships_hash'] = Digest::SHA1.hexdigest(rels)
|
24
24
|
end
|
25
25
|
# link to cached family or cache new family
|
26
26
|
if existing_family = family_data[family['legacy_id']]
|