twilio_phone_verification 0.1.8 → 0.1.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4e2a6454e3fb4083e66a9c48be52ef54fdca2c9
4
- data.tar.gz: f6549604c419f61a52fe143bcc28d63119f725e3
3
+ metadata.gz: cc1cfc1eced06a0b2756f4348410716cf34ae798
4
+ data.tar.gz: 4d54e589b61f829a6844647c5a5eecb2d45ec6b8
5
5
  SHA512:
6
- metadata.gz: ead6ef8caf3e709c9247155b316383cb6d161daca56e31dc0e0f8483153c69368556b540feca354ada3f69e0b768f8ae683c70a10d0b66a926090f82efcdca53
7
- data.tar.gz: 4214cfdc1709a4df02faf537e2a5ac2547a95a66e4b9c5a287c1bd7b90e04648b29743bd5982080c8f17f4c8856bb6b900cdea0e7174822a4fcdc6828d493fcd
6
+ metadata.gz: 2026b8284e5a9c9ef655e353b8e173646d9efde7c9a40e559f48f4dbacc85eb8ecd5aa6e410bbf66c1845409d0c331678b03a840c861c3f35efae97c8dc468c1
7
+ data.tar.gz: 600251705422f86cdfe52a81350762ec2bc1218c70b1e0a5e28be3d7933381156da11190ecc579f0c52e09265b470437a835d1ad6a86364174bf0285184824be
@@ -22,7 +22,7 @@ module TwilioPhoneVerification::Phonable
22
22
  end
23
23
  if !phone_confirmation_sent_at || Time.now - phone_confirmation_sent_at > phone_confirmation_delay
24
24
  generate_phone_confirmation_token
25
- twilio_res = TwilioService.send_message(phone_confirmation_message, phone)
25
+ twilio_res = TwilioPhoneVerification::TwilioService.send_message(phone_confirmation_message, phone)
26
26
  unless twilio_res[:success]
27
27
  errors.add(:phone, "Error occured, while sending code. Please try again later.")
28
28
  return false
@@ -1,3 +1,3 @@
1
1
  module TwilioPhoneVerification
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - vishgleb@mail.ru