class Bundler::Fetcher::Dependency

def get_formatted_specs_and_deps(gem_list)

def get_formatted_specs_and_deps(gem_list)
  deps_list = []
  spec_list = []
  gem_list.each do |s|
    deps_list.concat(s[:dependencies].map(&:first))
    deps = s[:dependencies].map {|n, d| [n, d.split(", ")] }
    spec_list.push([s[:name], s[:number], s[:platform], deps])
  end
  [spec_list, deps_list]
end