devise-multi-factor 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b69e7dd9a398b8cfebfd6c3b1e17e4c94603f2097e56a54f78a5f4ce07ce9751
4
- data.tar.gz: 76f657bc840dc7b9b3d48fb3fe66876194ba4481e6849aac1b8f28b3a22eae52
3
+ metadata.gz: b790306376953e31fbc613105e7e581d75c2d001b9b7596fa1512284fac3817a
4
+ data.tar.gz: 117bf20fb42c0d70e9f6f5ee926b2bb8a8d64e91803c14d9d47b1565b99829d6
5
5
  SHA512:
6
- metadata.gz: f1dc861603dd878a0caddf74a316f7c385e3d103a0049de7cf5d1f2baadb29c7b7c1a1c25fa2c42a865c01eac178d3bd92621a53b278f6ec4f6c1f3fa0ec11d2
7
- data.tar.gz: 513a0cb006edb6613a7c3e0af9cf1ab8594ed2841429b09d7b34e538c2a8a2d614f001aa86c1b7a87ef8946afddfdbcae16beda276cd437d8c0ca61fa84b0741
6
+ metadata.gz: edc39ac3f19009b58e2c6ec607421eca50bf7346d06c04c5b37982c88cdd41e39b195f5af7443fed7d5df34608b0481f0eb1d9adc58db1b17568394f7adb6986
7
+ data.tar.gz: 63c0022150927b92e23240bf9d1b0fb941e9871f593074a3431c713a94ed78c07a33f34aef4769716cb81d3e0306557cae15d74aa46a40341044ae2aab1b4665
@@ -15,7 +15,7 @@ module Devise
15
15
  encrypted_attribute: 'encrypted_otp_secret_key',
16
16
  }.compact
17
17
  encrypt_options = encrypt_options.merge(options[:encrypt]) if options[:encrypt].is_a?(Hash)
18
- encrypts(:otp_secret_key, encrypt_options || {})
18
+ has_encrypted(:otp_secret_key, **(encrypt_options || {}))
19
19
  end
20
20
 
21
21
  def generate_totp_secret
@@ -1,3 +1,3 @@
1
1
  module DeviseMultiFactor
2
- VERSION = "3.2.0".freeze
2
+ VERSION = "3.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-multi-factor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitrii Golub
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-17 00:00:00.000000000 Z
12
+ date: 2022-09-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails