File tree Expand file tree Collapse file tree 5 files changed +0
-7
lines changed Expand file tree Collapse file tree 5 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ module Claims
34
34
class << self
35
35
# @deprecated Use {verify_payload!} instead. Will be removed in the next major version of ruby-jwt.
36
36
def verify! ( payload , options )
37
- Deprecations . warning ( 'The ::JWT::Claims.verify! method is deprecated will be removed in the next major version of ruby-jwt' )
38
37
DecodeVerifier . verify! ( payload , options )
39
38
end
40
39
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ def verify!
22
22
def self . new ( *args )
23
23
return super if args . empty?
24
24
25
- Deprecations . warning ( 'Calling ::JWT::Claims::Numeric.new with the payload will be removed in the next major version of ruby-jwt' )
26
25
Compat . new ( *args )
27
26
end
28
27
@@ -31,7 +30,6 @@ def verify!(context:)
31
30
end
32
31
33
32
def self . verify! ( payload :, **_args )
34
- Deprecations . warning ( 'Calling ::JWT::Claims::Numeric.verify! with the payload will be removed in the next major version of ruby-jwt' )
35
33
JWT ::Claims . verify_payload! ( payload , :numeric )
36
34
end
37
35
Original file line number Diff line number Diff line change 5
5
module JWT
6
6
class ClaimsValidator
7
7
def initialize ( payload )
8
- Deprecations . warning ( 'The ::JWT::ClaimsValidator class is deprecated and will be removed in the next major version of ruby-jwt' )
9
8
@payload = payload
10
9
end
11
10
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ def resolve(algorithm)
43
43
end
44
44
45
45
def create ( algorithm )
46
- Deprecations . warning ( 'The ::JWT::JWA.create method is deprecated and will be removed in the next major version of ruby-jwt.' )
47
46
resolve ( algorithm )
48
47
end
49
48
end
Original file line number Diff line number Diff line change @@ -15,13 +15,11 @@ class << self
15
15
end
16
16
17
17
def verify_claims ( payload , options )
18
- Deprecations . warning ( 'The ::JWT::Verify.verify_claims method is deprecated and will be removed in the next major version of ruby-jwt' )
19
18
::JWT ::Claims . verify! ( payload , options )
20
19
end
21
20
end
22
21
23
22
def initialize ( payload , options )
24
- Deprecations . warning ( 'The ::JWT::Verify class is deprecated and will be removed in the next major version of ruby-jwt' )
25
23
@payload = payload
26
24
@options = DEFAULTS . merge ( options )
27
25
end
You can’t perform that action at this time.
0 commit comments