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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7654389c112199e8b4f4dc30ed804521a80364b24e842c4dcf1ce481aceec1cd
4
- data.tar.gz: c6b479ed1bff4352fb5a30289af913c372b6f726e9f09e0ef53d4085f8e7323d
3
+ metadata.gz: ac6929ca61ae156613572e5fa761c7ac46dc8e24c8d0c76b46887c698caa9702
4
+ data.tar.gz: b85840b10c05e94a44e1ba1a6f92bbb80bd57d573c249bf37899bf2768db589b
5
5
  SHA512:
6
- metadata.gz: 04de5a355453a3871c670d41029ae71ea6e7ade3415483e9bb085639fe5041fd96f10fa1f5f5ee5fcf917e62279652d268625d0a75621c4e5329db51f777e3ee
7
- data.tar.gz: 7930511c023307bbe3cb8ecb2ca1b6f51cc474a8fd60e970346c5fee211588d5cc9fd0cda033d9fb9d07e232ab922ad6dc22e6825e070369c18c71b860d18bab
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' unless @twilio_account_sid && @twilio_auth_token && @twilio_verify_service_sid
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.summary = %q{Devise-Twilio-Verify is a Devise extension that adds two-factor authentication (2FA) support using SMS and/or TOTP via the Twilio Verify API}
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",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeviseTwilioVerify
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.5'
5
5
  end
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
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: 2024-12-30 00:00:00.000000000 Z
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 is an extension for the Devise authentication
308
- system that adds extra security with two-factor authentication (2FA). It leverages
309
- the Twilio Verify API to send verification codes to users via SMS or TOTP (time-based
310
- codes). This gem makes it easy to set up 2FA in your Devise-powered Rails app, helping
311
- to keep user accounts secure. This gem is meant to make migrating from authy to
312
- twilio verify as simple as possible, please see the README for details.
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: '0'
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-Twilio-Verify is a Devise extension that adds two-factor authentication
390
- (2FA) support using SMS and/or TOTP via the Twilio Verify API
389
+ summary: Devise plugin for two-factor authentication (2FA) using SMS/TOTP with Twilio
390
+ Verify API
391
391
  test_files: []