carlhuda/bundler — pull request #2130 by tenderlove (2012-10-24 21:17:08+00:00)
Title: only parse specs as YAML if they look like YAML files

Ruby gemspecs generally aren't YAML files. We can save time by doing a quick check for YAML specs and skipping the YAML parse if it obviously ins't a YAML file.