twilio_phone_verification 0.1.10 → 0.1.11

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: 00d7481a6ab7f01de5336ebf838f1737672ba19d
4
- data.tar.gz: 23270fa1107db756ba78120ef0add9e33dad2167
3
+ metadata.gz: f6c967e37a6cbbb38a0bf476894a0e7f724e24df
4
+ data.tar.gz: 929cc0a52a8af0ee2be0481d31c973e9f876fd58
5
5
  SHA512:
6
- metadata.gz: 2fbf50803989103c971c18e56a92945a2f3b7414687a58e50bf5f40cc455dff61500289b2d76936850e114e0369c2433f4883a23af00c29229e91ecac54e46f6
7
- data.tar.gz: dd1a7f8ece70dd607e59918a5ecadf9fd7bfd7d3d5e62df94ac39fedcddea7cd4b4c8093b85e239becbda4f55d91ed0e3f394aad88da97d723bc3d1491d2ceaa
6
+ metadata.gz: 3cd223e60cf995bfab069b44ec71099b44dc3547acb7afa97e83595ffd3c2fcbd2c6253f19c72f8255ee7555acaabea213f7c4ab8fecb5cc8cfaba583f1be5e4
7
+ data.tar.gz: f36371683c097b399bb206390e984deda4eec3dfb066d36f791c77a41fde6847b7c20b1095c2f8dc18b18628806359a1eb8504a2153c83dcb7b4485fd9640cf3
@@ -0,0 +1,6 @@
1
+ class ConfigGenerator < Rails::Generators::Base
2
+ source_root(File.expand_path(File.dirname(__FILE__))
3
+ def copy_initializer
4
+ copy_file 'twilio_phone_verification.rb', 'config/initializers/twilio_phone_verifications.rb'
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ TwilioPhoneVerification.configure do |config|
2
+ config.account_sid = ENV.fetch("TWILIO_ACCOUNT_SID") # Paste your twilio account id here
3
+ config.auth_token = ENV.fetch("TWILIO_AUTH_TOKEN") # Paste your twilio auth token here
4
+ config.from = ENV.fetch("TWILIO_NUMBER") # Paste your twilio number here
5
+ end
@@ -1,3 +1,3 @@
1
1
  module TwilioPhoneVerification
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
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.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - vishgleb@mail.ru
@@ -82,6 +82,8 @@ files:
82
82
  - Rakefile
83
83
  - bin/console
84
84
  - bin/setup
85
+ - lib/generators/twilio_phone_verification/config/config_generator.rb
86
+ - lib/generators/twilio_phone_verification/config/twilio_phone_verification.rb
85
87
  - lib/twilio_phone_verification.rb
86
88
  - lib/twilio_phone_verification/configuration.rb
87
89
  - lib/twilio_phone_verification/phonable.rb