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: 9aaf0ab95ad89fb38e0639a3464551a5d36c1cdb
4
- data.tar.gz: c86edcb619ced868f1a15f5aa8c4522b75ffa30e
3
+ metadata.gz: e63d9e21e9deac888fd10343eb64c47795051de0
4
+ data.tar.gz: cf5409b8d1310c7a233a7bcb0370f3efa2707ecf
5
5
  SHA512:
6
- metadata.gz: 03f173fab82138febeb2577d3dbfca8497d85c63f9adf872f1e26ed293d8d0d398ad9079baca326999feeeede339e23839567f5e472b51f5b0e72d4c38df8425
7
- data.tar.gz: 52cda3cae4fd44c0d98d75ea944274b5f1b27174b6456846c9f2e43e1f0c0beac943c2a4668e382d86f8dbd0c1677278d98dbbbba0a242725ca4e5bc3c6c1982
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
@@ -1,3 +1,3 @@
1
1
  module TwilioPhoneVerification
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio_phone_verification
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - vishgleb@mail.ru