minimalist_authentication 2.6.2 → 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: 05b2b926522ced063d72007717f98e12af465740245ba02a61bdcc75e53a5cab
4
- data.tar.gz: c42e2529f6211ea1c2d81958d96a4b3711173e7b7da4ac32482cb0f2b8ca3fcb
3
+ metadata.gz: c4bb59b8f43fd47739bb2d9751c0c3922100c563a244c24b33760d421c87e25c
4
+ data.tar.gz: 0cdfcf49e0fb66c595cc1be8f24f8dbab0b8c072158f5571caad2dc47f7d9799
5
5
  SHA512:
6
- metadata.gz: 53254b7754bcbe07608c3b779c42737eaa6243e25a86aa7df21a7cd576e9cfbb1d20c3b63470ed59e69f0a7ee659e4c0075f60b493dfd1e3c28d6e0ede1fa167
7
- data.tar.gz: bfcd187bc8c0f4602e0040c45bdead5bd3138dc1134a173bf449bd84d37b05c7c954595831d39835c7694b35c04d87d86a746701332d52a27c8d6e6754529e4b
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MinimalistAuthentication
4
- VERSION = "2.6.2"
4
+ VERSION = "2.7.0"
5
5
  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: 2.6.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-09-22 00:00:00.000000000 Z
12
+ date: 2024-11-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bcrypt