contact_sync 0.4.4 → 0.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: 9727676a6e084df740109c5eff7d516178ae8002
4
- data.tar.gz: 6cdab574e1ced609d9d5f3b889c9bd9c4638be3d
3
+ metadata.gz: 322aae6c4ee241aa3c4642d3e960aecd27c3bafc
4
+ data.tar.gz: 95d2a1f54b01c0c4c64bf55050baf59d26893fcf
5
5
  SHA512:
6
- metadata.gz: 8b211571291b322d708f5b44ea09e1b65c82c6c37d992478076b488d2aebb9f3a803414b71d6788a82650402fca819d9998b9c482a9b991a6354a9bd3d406b05
7
- data.tar.gz: fec8a9a7f1b2e66fba6e71a85368b8f74552fb04d56d0b2044e8b2bd6c1056d6e902b42dc813b8c341da2f779a5fec8ee0d5c0e8f5b921385446190658c15b4a
6
+ metadata.gz: fb258facfaff58829ba9200cbac22571dfd618aca5223cbf2b27b4bd001cb0efad1044093c95f6a03f41604f243409c3557177e6c81686078ce146f4833e7064
7
+ data.tar.gz: dff4e02880081a20e5cf1122af3ebd9730b1afcb51b0736107198686d5b00766e06ef7512c61bdf54fff7599ae3e9eb7408f6c1666c149e59ac6a32c1276c00b
@@ -1,3 +1,3 @@
1
1
  module ContactSync
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
@@ -10,8 +10,13 @@ class InstallContactSyncGenerator < Rails::Generators::Base
10
10
  source_root File.expand_path('../templates', __FILE__)
11
11
 
12
12
  def generate_migration
13
- migration_template "create_contact_sync_schema.rb", "db/migrate/create_contact_sync_schema.rb"
14
- migration_template "change_email_encrypted_from_emails.rb", "db/migrate/change_emails_schema.rb"
13
+ if self.class.migration_exists?('db/migrate', @migration_file_name)
14
+ migration_template "create_contact_sync_schema.rb", "db/migrate/create_contact_sync_schema.rb"
15
+ end
16
+
17
+ if self.class.migration_exists?('db/migrate', @migration_file_name)
18
+ migration_template "change_email_encrypted_from_emails.rb", "db/migrate/change_emails_schema.rb"
19
+ end
15
20
  end
16
21
 
17
22
  # def generate_global_phone_db
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.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saad Masood