thecore_ui_commons 3.4.0 → 3.5.0
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: 244d023f4eae82f934adeeaab627e6c319d53ce9e35a4ae88a4ea6d1388d4589
|
|
4
|
+
data.tar.gz: 3687827874ef937db6a6d13d62e93b22403a5d1b7a44ca52ea3a269dda85f3f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb2a901e7d02a99340a635134fbde6583559eb46f0a2d33a24f03d44dd65cc22a5423edee39477047c0fc9bef8ed2bcae07b3d24ab92c873f3feb63f1204e943
|
|
7
|
+
data.tar.gz: 248ab9478417b8fd87cd794c96c9cba5babdce6a593ae25495c25fd459769e128c89fb091e067b2164929613d36ad907d2e4b9cb33fe723e21655a9ac41ca8a7
|
|
@@ -13,21 +13,7 @@ module ConcernCommonApplicationController
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
before_action :store_user_location!, if: :storable_location?
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
# Auto-sign out locked users
|
|
19
|
-
def reject_locked!
|
|
20
|
-
if !current_user.blank? && current_user.locked?
|
|
21
|
-
Rails.logger.debug " - Cleaning session"
|
|
22
|
-
sign_out current_user
|
|
23
|
-
user_session = nil
|
|
24
|
-
current_user = nil
|
|
25
|
-
flash[:alert] = "Your account is locked."
|
|
26
|
-
flash[:notice] = nil
|
|
27
|
-
redirect_to root_url
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
|
|
16
|
+
|
|
31
17
|
# Its important that the location is NOT stored if:
|
|
32
18
|
# - The request method is not GET (non idempotent)
|
|
33
19
|
# - The request is handled by a Devise controller such as
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore_ui_commons
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thecore_backend_commons
|
|
@@ -24,6 +24,26 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '3.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: thecore_auth_commons
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '3.7'
|
|
34
|
+
- - ">="
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: 3.7.1
|
|
37
|
+
type: :runtime
|
|
38
|
+
prerelease: false
|
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - "~>"
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '3.7'
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 3.7.1
|
|
27
47
|
- !ruby/object:Gem::Dependency
|
|
28
48
|
name: omniauth-rails_csrf_protection
|
|
29
49
|
requirement: !ruby/object:Gem::Requirement
|