opscode/ohai — pull request #250 by mcquin (2013-12-20 22:43:00+00:00)
Title: OC-10250

Add specs for plugins with invalid content, and beef up the loader to handle some of these issues (especially those pertaining to bad plugin names). Add an InvalidPluginName exception, and check plugin name type and syntax in NamedPlugin before continuing the evaluate the plugin contents.

@sersut @danielsdeleo