devise_sms_confirmable 0.1.17 → 0.1.18

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: 0e48132fe8f049a59c4132004cb1058fd482e63e1125a7547ff1d3bb5fe25bea
4
- data.tar.gz: 99b5a0f6bc24d7a6c1a4f35001b7e8c6a17663d6ed091a44cfffc9313b054cf8
3
+ metadata.gz: 59ba3ef8902c9daa3a927d6d6b83889eabc46c46e80d7a64c41a3b3d84e2636c
4
+ data.tar.gz: a3f4e0ba49a6f8b0ca35609efad202074c88ca8175bd4d308ef6bc78792bb645
5
5
  SHA512:
6
- metadata.gz: d06f5881545332ed233008e862bafb1af659920b52bcf410cda96ab62aa1f054702a528079221373840a5235e51f4ab3b4e2ab99943838a3d65885a056807f73
7
- data.tar.gz: 9d8867071103f6737a5bb907a140d81741429440ca6cdb8400a40f4d36b350a15dfa482b57b5db946dffbc2b2478e5ff0506e12827ccef33b9b3993d066edb34
6
+ metadata.gz: 17c392331470cba7fac9b7f04af30deff3584819f43e3430a1728bfe4506cd9ac7cc0c806e61ab2958b10efdf7394aa9944f98b6a4914babfe4dfda321232013
7
+ data.tar.gz: 704f5911544683ec28e5ce9325196013b259a2d3a4be7c44c1919a19742b12ba1a24e8e235f09bdb80d881f8bbbf49f240ae15cb0aff3bcf5e777159147fcb25
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devise_sms_confirmable (0.1.17)
4
+ devise_sms_confirmable (0.1.18)
5
5
  devise (>= 4.6.2)
6
6
  rails (~> 5.1.4)
7
7
  textris (~> 0.7)
@@ -244,7 +244,7 @@ module Devise
244
244
  find_or_initialize_with_errors(unconfirmed_required_attributes, unconfirmed_attributes, :not_found)
245
245
  end
246
246
 
247
- Devise::Models.config(self, :allow_sms_unconfirmed_access_for, :send_phone_changed_notification, :sms_confirmation_keys, :sms_reconfirmable, :sms_confirm_within)
247
+ Devise::Models.config(self, :allow_sms_unconfirmed_access_for, :send_phone_changed_notification, :sms_confirmation_keys, :sms_reconfirmable, :sms_confirm_within, :sms_reset_password_within)
248
248
  end
249
249
  end
250
250
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseSmsConfirmable
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
@@ -35,6 +35,9 @@ module Devise
35
35
  mattr_accessor :allow_sms_unconfirmed_access_for
36
36
  @@allow_sms_unconfirmed_access_for = 0.days
37
37
 
38
+ mattr_accessor :sms_reset_password_within
39
+ @@sms_reset_password_within = 10.minutes
40
+
38
41
  # Get the sms sender class from the texter reference object.
39
42
  def self.texter
40
43
  @@texter_ref.get
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_sms_confirmable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - uuushiro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-17 00:00:00.000000000 Z
11
+ date: 2019-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise