File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -738,12 +738,6 @@ class HTTP < Protocol
738738 rescue LoadError
739739 HAVE_ZLIB = false
740740 end
741-
742- # for backward compatibility until Ruby 3.5
743- # https://bugs.ruby-lang.org/issues/20900
744- # https://github.com/bblimke/webmock/pull/1081
745- HTTPSession = HTTP
746- deprecate_constant :HTTPSession
747741 # :startdoc:
748742
749743 # Returns +true+; retained for compatibility.
@@ -2565,6 +2559,11 @@ def debug(msg)
25652559 alias_method :D , :debug
25662560 end
25672561
2562+ # for backward compatibility until Ruby 3.5
2563+ # https://bugs.ruby-lang.org/issues/20900
2564+ # https://github.com/bblimke/webmock/pull/1081
2565+ HTTPSession = HTTP
2566+ deprecate_constant :HTTPSession
25682567end
25692568
25702569require_relative 'http/exceptions'
You can’t perform that action at this time.
0 commit comments