minimalist_authentication 3.2.3 → 3.2.4
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 +4 -4
- data/Rakefile +0 -2
- data/lib/minimalist_authentication/sessions.rb +0 -6
- data/lib/minimalist_authentication/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0e7fbd42fef46be26f68d4df9257963d7f694405da2f863fa0a34d04d4c390d
|
|
4
|
+
data.tar.gz: d10c06d41126ff04dc4e09fa3ebfa80c3aa29a479b1893c3c0a8ed583b204da3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aea05763f08f292f4464b94ff5c594523203c0d191a8b8ca3e9e3a315873290666c8314c5603f648d05535ddbecd2ef62d65c56925c7b0e7d9332bd236a87a19
|
|
7
|
+
data.tar.gz: acfa6f1729a24eb67a3d0d76ec7db12b67c19f4c7b52a81867b63859b3f8fceb2981e4a025a8039fc5d0f47e3de874e7f716c714a8860cf86a4acaa54ea74c38
|
data/Rakefile
CHANGED
|
@@ -27,17 +27,11 @@ module MinimalistAuthentication
|
|
|
27
27
|
|
|
28
28
|
def destroy
|
|
29
29
|
reset_session
|
|
30
|
-
clear_site_data
|
|
31
30
|
redirect_to logout_redirect_to, notice: t(".notice"), status: :see_other
|
|
32
31
|
end
|
|
33
32
|
|
|
34
33
|
private
|
|
35
34
|
|
|
36
|
-
# Sets a “Clear-Site-Data” header to clear the browser cache.
|
|
37
|
-
def clear_site_data
|
|
38
|
-
response.headers["Clear-Site-Data"] = '"cache","storage"'
|
|
39
|
-
end
|
|
40
|
-
|
|
41
35
|
def user
|
|
42
36
|
@user ||= MinimalistAuthentication.configuration.user_model.new
|
|
43
37
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minimalist_authentication
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aaron Baldwin
|
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
111
|
version: '0'
|
|
112
112
|
requirements: []
|
|
113
|
-
rubygems_version: 3.
|
|
113
|
+
rubygems_version: 3.7.2
|
|
114
114
|
specification_version: 4
|
|
115
115
|
summary: A Rails authentication plugin that takes a minimalist approach.
|
|
116
116
|
test_files: []
|