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
3434 class << self
3535 # @deprecated Use {verify_payload!} instead. Will be removed in the next major version of ruby-jwt.
3636 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' )
3837 DecodeVerifier . verify! ( payload , options )
3938 end
4039
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ def verify!
2222 def self . new ( *args )
2323 return super if args . empty?
2424
25- Deprecations . warning ( 'Calling ::JWT::Claims::Numeric.new with the payload will be removed in the next major version of ruby-jwt' )
2625 Compat . new ( *args )
2726 end
2827
@@ -31,7 +30,6 @@ def verify!(context:)
3130 end
3231
3332 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' )
3533 JWT ::Claims . verify_payload! ( payload , :numeric )
3634 end
3735
Original file line number Diff line number Diff line change 55module JWT
66 class ClaimsValidator
77 def initialize ( payload )
8- Deprecations . warning ( 'The ::JWT::ClaimsValidator class is deprecated and will be removed in the next major version of ruby-jwt' )
98 @payload = payload
109 end
1110
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ def resolve(algorithm)
4343 end
4444
4545 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.' )
4746 resolve ( algorithm )
4847 end
4948 end
Original file line number Diff line number Diff line change @@ -15,13 +15,11 @@ class << self
1515 end
1616
1717 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' )
1918 ::JWT ::Claims . verify! ( payload , options )
2019 end
2120 end
2221
2322 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' )
2523 @payload = payload
2624 @options = DEFAULTS . merge ( options )
2725 end
You can’t perform that action at this time.
0 commit comments