contact_sync 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/contact_sync/syncable.rb +1 -1
- data/lib/contact_sync/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 713c9ed1b940846070c5e300b468e7264d08b5dc
|
4
|
+
data.tar.gz: 4893172fa5ef19db761e5c116acebc85113abfe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57b23396c410daa99e4fd9c3356cb697646f33f0f1d7f76997d94b15fa1524159df2754256fdbf3acceeb838d91ae90a34fb79ca8bbc6ff243c517ab5877ae77
|
7
|
+
data.tar.gz: 94fc57a035d268525829c8d6fd7d585c927f3dca945fe38fe36b352bd5f46db2d293e63d78d7f091fdf8893fd7f5203e749d1d152e56f49144b8b5243f100e0d
|
@@ -91,7 +91,7 @@ module ContactSync
|
|
91
91
|
if !contact_hash[:deleted].blank?
|
92
92
|
delete_contacts = contact_hash[:deleted]
|
93
93
|
delete_contacts.each do |con|
|
94
|
-
if self.contacts.find_by_record_id(con[:record_id].to_i).destroy
|
94
|
+
if self.contacts.find_by_record_id(con[:record_id].to_i) and self.contacts.find_by_record_id(con[:record_id].to_i).destroy
|
95
95
|
# result[:deleted][:success] << con[:record_id]
|
96
96
|
else
|
97
97
|
result[:deleted][:failed] << con[:record_id]
|
data/lib/contact_sync/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contact_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Saad Masood
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|