summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-11 12:48:34 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-24 21:43:07 +0200
commit0575baa6bb50264964c6c1896218e83ef7ed5025 (patch)
tree179418cb4559ddc971cf4f57bddf98b379e58239 /Rakefile
parenta8874423f347efa52d69b332cc855def812e9b5b (diff)
downloadbundler-0575baa6bb50264964c6c1896218e83ef7ed5025.tar.gz
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.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 11 insertions, 0 deletions
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