Method: Bundler::Fetcher::Dependency#unmarshalled_dep_gems
- Defined in:
- lib/bundler/fetcher/dependency.rb
#unmarshalled_dep_gems(gem_names) ⇒ Object
50 51 52 53 54 55 56 57 |
# File 'lib/bundler/fetcher/dependency.rb', line 50 def unmarshalled_dep_gems(gem_names) gem_list = [] gem_names.each_slice(Source::Rubygems::API_REQUEST_SIZE) do |names| marshalled_deps = downloader.fetch(dependency_api_uri(names)).body gem_list.concat(Bundler.safe_load_marshal(marshalled_deps)) end gem_list end |