contact_sync 0.4.5 → 0.4.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10c788f01aae59a9f05869c3af16f8c98a8faf5c
|
4
|
+
data.tar.gz: 9d0794065fb5c85a2a1c4634d488ae362ae0e221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74c96749b4ea9460c9725a429b76bae390bd8f98714f73e10088aa2511e5fe7c852b7e7304f40e12c1a909999abf092d3e2b0d0edf96aa2c5111452c62058cfe
|
7
|
+
data.tar.gz: ecdebad90996dbf7300d0180098d01f06ecb425571d8d2fe1d2751da260ce431ebeb80d1159fd4c8823dd7292e9cd8ca6f1f1011ed293b0c587e2f5cfee544b7
|
data/lib/contact_sync/version.rb
CHANGED
data/lib/contact_sync.rb
CHANGED
@@ -10,19 +10,16 @@ class InstallContactSyncGenerator < Rails::Generators::Base
|
|
10
10
|
source_root File.expand_path('../templates', __FILE__)
|
11
11
|
|
12
12
|
def generate_migration
|
13
|
-
|
13
|
+
binding.pry
|
14
|
+
if !self.class.migration_exists?('db/migrate', 'create_contact_sync_schema')
|
14
15
|
migration_template "create_contact_sync_schema.rb", "db/migrate/create_contact_sync_schema.rb"
|
15
16
|
end
|
16
17
|
|
17
|
-
if self.class.migration_exists?('db/migrate',
|
18
|
+
if !self.class.migration_exists?('db/migrate', 'change_emails_schema')
|
18
19
|
migration_template "change_email_encrypted_from_emails.rb", "db/migrate/change_emails_schema.rb"
|
19
20
|
end
|
20
21
|
end
|
21
22
|
|
22
|
-
# def generate_global_phone_db
|
23
|
-
# copy_file "global_phone.json", "db/global_phone.json"
|
24
|
-
# end
|
25
|
-
|
26
23
|
def generate_encrypted_strings_config
|
27
24
|
inject_into_file 'config/environments/development.rb', before: "end\n" do <<-'RUBY'
|
28
25
|
|
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.
|
4
|
+
version: 0.4.6
|
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-
|
11
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.3.3
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: sqlite3
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|