# File lib/rubygems/source_index.rb, line 136 def latest_specs thin = {} each do |full_name, spec| name = spec.name if thin.has_key? name then thin[name] = spec if spec.version > thin[name].version else thin[name] = spec end end thin end