contact_sync 0.4.9 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7e48a218d34f8152ff00c66e9d397df6a00c001
4
- data.tar.gz: 6d30ca8269380c5679c4dcdfa1115ba294dd0944
3
+ metadata.gz: 2fca10e547dcbdc61eb98446899ab823c1f3ea86
4
+ data.tar.gz: 00796a313348b0b656c837eb5c0d1113d6a62f12
5
5
  SHA512:
6
- metadata.gz: 0d0ba8d555242de5208799a1f7d9edc2e51c3ee032b64425dee62efcafe04409ce483ea8e08134246981d0c375dbf6324364d0c80aafbd2d4791cb3fad8afeee
7
- data.tar.gz: 4d66272ecfe02fae948794c41cb9ac4f9b6f88c8753ef593c8154dbe6723776e0d9714acdd978031fa301607b4ef945fd8645baacc9789790858f2017b3201bd
6
+ metadata.gz: 8fdcc62350ebbea362a642950f7c98ee536c2c1c353e543813a8513ce5e9c5636fc455e5f4b7da5d8c4959658c7896e72d9d85216fff7df987297c9ed967cb38
7
+ data.tar.gz: fbd6e245d7c53c89f17663c964f7987efb0f8301a2e82195ee6582b167aa7ee76f821689f1c5710d325e955785361259ac86dc4585e222a0f88383b6e0189a8b
@@ -97,7 +97,7 @@ module ContactSync
97
97
  matched_contacts << u.id unless u.blank?
98
98
  end
99
99
  user_emails.each do |mail|
100
- u = User.where(encrypted_email: mail.email.encrypt(:symmetric)).limit(1).first
100
+ u = User.where(email: mail.email).limit(1).first
101
101
  matched_contacts << u.id unless u.blank?
102
102
  end
103
103
  return matched_contacts
@@ -1,3 +1,3 @@
1
1
  module ContactSync
2
- VERSION = "0.4.9"
2
+ VERSION = "1.0.0"
3
3
  end
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: 0.4.9
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saad Masood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-20 00:00:00.000000000 Z
11
+ date: 2015-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -154,11 +154,7 @@ files:
154
154
  - test/dummy/config/locales/en.yml
155
155
  - test/dummy/config/routes.rb
156
156
  - test/dummy/config/secrets.yml
157
- - test/dummy/db/development.sqlite3
158
157
  - test/dummy/db/schema.rb
159
- - test/dummy/db/test.sqlite3
160
- - test/dummy/log/development.log
161
- - test/dummy/log/test.log
162
158
  - test/dummy/public/404.html
163
159
  - test/dummy/public/422.html
164
160
  - test/dummy/public/500.html
@@ -219,11 +215,7 @@ test_files:
219
215
  - test/dummy/config/routes.rb
220
216
  - test/dummy/config/secrets.yml
221
217
  - test/dummy/config.ru
222
- - test/dummy/db/development.sqlite3
223
218
  - test/dummy/db/schema.rb
224
- - test/dummy/db/test.sqlite3
225
- - test/dummy/log/development.log
226
- - test/dummy/log/test.log
227
219
  - test/dummy/public/404.html
228
220
  - test/dummy/public/422.html
229
221
  - test/dummy/public/500.html
Binary file
Binary file
@@ -1,4 +0,0 @@
1
-  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.1ms) select sqlite_version(*)
3
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -1,18 +0,0 @@
1
-  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.1ms) select sqlite_version(*)
3
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
-  (0.1ms) SELECT version FROM "schema_migrations"
5
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
6
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
7
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
-  (6.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
9
-  (0.1ms) select sqlite_version(*)
10
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11
-  (0.1ms) SELECT version FROM "schema_migrations"
12
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
13
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
-  (0.1ms) begin transaction
15
- ---------------------------
16
- ContactSyncTest: test_truth
17
- ---------------------------
18
-  (0.1ms) rollback transaction