From 0575baa6bb50264964c6c1896218e83ef7ed5025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Tue, 11 Jun 2019 12:48:34 +0200 Subject: Bump net-http-persistent to 3.0.1 * Adds an extra artifice task to vendorize new `connection_pool` dependency. * Cherry-pick's needed Windows fix not yet merged into master branch of `net-http-persistent`. * Update bundler usages to be compatible with the new version, and fix unit specs. --- Rakefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 9c6543a264..77b8c41fea 100644 --- a/Rakefile +++ b/Rakefile @@ -251,6 +251,9 @@ rescue Gem::LoadError => e desc "Vendor a specific version of net-http-persistent" task(:"net-http-persistent") { abort msg } + + desc "Vendor a specific version of connection_pool" + task(:connection_pool) { abort msg } end else desc "Vendor a specific version of molinillo" @@ -294,6 +297,14 @@ else end lib.send(:extend, mixin) end + + desc "Vendor a specific version of connection_pool" + Automatiek::RakeTask.new("connection_pool") do |lib| + lib.download = { :github => "https://github.com/mperham/connection_pool" } + lib.namespace = "ConnectionPool" + lib.prefix = "Bundler" + lib.vendor_lib = "lib/bundler/vendor/connection_pool" + end end task :override_version do -- cgit v1.2.1