twilio_phone_verification 0.1.16 → 0.1.17
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: e63d9e21e9deac888fd10343eb64c47795051de0
|
4
|
+
data.tar.gz: cf5409b8d1310c7a233a7bcb0370f3efa2707ecf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 172235d06e38605a6c4da9b177b0970605cc784cfbc6588a1e852e7ddc50cc8063ea0f0c6f0f3d18c7efd03cc9ca49b51ec62014704c0c2ad115ac351fc1eb93
|
7
|
+
data.tar.gz: 3bd38e07a25978b01665dc820f40232052384c3b223d49390df3aee060b0054a3452b1608a6e9821c3162c04c9bc03df50ec2011dc9afef3f7699aec6c7de607
|
@@ -12,12 +12,12 @@ module TwilioPhoneVerification
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def copy_migrations
|
15
|
-
if self.class.migration_exists?("db/migrate", "add_phone_to_#{ user_class.underscore }")
|
16
|
-
say_status("skipped", "Migration 'add_phone_to_#{ user_class.underscore }' already exists")
|
15
|
+
if self.class.migration_exists?("db/migrate", "add_phone_to_#{ user_class.pluralize.underscore }")
|
16
|
+
say_status("skipped", "Migration 'add_phone_to_#{ user_class.pluralize.underscore }' already exists")
|
17
17
|
else
|
18
18
|
migration_template(
|
19
19
|
"add_phone_to_users.rb.erb",
|
20
|
-
"db/migrate/add_phone_to_#{ user_class.underscore }.rb"
|
20
|
+
"db/migrate/add_phone_to_#{ user_class.pluralize.underscore }.rb"
|
21
21
|
)
|
22
22
|
end
|
23
23
|
end
|