twilio_phone_verification 1.0.0 → 1.0.1
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/README.md +4 -2
- data/lib/twilio_phone_verification.rb +1 -0
- data/lib/twilio_phone_verification/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffc83901f13d0e1f98d64001fb9941373a3d776c
|
4
|
+
data.tar.gz: d2b6b3261af9c69ac9d05807dd5764445fe5d038
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84d1940df68395ccb15ff1a9861f9dd65ca362c1cf78aa5310c35f667b770766b338e543987b9514c782e57da5c74372bb4ca2fc0acd53b64188b70b49e3ab28
|
7
|
+
data.tar.gz: 8a9cb8f5746e35f352c64d6392a9732b5cf8660b4f11946ed2d583e93d446b2178b0bb53beddb8b1d574b3042335a63d115ae36a790ba4d4aa6c60e85407b527
|
data/README.md
CHANGED
@@ -63,13 +63,15 @@ Now you can call some new methods on your model
|
|
63
63
|
| **`confirm_phone_by_code(code)`** | Returns `true` and makes user's phone verified if code was correct, otherwise `false`. |
|
64
64
|
| **`confirm_phone`** | Confirms user's phone number without sending a code |
|
65
65
|
|
66
|
-
If one of these methods returns `false`, you can see error in `.errors` method. (
|
66
|
+
If one of these methods returns `false`, you can see error in `.errors` method. (except `phone_confirmed?`)
|
67
67
|
|
68
68
|
**Note:** Code can be sent only once per 60 seconds, if you call `send_phone_confirmation` few times, it will send only one code.
|
69
69
|
|
70
|
+
**Note:** No need to validate `phone`. It validates `phone` out of the box :)
|
71
|
+
|
70
72
|
## Contributing
|
71
73
|
|
72
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
74
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kaikash/twilio_phone_verification. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
73
75
|
|
74
76
|
|
75
77
|
## License
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio_phone_verification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vishgleb@mail.ru
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twilio-ruby
|