contact_sync 1.4.3 → 1.4.5

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: 0684c816809ee85db24dfa43722c0a2d224fa037
4
- data.tar.gz: e9c0a7d4f4672409610c999ddcbd483bf7508080
3
+ metadata.gz: 1b54c4dacf815e463877cca60e761a1aa00adf9c
4
+ data.tar.gz: 003324d286aaabf009e75b9577336e3adae1e577
5
5
  SHA512:
6
- metadata.gz: 351d271bc8482d4a7d627861c55a137bb9bcf6879ce926cc9ea6b8879a8b5ccc0144fe69ed6320ce98dcfd3109179daa66486a25e73ba847dcf2ba8fe2a9c201
7
- data.tar.gz: 11730ca66d792814b1efb706fe85d15dfc70b87bf7245a1a7be439502ccf39a3382d5e456efb896cf95df691044eec1eb7cdb65991f2ee9b4b1d09a9dfeaf2e8
6
+ metadata.gz: b437815a29597fcbbe26251903ec5e6403403e46751439d30af7a98e15f6ffc535c9a1db401318462910c6455cd904124b5fd44e0928a89c08a232e8a65df549
7
+ data.tar.gz: 44fbe9ae110f6f47e7bc1c7fa8c3355de74bd41d385ac1ce14c41226c71ded99e43b0ff87e3210225cf29067057a70aa906048d58a5d2c7c57f3e61549d840a6
@@ -45,9 +45,11 @@ module ContactSync
45
45
  end
46
46
  end
47
47
  self.contacts << newContact
48
+ puts "Trying to save Contact: #{newContact}"
48
49
  if newContact.save
49
50
  # result[:new][:success] << newContact.record_id
50
51
  else
52
+ puts "Failed Saving. Error: #{newContact.errors.full_messages}"
51
53
  result[:new][:failed] << newContact.record_id
52
54
  end
53
55
  rescue ActiveRecord::RecordNotUnique => e
@@ -1,3 +1,3 @@
1
1
  module ContactSync
2
- VERSION = "1.4.3"
2
+ VERSION = "1.4.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contact_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saad Masood