quo_vadis 2.1.10 → 2.1.11

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: f75e1f5d40a86773e5cec5133d3822431d8ed76e581d7e712912481ae56ec29a
4
- data.tar.gz: 3789a04b43d20d1c3b4e4aaf6e5c8b88f53c4bc97fce5ee4b546063e1bfa9801
3
+ metadata.gz: 75eaf7f87a444de55a110ed4dd37d5fa14ad1c0d2d51bae7b0e3eb549681578b
4
+ data.tar.gz: c79cbcd1d629bcfb6bd4b95f6b77e95617173bfb5f649d73c493f26f53635c2b
5
5
  SHA512:
6
- metadata.gz: ac21c181a2339c6d515ae2c7defe20ced03c103ac9e144ca4edcf3169d0ea4bafa18f4a2011912c611310e0adf5736285f7d8b2dff5b031468e735940bcbc3b0
7
- data.tar.gz: 432bb81c9d8de26a659a718a533579bdd982c4565ae5df96511dc5ec60bf84c4d4665c694e1db9b0837434b6a9d5d43a9db7006b6e278a1b9d1c9d8cf2f54c2e
6
+ metadata.gz: 0c79e6e5844e6ff1292d49beabf8728a086c7460726244b9452c5d77d1d1bc32b1aca11217345e0da8ce89e6c15c8bbb2baece066033e796bce119b7757f3c09
7
+ data.tar.gz: 073ba2aae8cd45f600ffa2d58e8b5e6ae0889a7fa976dd58447132c11993fbd5f0ba16c419eba7bcb55fedcdfb21ec1f2f01a9c94c532f7c1460588958dcae0b
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@
4
4
  ## HEAD
5
5
 
6
6
 
7
+ ## 2.1.11 (14 September 2022)
8
+
9
+ * Introduce common controller superclass.
10
+
11
+
7
12
  ## 2.1.10 (14 September 2022)
8
13
 
9
14
  * Enable configuration of mailer superclass.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- class ConfirmationsController < ApplicationController
4
+ class ConfirmationsController < QuoVadisController
5
5
 
6
6
  # holding page
7
7
  def index
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- class LogsController < ApplicationController
4
+ class LogsController < QuoVadisController
5
5
  before_action :require_password_authentication
6
6
 
7
7
  PER_PAGE = 25
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- class PasswordResetsController < ApplicationController
4
+ class PasswordResetsController < QuoVadisController
5
5
 
6
6
  # holding page for after the create action
7
7
  def index
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- class PasswordsController < ApplicationController
4
+ class PasswordsController < QuoVadisController
5
5
 
6
6
  before_action :require_authentication
7
7
 
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module QuoVadis
4
+ class QuoVadisController < ApplicationController
5
+ end
6
+ end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- class RecoveryCodesController < ApplicationController
4
+ class RecoveryCodesController < QuoVadisController
5
5
  before_action :require_password_authentication
6
6
 
7
7
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- class SessionsController < ApplicationController
4
+ class SessionsController < QuoVadisController
5
5
 
6
6
  # Don't require authentication for the :destroy action so that someone
7
7
  # who has logged in via password but not completed 2fa can still log out.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- class TotpsController < ApplicationController
4
+ class TotpsController < QuoVadisController
5
5
  before_action :require_password_authentication
6
6
 
7
7
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- class TwofasController < ApplicationController
4
+ class TwofasController < QuoVadisController
5
5
  before_action :require_password_authentication
6
6
 
7
7
  def show
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module QuoVadis
4
- VERSION = '2.1.10'
4
+ VERSION = '2.1.11'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quo_vadis
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.10
4
+ version: 2.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Stewart
@@ -83,6 +83,7 @@ files:
83
83
  - app/controllers/quo_vadis/logs_controller.rb
84
84
  - app/controllers/quo_vadis/password_resets_controller.rb
85
85
  - app/controllers/quo_vadis/passwords_controller.rb
86
+ - app/controllers/quo_vadis/quo_vadis_controller.rb
86
87
  - app/controllers/quo_vadis/recovery_codes_controller.rb
87
88
  - app/controllers/quo_vadis/sessions_controller.rb
88
89
  - app/controllers/quo_vadis/totps_controller.rb