minimalist_authentication 2.6.1 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4bb59b8f43fd47739bb2d9751c0c3922100c563a244c24b33760d421c87e25c
|
4
|
+
data.tar.gz: 0cdfcf49e0fb66c595cc1be8f24f8dbab0b8c072158f5571caad2dc47f7d9799
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b964fc19564faf080f6a93c6a36108baea9748f0305eaaf85b3e5cf37d68024f6a2f0fc71bb350b7dd41c5b8c853a40924f4f33fe69750c04124fcf14e86a1
|
7
|
+
data.tar.gz: 96ad19ef5f1a5b4cee6d99782c5ee52b3033e57bb8db59288876d223098442fd3ab567c355f48c4c030e50095c9b684dbb85a2b0600c172754babf989aa21eb0
|
@@ -42,14 +42,6 @@ module MinimalistAuthentication
|
|
42
42
|
end
|
43
43
|
|
44
44
|
module ClassMethods
|
45
|
-
def authenticate(params)
|
46
|
-
ActiveSupport::Deprecation.warn(<<-MSG.squish)
|
47
|
-
Calling #{MinimalistAuthentication.configuration.user_model_name}::authenticate is deprecated.
|
48
|
-
Use MinimalistAuthentication::Authenticator.authenticated_user instead.
|
49
|
-
MSG
|
50
|
-
MinimalistAuthentication::Authenticator.authenticated_user(params)
|
51
|
-
end
|
52
|
-
|
53
45
|
# Returns a frozen user with the email set to GUEST_USER_EMAIL.
|
54
46
|
def guest
|
55
47
|
new(email: GUEST_USER_EMAIL).freeze
|
@@ -80,11 +72,6 @@ module MinimalistAuthentication
|
|
80
72
|
email == GUEST_USER_EMAIL
|
81
73
|
end
|
82
74
|
|
83
|
-
def is_guest? # rubocop:disable Naming/PredicateName
|
84
|
-
ActiveSupport::Deprecation.warn("Calling #is_guest? is deprecated. Use #guest? instead")
|
85
|
-
guest?
|
86
|
-
end
|
87
|
-
|
88
75
|
# Minimum password length
|
89
76
|
def password_minimum = 12
|
90
77
|
|
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: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Baldwin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bcrypt
|