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: b69e7dd9a398b8cfebfd6c3b1e17e4c94603f2097e56a54f78a5f4ce07ce9751
4
- data.tar.gz: 76f657bc840dc7b9b3d48fb3fe66876194ba4481e6849aac1b8f28b3a22eae52
3
+ metadata.gz: 2856d4950036921607ebf2ce9300945f0c51729952ef6629531a70733eb8ed69
4
+ data.tar.gz: d25598cfc08d6ea352ae5ccb6048cc6df092ab4b9ea38ada9117f9f76fcd818d
5
5
  SHA512:
6
- metadata.gz: f1dc861603dd878a0caddf74a316f7c385e3d103a0049de7cf5d1f2baadb29c7b7c1a1c25fa2c42a865c01eac178d3bd92621a53b278f6ec4f6c1f3fa0ec11d2
7
- data.tar.gz: 513a0cb006edb6613a7c3e0af9cf1ab8594ed2841429b09d7b34e538c2a8a2d614f001aa86c1b7a87ef8946afddfdbcae16beda276cd437d8c0ca61fa84b0741
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@v2
16
- - name: Set up Ruby 2.6
17
- uses: actions/setup-ruby@v1
15
+ - uses: actions/checkout@v3
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
18
18
  with:
19
- ruby-version: 2.6.x
19
+ ruby-version: '3.1'
20
20
 
21
21
  - name: Publish to GPR
22
22
  run: |
@@ -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 'encryptor'
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
- 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.2".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.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: 2022-01-17 00:00:00.000000000 Z
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: encryptor
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.0.3.1
313
+ rubygems_version: 3.3.3
314
314
  signing_key:
315
315
  specification_version: 4
316
316
  summary: Two factor authentication plugin for devise