(PUP-2901/PE-4524) Add module dependency validation

Prior to this commit there wasn't much verification for module dependencies.
This commit adds verification the module dependencies have sane names and version
ranges. If verification fails, it will raise an argument exception.
They were.  This method should be disposable at this point.


On Wed, Jul 30, 2014 at 3:45 PM, Anderson Mills <notifications@github.com>
wrote:

> In lib/puppet/module_tool/metadata.rb:
>
> > @@ -64,6 +86,10 @@ def description
> >        @data['description']
> >      end
> >
> > +    def dependencies
> > +      @data['dependencies'].to_a
> > +    end
> > +
>
> Weren't they added for this pull request? Or am I missing something?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/puppetlabs/puppet/pull/2838/files#r15617607>.
>