devise-otp 0.8.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +11 -0
- data/.gitignore +2 -0
- data/Appraisals +36 -0
- data/Gemfile +3 -1
- data/README.md +8 -7
- data/app/assets/stylesheets/devise-otp.css +4 -0
- data/app/controllers/devise_otp/devise/otp_credentials_controller.rb +4 -6
- data/app/controllers/devise_otp/devise/otp_tokens_controller.rb +1 -2
- data/config/locales/en.yml +0 -2
- data/devise-otp.gemspec +6 -5
- data/gemfiles/rails_7.0.gemfile +25 -0
- data/gemfiles/rails_7.1.gemfile +21 -0
- data/gemfiles/rails_7.2.gemfile +17 -0
- data/gemfiles/rails_8.0.gemfile +17 -0
- data/lib/devise-otp/version.rb +1 -1
- data/lib/devise_otp_authenticatable/controllers/helpers.rb +5 -28
- data/test/dummy/app/assets/javascripts/application.js +0 -1
- data/test/dummy/app/assets/stylesheets/application.css +1 -0
- data/test/dummy/app/views/layouts/application.html.erb +7 -1
- data/test/dummy/db/migrate/20240604000001_create_admins.rb +1 -1
- data/test/integration/disable_token_test.rb +3 -0
- data/test/integration/enable_otp_form_test.rb +17 -0
- data/test/integration/persistence_test.rb +3 -0
- data/test/integration/refresh_test.rb +9 -0
- data/test/integration/reset_token_test.rb +3 -0
- data/test/integration/sign_in_test.rb +30 -0
- metadata +27 -14
- data/app/assets/javascripts/devise-otp.js +0 -1
- data/app/assets/javascripts/qrcode.js +0 -609
- data/docs/QR_CODES.md +0 -9
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-otp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lele Forzani
|
8
8
|
- Josef Strzibny
|
9
|
+
- Laney Stroup
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2024-
|
13
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rails
|
@@ -18,9 +19,6 @@ dependencies:
|
|
18
19
|
- - ">="
|
19
20
|
- !ruby/object:Gem::Version
|
20
21
|
version: '7.0'
|
21
|
-
- - "<"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: '8.0'
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,9 +26,6 @@ dependencies:
|
|
28
26
|
- - ">="
|
29
27
|
- !ruby/object:Gem::Version
|
30
28
|
version: '7.0'
|
31
|
-
- - "<"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '8.0'
|
34
29
|
- !ruby/object:Gem::Dependency
|
35
30
|
name: devise
|
36
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,23 +60,38 @@ dependencies:
|
|
65
60
|
- - ">="
|
66
61
|
- !ruby/object:Gem::Version
|
67
62
|
version: 2.0.0
|
68
|
-
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rqrcode
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '2.0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '2.0'
|
77
|
+
description: OTP authentication for Devise
|
69
78
|
email:
|
70
79
|
- lele@windmill.it
|
71
80
|
- strzibny@strzibny.name
|
81
|
+
- laney@stroupsolutions.com
|
72
82
|
executables: []
|
73
83
|
extensions: []
|
74
84
|
extra_rdoc_files: []
|
75
85
|
files:
|
76
86
|
- ".github/workflows/ci.yml"
|
77
87
|
- ".gitignore"
|
88
|
+
- Appraisals
|
78
89
|
- CHANGELOG.md
|
79
90
|
- Gemfile
|
80
91
|
- LICENSE.txt
|
81
92
|
- README.md
|
82
93
|
- Rakefile
|
83
|
-
- app/assets/
|
84
|
-
- app/assets/javascripts/qrcode.js
|
94
|
+
- app/assets/stylesheets/devise-otp.css
|
85
95
|
- app/controllers/devise_otp/devise/otp_credentials_controller.rb
|
86
96
|
- app/controllers/devise_otp/devise/otp_tokens_controller.rb
|
87
97
|
- app/views/devise/otp_credentials/refresh.html.erb
|
@@ -94,7 +104,10 @@ files:
|
|
94
104
|
- app/views/devise/otp_tokens/show.html.erb
|
95
105
|
- config/locales/en.yml
|
96
106
|
- devise-otp.gemspec
|
97
|
-
-
|
107
|
+
- gemfiles/rails_7.0.gemfile
|
108
|
+
- gemfiles/rails_7.1.gemfile
|
109
|
+
- gemfiles/rails_7.2.gemfile
|
110
|
+
- gemfiles/rails_8.0.gemfile
|
98
111
|
- lib/devise-otp.rb
|
99
112
|
- lib/devise-otp/version.rb
|
100
113
|
- lib/devise/strategies/database_authenticatable.rb
|
@@ -179,7 +192,7 @@ files:
|
|
179
192
|
- test/models/otp_authenticatable_test.rb
|
180
193
|
- test/orm/active_record.rb
|
181
194
|
- test/test_helper.rb
|
182
|
-
homepage:
|
195
|
+
homepage: https://github.com/wmlele/devise-otp
|
183
196
|
licenses: []
|
184
197
|
metadata: {}
|
185
198
|
post_install_message:
|
@@ -197,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
210
|
- !ruby/object:Gem::Version
|
198
211
|
version: '0'
|
199
212
|
requirements: []
|
200
|
-
rubygems_version: 3.
|
213
|
+
rubygems_version: 3.5.16
|
201
214
|
signing_key:
|
202
215
|
specification_version: 4
|
203
216
|
summary: Time Based OTP/rfc6238 compatible authentication for Devise
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require_tree .
|