"Inferred cookbook names" doesn't mention where the cookbook names are inferred from. Perhaps something like:

     Chef::Log.warn "Inferring cookbook name from directory name (#{@cookbook_pathname}) is deprecated, please set a name in the metadata."