devise-multi-factor 3.2.0 → 3.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2856d4950036921607ebf2ce9300945f0c51729952ef6629531a70733eb8ed69
|
4
|
+
data.tar.gz: d25598cfc08d6ea352ae5ccb6048cc6df092ab4b9ea38ada9117f9f76fcd818d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a0178be9e939b0cf934c87ad3c8ee29b46abea7099b4df30bc36f55457082efec6f2cd28caaf9393b60779fdb9f6a9dc4004bb1b7b378e9e095ba64ec3fe978
|
7
|
+
data.tar.gz: c349a500d1916f7f8be7b77fc212a9b76f01ede6fe25a3781256911fe668c5975c4e881a9d2ddd1b8c001b01bd9689f1131a72e93510fb85ad02b488dcf58f95
|
@@ -12,11 +12,11 @@ jobs:
|
|
12
12
|
runs-on: ubuntu-latest
|
13
13
|
|
14
14
|
steps:
|
15
|
-
- uses: actions/checkout@
|
16
|
-
- name: Set up Ruby
|
17
|
-
uses:
|
15
|
+
- uses: actions/checkout@v3
|
16
|
+
- name: Set up Ruby
|
17
|
+
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
18
18
|
with:
|
19
|
-
ruby-version:
|
19
|
+
ruby-version: '3.1'
|
20
20
|
|
21
21
|
- name: Publish to GPR
|
22
22
|
run: |
|
data/devise-multi-factor.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_runtime_dependency 'devise'
|
29
29
|
s.add_runtime_dependency 'randexp'
|
30
30
|
s.add_runtime_dependency 'rotp', '>= 4.0.0'
|
31
|
-
s.add_runtime_dependency '
|
31
|
+
s.add_runtime_dependency 'lockbox'
|
32
32
|
|
33
33
|
s.add_development_dependency 'bundler'
|
34
34
|
s.add_development_dependency 'rake'
|
@@ -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
|
-
|
18
|
+
has_encrypted(:otp_secret_key, **(encrypt_options || {}))
|
19
19
|
end
|
20
20
|
|
21
21
|
def generate_totp_secret
|
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.
|
4
|
+
version: 3.2.2
|
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:
|
12
|
+
date: 2023-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: 4.0.0
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
71
|
+
name: lockbox
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
@@ -310,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
310
310
|
- !ruby/object:Gem::Version
|
311
311
|
version: '0'
|
312
312
|
requirements: []
|
313
|
-
rubygems_version: 3.
|
313
|
+
rubygems_version: 3.3.3
|
314
314
|
signing_key:
|
315
315
|
specification_version: 4
|
316
316
|
summary: Two factor authentication plugin for devise
|