twilio_phone_verification 0.1.15 → 0.1.16
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 +4 -4
- data/lib/generators/twilio_phone_verification/install_generator.rb +2 -1
- data/lib/generators/twilio_phone_verification/{add_phone_to_users.rb.erb → templates/add_phone_to_users.rb.erb} +0 -0
- data/lib/twilio_phone_verification/version.rb +1 -1
- metadata +2 -3
- data/lib/generators/twilio_phone_verification/config_generator.rb +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9aaf0ab95ad89fb38e0639a3464551a5d36c1cdb
|
|
4
|
+
data.tar.gz: c86edcb619ced868f1a15f5aa8c4522b75ffa30e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03f173fab82138febeb2577d3dbfca8497d85c63f9adf872f1e26ed293d8d0d398ad9079baca326999feeeede339e23839567f5e472b51f5b0e72d4c38df8425
|
|
7
|
+
data.tar.gz: 52cda3cae4fd44c0d98d75ea944274b5f1b27174b6456846c9f2e43e1f0c0beac943c2a4668e382d86f8dbd0c1677278d98dbbbba0a242725ca4e5bc3c6c1982
|
|
@@ -2,8 +2,9 @@ require "rails/generators/base"
|
|
|
2
2
|
module TwilioPhoneVerification
|
|
3
3
|
module Generators
|
|
4
4
|
class InstallGenerator < Rails::Generators::Base
|
|
5
|
-
|
|
5
|
+
include Rails::Generators::Migration
|
|
6
6
|
|
|
7
|
+
source_root File.expand_path('../templates', __FILE__)
|
|
7
8
|
argument :user_class, type: :string, default: "User"
|
|
8
9
|
|
|
9
10
|
def copy_initializer
|
|
File without changes
|
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.
|
|
4
|
+
version: 0.1.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- vishgleb@mail.ru
|
|
@@ -82,9 +82,8 @@ files:
|
|
|
82
82
|
- Rakefile
|
|
83
83
|
- bin/console
|
|
84
84
|
- bin/setup
|
|
85
|
-
- lib/generators/twilio_phone_verification/add_phone_to_users.rb.erb
|
|
86
|
-
- lib/generators/twilio_phone_verification/config_generator.rb
|
|
87
85
|
- lib/generators/twilio_phone_verification/install_generator.rb
|
|
86
|
+
- lib/generators/twilio_phone_verification/templates/add_phone_to_users.rb.erb
|
|
88
87
|
- lib/generators/twilio_phone_verification/templates/twilio_phone_verification.rb
|
|
89
88
|
- lib/twilio_phone_verification.rb
|
|
90
89
|
- lib/twilio_phone_verification/configuration.rb
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
require "rails/generators/base"
|
|
2
|
-
module TwilioPhoneVerification
|
|
3
|
-
module Generators
|
|
4
|
-
class InstallGenerator < Rails::Generators::Base
|
|
5
|
-
source_root(File.expand_path(File.dirname(__FILE__)))
|
|
6
|
-
def copy_initializer
|
|
7
|
-
copy_file 'templates/twilio_phone_verification.rb', 'config/initializers/twilio_phone_verification.rb'
|
|
8
|
-
end
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|