зеркало из https://github.com/github/ruby.git
[ruby/net-http] Fix the typo in a constant name
https://github.com/ruby/net-http/commit/dada6007bf
This commit is contained in:
Родитель
5f2c4e344d
Коммит
b49dbe025f
|
@ -22,5 +22,9 @@ Net::HTTPRetriableCode = Net::HTTPRedirection
|
|||
Net::HTTPClientErrorCode = Net::HTTPClientError
|
||||
Net::HTTPFatalErrorCode = Net::HTTPClientError
|
||||
Net::HTTPServerErrorCode = Net::HTTPServerError
|
||||
Net::HTTPResponceReceiver = Net::HTTPResponse
|
||||
Net::HTTPResponseReceiver = Net::HTTPResponse
|
||||
|
||||
module Net
|
||||
HTTPResponceReceiver = HTTPResponse # Typo since 2001
|
||||
deprecate_constant :HTTPResponceReceiver
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче