class Bundler::Index

def size

def size
  @sources.inject(@specs.size) do |size, source|
    size += source.size
  end
end