Skip to content

Commit 922db0a

Browse files
Bump vendored net-http to 0.6.0
1 parent 3d03978 commit 922db0a

File tree

5 files changed

+10
-48
lines changed

5 files changed

+10
-48
lines changed

Manifest.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,6 @@ lib/rubygems/vendor/molinillo/lib/molinillo/state.rb
571571
lib/rubygems/vendor/net-http/.document
572572
lib/rubygems/vendor/net-http/COPYING
573573
lib/rubygems/vendor/net-http/lib/net/http.rb
574-
lib/rubygems/vendor/net-http/lib/net/http/backward.rb
575574
lib/rubygems/vendor/net-http/lib/net/http/exceptions.rb
576575
lib/rubygems/vendor/net-http/lib/net/http/generic_request.rb
577576
lib/rubygems/vendor/net-http/lib/net/http/header.rb

lib/rubygems/vendor/net-http/lib/net/http.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ class HTTPHeaderSyntaxError < StandardError; end
730730
class HTTP < Protocol
731731

732732
# :stopdoc:
733-
VERSION = "0.5.0"
733+
VERSION = "0.6.0"
734734
HTTPVersion = '1.1'
735735
begin
736736
require 'zlib'
@@ -2559,6 +2559,11 @@ def debug(msg)
25592559
alias_method :D, :debug
25602560
end
25612561

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
25622567
end
25632568

25642569
require_relative 'http/exceptions'
@@ -2573,5 +2578,3 @@ def debug(msg)
25732578
require_relative 'http/responses'
25742579

25752580
require_relative 'http/proxy_delta'
2576-
2577-
require_relative 'http/backward'

lib/rubygems/vendor/net-http/lib/net/http/backward.rb

Lines changed: 0 additions & 40 deletions
This file was deleted.

tool/bundler/vendor_gems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
gem "fileutils", "1.7.3"
66
gem "molinillo", github: "cocoapods/molinillo"
7-
gem "net-http", "0.5.0"
7+
gem "net-http", "0.6.0"
88
gem "net-http-persistent", "4.0.4"
99
gem "net-protocol", "0.2.2"
1010
gem "optparse", "0.6.0"

tool/bundler/vendor_gems.rb.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ GEM
1515
specs:
1616
connection_pool (2.4.1)
1717
fileutils (1.7.3)
18-
net-http (0.5.0)
18+
net-http (0.6.0)
1919
uri
2020
net-http-persistent (4.0.4)
2121
connection_pool (~> 2.2)
@@ -40,7 +40,7 @@ PLATFORMS
4040
DEPENDENCIES
4141
fileutils (= 1.7.3)
4242
molinillo!
43-
net-http (= 0.5.0)
43+
net-http (= 0.6.0)
4444
net-http-persistent (= 4.0.4)
4545
net-protocol (= 0.2.2)
4646
optparse (= 0.6.0)
@@ -56,7 +56,7 @@ CHECKSUMS
5656
connection_pool (2.4.1) sha256=0f40cf997091f1f04ff66da67eabd61a9fe0d4928b9a3645228532512fab62f4
5757
fileutils (1.7.3) sha256=57271e854b694a87755d76f836f5c57b2c9538ebbaf4b2154bb66addf15eb5da
5858
molinillo (0.8.0)
59-
net-http (0.5.0) sha256=ed7f88205afe03bf53142a4b81ded91f2c01522dcf03089cb6ad4acb476ce1da
59+
net-http (0.6.0) sha256=9621b20c137898af9d890556848c93603716cab516dc2c89b01a38b894e259fb
6060
net-http-persistent (4.0.4) sha256=b62b7e528f72890f5cd67e7f687eeae55cf9f2cda22fd659494363da2fa7f4b2
6161
net-protocol (0.2.2) sha256=aa73e0cba6a125369de9837b8d8ef82a61849360eba0521900e2c3713aa162a8
6262
optparse (0.6.0) sha256=25e90469c1cd44048a89dc01c1dde9d5f0bdf717851055fb18237780779b068c

0 commit comments

Comments
 (0)