quo_vadis 2.1.9 → 2.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +4 -0
- data/app/mailers/quo_vadis/mailer.rb +1 -1
- data/lib/quo_vadis/defaults.rb +1 -0
- data/lib/quo_vadis/version.rb +1 -1
- data/lib/quo_vadis.rb +1 -0
- data/test/dummy/app/mailers/application_mailer.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f75e1f5d40a86773e5cec5133d3822431d8ed76e581d7e712912481ae56ec29a
|
4
|
+
data.tar.gz: 3789a04b43d20d1c3b4e4aaf6e5c8b88f53c4bc97fce5ee4b546063e1bfa9801
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac21c181a2339c6d515ae2c7defe20ced03c103ac9e144ca4edcf3169d0ea4bafa18f4a2011912c611310e0adf5736285f7d8b2dff5b031468e735940bcbc3b0
|
7
|
+
data.tar.gz: 432bb81c9d8de26a659a718a533579bdd982c4565ae5df96511dc5ec60bf84c4d4665c694e1db9b0837434b6a9d5d43a9db7006b6e278a1b9d1c9d8cf2f54c2e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -466,6 +466,10 @@ __`account_confirmation_token_lifetime`__ (`ActiveSupport::Duration` | integer)
|
|
466
466
|
|
467
467
|
The `Duration` or number of seconds for which an account-confirmation token is valid.
|
468
468
|
|
469
|
+
__`mailer_superclass`__ (string)
|
470
|
+
|
471
|
+
The class from which QuoVadis's mailer inherits.
|
472
|
+
|
469
473
|
__`mail_headers`__ (hash)
|
470
474
|
|
471
475
|
Mail headers which QuoVadis' emails should have.
|
data/lib/quo_vadis/defaults.rb
CHANGED
@@ -10,6 +10,7 @@ QuoVadis.configure do
|
|
10
10
|
password_reset_token_lifetime 10.minutes
|
11
11
|
accounts_require_confirmation false
|
12
12
|
account_confirmation_token_lifetime 10.minutes
|
13
|
+
mailer_superclass 'ApplicationMailer'
|
13
14
|
mail_headers ({ from: 'Example App <support@example.com>' })
|
14
15
|
enqueue_transactional_emails true
|
15
16
|
app_name Rails.app_class.to_s.deconstantize # for the TOTP QR code
|
data/lib/quo_vadis/version.rb
CHANGED
data/lib/quo_vadis.rb
CHANGED
@@ -25,6 +25,7 @@ module QuoVadis
|
|
25
25
|
:session_lifetime_extend_to_end_of_day,# true | false
|
26
26
|
:session_idle_timeout, # :lifetime | ActiveSupport::Duration | [integer] seconds
|
27
27
|
:password_reset_token_lifetime, # ActiveSupport::Duration | [integer] seconds
|
28
|
+
:mailer_superclass, # string
|
28
29
|
:mail_headers, # hash
|
29
30
|
:accounts_require_confirmation, # true | false
|
30
31
|
:account_confirmation_token_lifetime, # ActiveSupport::Duration | [integer] seconds
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quo_vadis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Stewart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -148,6 +148,7 @@ files:
|
|
148
148
|
- test/dummy/app/controllers/articles_controller.rb
|
149
149
|
- test/dummy/app/controllers/sign_ups_controller.rb
|
150
150
|
- test/dummy/app/controllers/users_controller.rb
|
151
|
+
- test/dummy/app/mailers/application_mailer.rb
|
151
152
|
- test/dummy/app/models/application_record.rb
|
152
153
|
- test/dummy/app/models/article.rb
|
153
154
|
- test/dummy/app/models/person.rb
|