devise-two-factor 6.3.0 → 6.3.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c8c0b83a23b936ca746191eb4b4f5882f136fc5eb2bacccc8258fb59c3976fe
|
|
4
|
+
data.tar.gz: 890cd4b59a3de3439be85b0b0aa60f793c1351c94c217d17be6623eb5e6f98ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2de9aed179973655dac200930a0fcff2b415c7facbd19f539e3c153cd2db5c5e5389dbeed9359580add8af0ea8170e7185705d6c40ee6dd9c53d7de684d0772
|
|
7
|
+
data.tar.gz: 6e09b8cf78abd714cf945757b57002a4548c6621fbc4cd3752a45a6cc2552da7516629a340ebfce44561f4bac86e38f80cf58cb56ab68c769068376e13a48db5
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -12,13 +12,9 @@ jobs:
|
|
|
12
12
|
fail-fast: false
|
|
13
13
|
matrix:
|
|
14
14
|
# Due to https://github.com/actions/runner/issues/849, we should quote versions
|
|
15
|
-
ruby: ['3.
|
|
15
|
+
ruby: ['3.2', '3.3', '3.4', 'truffleruby-head']
|
|
16
16
|
rails: ['7.0', '7.1', '7.2', '8.0', '8.1']
|
|
17
17
|
exclude:
|
|
18
|
-
- ruby: '3.1'
|
|
19
|
-
rails: '8.0'
|
|
20
|
-
- ruby: '3.1'
|
|
21
|
-
rails: '8.1'
|
|
22
18
|
- ruby: '3.4'
|
|
23
19
|
rails: '7.0'
|
|
24
20
|
|
|
@@ -107,7 +107,8 @@ RSpec.shared_examples 'two_factor_backupable' do
|
|
|
107
107
|
subject.otp_backup_codes = subject.otp_backup_codes.to_json
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
# Do not run when DB adapter handles array assignment correctly
|
|
111
|
+
it "raises a meaningful error", unless: -> { subject.otp_backup_codes.is_a?(Array) } do
|
|
111
112
|
expect { subject.invalidate_otp_backup_code!("flork") }.to raise_error(TypeError)
|
|
112
113
|
end
|
|
113
114
|
end
|