contact_sync 0.2.1 → 0.3.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: 3eb7ddb7e20d3059842020d49525a8f87519ddc4
4
- data.tar.gz: 5055b98f91f2cce6c80923f11d12054c958598be
3
+ metadata.gz: b5e900a7be48f49be79425e22d77e9bb9c95ece7
4
+ data.tar.gz: 874c33ae3454171a4905422b9f42a92033b33f49
5
5
  SHA512:
6
- metadata.gz: 7bd5e63aad50aab3249f327cba5a2768993f97f86428d37333c29e443f384006211806fd66930020b368534caa180cbf8a48bb8060d2674a8dc09b65d6b7c4ea
7
- data.tar.gz: 06ce030c9992fd368e5da66c0065bb08eed60baae4fef5d8d7d78f0ce0d8959d5f607cc1d3f075cc0a1aed7e57f14fdc9d370ec52f77b71621abc46561146ecc
6
+ metadata.gz: 4396189df56c74da9bc5a373001586cb96a3deb805b41ec5990a1bac3fa1d0c9337e87bdf929e5516bef203066e7ad16f828f9b1fcc21147add49672aba9a332
7
+ data.tar.gz: 89ecd495c072a6869a0194892cd4d20cdf478daefccb60fffd85279c94d9aea5e7cf9142b50870a2b22aedee87e6edca7a7ae80e212522b0927a17e5921fe025
@@ -1,3 +1,3 @@
1
1
  module ContactSync
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -30,4 +30,12 @@ class InstallContactSyncGenerator < Rails::Generators::Base
30
30
  RUBY
31
31
  end
32
32
  end
33
+
34
+ def generate_models
35
+ template "address.rb", 'app/models/address.rb'
36
+ template 'email.rb', 'app/models/email.rb'
37
+ template 'phone.rb', 'app/models/phone.rb'
38
+ template 'user.rb', 'app/models/user.rb'
39
+ template 'contact.rb', 'app/models/contact.rb'
40
+ end
33
41
  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: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saad Masood
@@ -66,7 +66,8 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: Description of ContactSync.
69
+ description: Easy Contacts Syncing over API with encrypted contacts email and phone
70
+ numbers
70
71
  email:
71
72
  - me@itssaad.com
72
73
  executables: []
@@ -84,11 +85,6 @@ files:
84
85
  - app/controllers/con_sync/application_controller.rb
85
86
  - app/helpers/con_sync/api/users_sync_helper.rb
86
87
  - app/helpers/con_sync/application_helper.rb
87
- - app/models/address.rb
88
- - app/models/contact.rb
89
- - app/models/email.rb
90
- - app/models/phone.rb
91
- - app/models/user.rb
92
88
  - app/views/layouts/con_sync/application.html.erb
93
89
  - config/routes.rb
94
90
  - db/global_phone.json
@@ -102,8 +98,13 @@ files:
102
98
  - lib/contact_sync/version.rb
103
99
  - lib/generators/install_contact_sync/USAGE
104
100
  - lib/generators/install_contact_sync/install_contact_sync_generator.rb
101
+ - lib/generators/install_contact_sync/templates/address.rb
102
+ - lib/generators/install_contact_sync/templates/contact.rb
105
103
  - lib/generators/install_contact_sync/templates/create_contact_sync_schema.rb
104
+ - lib/generators/install_contact_sync/templates/email.rb
105
+ - lib/generators/install_contact_sync/templates/phone.rb
106
106
  - lib/generators/install_contact_sync/templates/routes.rb
107
+ - lib/generators/install_contact_sync/templates/user.rb
107
108
  - lib/tasks/con_sync_tasks.rake
108
109
  - test/con_sync_test.rb
109
110
  - test/controllers/con_sync/api/users_sync_controller_test.rb
@@ -144,7 +145,7 @@ files:
144
145
  - test/integration/navigation_test.rb
145
146
  - test/lib/generators/con_sync/install_con_sync_generator_test.rb
146
147
  - test/test_helper.rb
147
- homepage: http://github.com/itsSaad/c_sync
148
+ homepage: http://github.com/itsSaad/contacts_sync
148
149
  licenses:
149
150
  - MIT
150
151
  metadata: {}
@@ -167,7 +168,7 @@ rubyforge_project:
167
168
  rubygems_version: 2.2.2
168
169
  signing_key:
169
170
  specification_version: 4
170
- summary: Summary of ContactSync.
171
+ summary: Easy Contact Syncing API
171
172
  test_files:
172
173
  - test/con_sync_test.rb
173
174
  - test/controllers/con_sync/api/users_sync_controller_test.rb