diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-07-06 22:07:03 -0300 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-10 12:07:57 -0300 |
commit | a0fbb6a608fc6f3bf1b973412657f18a4af04dd1 (patch) | |
tree | 04600983383d5f1da0eeb6b157bc3034106aa5be /lib/bundler/fetcher.rb | |
parent | 433d0704623a2bc96a4217f1569a73d5e742413a (diff) | |
download | bundler-a0fbb6a608fc6f3bf1b973412657f18a4af04dd1.tar.gz |
[Fetcher] Pass metadata when constructing EndpointSpecifications
Diffstat (limited to 'lib/bundler/fetcher.rb')
-rw-r--r-- | lib/bundler/fetcher.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb index ce9d30c141..8d5a1666ea 100644 --- a/lib/bundler/fetcher.rb +++ b/lib/bundler/fetcher.rb @@ -131,10 +131,10 @@ module Bundler @use_api = false if fetchers.none?(&:api_fetcher?) end - specs.each do |name, version, platform, dependencies| + specs.each do |name, version, platform, dependencies, metadata| next if name == "bundler" spec = if dependencies - EndpointSpecification.new(name, version, platform, dependencies) + EndpointSpecification.new(name, version, platform, dependencies, metadata) else RemoteSpecification.new(name, version, platform, self) end |