summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-25 16:55:35 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-24 21:43:19 +0200
commitcd1abf8b3f9e6a6b9f935d76049c8db549ad3eed (patch)
tree54809c2a1c613d516c2d124d1c753a64f4e52b8d /Rakefile
parent0575baa6bb50264964c6c1896218e83ef7ed5025 (diff)
downloadbundler-cd1abf8b3f9e6a6b9f935d76049c8db549ad3eed.tar.gz
Bump automatiek to 0.2.0
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 0 insertions, 10 deletions
diff --git a/Rakefile b/Rakefile
index 77b8c41fea..983766850e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -286,16 +286,6 @@ else
lib.namespace = "Net::HTTP::Persistent"
lib.prefix = "Bundler::Persistent"
lib.vendor_lib = "lib/bundler/vendor/net-http-persistent"
-
- mixin = Module.new do
- def namespace_files
- super
- require_target = vendor_lib.sub(%r{^(.+?/)?lib/}, "") << "/lib"
- relative_files = files.map {|f| Pathname.new(f).relative_path_from(Pathname.new(vendor_lib) / "lib").sub_ext("").to_s }
- process_files(/require (['"])(#{Regexp.union(relative_files)})/, "require \\1#{require_target}/\\2")
- end
- end
- lib.send(:extend, mixin)
end
desc "Vendor a specific version of connection_pool"