opscode/chef — pull request #612 by mal (2013-01-27 23:12:10+00:00)
Title: CHEF-3307: Use metadata name when loading cookbook

If a name attribute is loaded from a cookbooks metadata, use this for dependency checks and references as specified in documentation. Ensure real pathname is retained so that manifests can still be generated correctly.

In addition we must read the metadata implicitly when cookbooks are loaded to ensure we are using the correct name.

Fixes: [CHEF-3307](http://tickets.opscode.com/browse/CHEF-3307)