devise-twilio-verify 0.2.4 → 0.2.5
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/CHANGELOG.md +8 -0
- data/app/services/twilio_verify_service.rb +1 -1
- data/devise-twilio-verify.gemspec +3 -3
- data/lib/devise-twilio-verify/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac6929ca61ae156613572e5fa761c7ac46dc8e24c8d0c76b46887c698caa9702
|
4
|
+
data.tar.gz: b85840b10c05e94a44e1ba1a6f92bbb80bd57d573c249bf37899bf2768db589b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecd7ee5f1c4df19c362d8b4e68e34406f29b1d61b7f2644903263565c70df79471c5aafeea81b5263bff88150275d3e188c08ad5e1914c8c77fe0157697d209d
|
7
|
+
data.tar.gz: a2222b9da3fd8824906d8decc60b305a0c15b637094c2c86eb61a53da4bbf9059f47c841483dbe4d41cb261985c99b652390e4ad523e5bc07cc17dcaf55f763d
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [0.2.5] - 2025-01-02
|
9
|
+
|
10
|
+
### Changed
|
11
|
+
|
12
|
+
- Raise "Missing Twilio Credentials" when Twilio credentials are nil or empty strings.
|
13
|
+
- Added test coverage for TwilioVerifyService, (the abstraction layer for Twilio Verify API calls)
|
14
|
+
- Updated gemspec summary/description again
|
15
|
+
|
8
16
|
## [0.2.4] - 2024-12-29
|
9
17
|
|
10
18
|
### Changed
|
@@ -47,7 +47,7 @@ class TwilioVerifyService
|
|
47
47
|
@twilio_auth_token = Rails.application.credentials.twilio_auth_token || ENV['TWILIO_AUTH_TOKEN']
|
48
48
|
@twilio_verify_service_sid = Rails.application.credentials.twilio_verify_service_sid || ENV['TWILIO_VERIFY_SERVICE_SID']
|
49
49
|
|
50
|
-
raise 'Missing Twilio credentials'
|
50
|
+
raise 'Missing Twilio credentials' if @twilio_account_sid.blank? || @twilio_auth_token.blank? || @twilio_verify_service_sid.blank?
|
51
51
|
|
52
52
|
@twilio_client = Twilio::REST::Client.new(@twilio_account_sid, @twilio_auth_token)
|
53
53
|
end
|
@@ -8,11 +8,11 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.name = "devise-twilio-verify"
|
9
9
|
spec.version = DeviseTwilioVerify::VERSION
|
10
10
|
spec.authors = ["Jay Wolff"]
|
11
|
-
|
12
|
-
spec.
|
13
|
-
spec.description = %q{The devise-twilio-verify gem is an extension for the Devise authentication system that adds extra security with two-factor authentication (2FA). It leverages the Twilio Verify API to send verification codes to users via SMS or TOTP (time-based codes). This gem makes it easy to set up 2FA in your Devise-powered Rails app, helping to keep user accounts secure. This gem is meant to make migrating from authy to twilio verify as simple as possible, please see the README for details.}
|
11
|
+
spec.summary = %q{Devise plugin for two-factor authentication (2FA) using SMS/TOTP with Twilio Verify API}
|
12
|
+
spec.description = %q{The devise-twilio-verify gem extends the Devise authentication system to provide enhanced security through two-factor authentication (2FA). It integrates with the Twilio Verify API to send verification codes via SMS or TOTP (time-based one-time passwords). This gem simplifies adding 2FA to Devise-powered Rails applications, ensuring better protection for user accounts. For instructions on migrating from the legacy Authy API (devise-authy) to Twilio Verify, please refer to the README.}
|
14
13
|
spec.homepage = "https://github.com/jayywolff/twilio-verify-devise"
|
15
14
|
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = '>= 2.5.0'
|
16
16
|
|
17
17
|
spec.metadata = {
|
18
18
|
"bug_tracker_uri" => "https://github.com/jayywolff/twilio-verify-devise/issues",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-twilio-verify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay Wolff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -304,12 +304,12 @@ dependencies:
|
|
304
304
|
- - "~>"
|
305
305
|
- !ruby/object:Gem::Version
|
306
306
|
version: 0.1.2
|
307
|
-
description: The devise-twilio-verify gem
|
308
|
-
|
309
|
-
the Twilio Verify API to send verification codes
|
310
|
-
|
311
|
-
|
312
|
-
|
307
|
+
description: The devise-twilio-verify gem extends the Devise authentication system
|
308
|
+
to provide enhanced security through two-factor authentication (2FA). It integrates
|
309
|
+
with the Twilio Verify API to send verification codes via SMS or TOTP (time-based
|
310
|
+
one-time passwords). This gem simplifies adding 2FA to Devise-powered Rails applications,
|
311
|
+
ensuring better protection for user accounts. For instructions on migrating from
|
312
|
+
the legacy Authy API (devise-authy) to Twilio Verify, please refer to the README.
|
313
313
|
email:
|
314
314
|
executables: []
|
315
315
|
extensions: []
|
@@ -376,7 +376,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
376
376
|
requirements:
|
377
377
|
- - ">="
|
378
378
|
- !ruby/object:Gem::Version
|
379
|
-
version:
|
379
|
+
version: 2.5.0
|
380
380
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
381
|
requirements:
|
382
382
|
- - ">="
|
@@ -386,6 +386,6 @@ requirements: []
|
|
386
386
|
rubygems_version: 3.1.6
|
387
387
|
signing_key:
|
388
388
|
specification_version: 4
|
389
|
-
summary: Devise
|
390
|
-
|
389
|
+
summary: Devise plugin for two-factor authentication (2FA) using SMS/TOTP with Twilio
|
390
|
+
Verify API
|
391
391
|
test_files: []
|