diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-06-25 16:55:35 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-24 21:43:19 +0200 |
commit | cd1abf8b3f9e6a6b9f935d76049c8db549ad3eed (patch) | |
tree | 54809c2a1c613d516c2d124d1c753a64f4e52b8d /Rakefile | |
parent | 0575baa6bb50264964c6c1896218e83ef7ed5025 (diff) | |
download | bundler-cd1abf8b3f9e6a6b9f935d76049c8db549ad3eed.tar.gz |
Bump automatiek to 0.2.0
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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" |