mattray/spiceweasel — pull request #22 by fnichol (2012-07-27 18:22:41+00:00)
Title: Allow `depends "foo"` & `depends 'foo'` quoting styles in metadata.rb.

I found this when running `spiceweasel --extractlocal` on a repo containing a modern **nginx** cookbook. It's [metadata.rb](https://github.com/opscode-cookbooks/nginx/blob/master/metadata.rb) had the following:

```ruby
depends 'ohai', '~> 1.0.2'
```

While this patch fixes this particular issue, we should also be able to support depends using other Ruby quoting styles and constructs:

```ruby
depends %{foo}

%w{foo bar}.each do |cookbook|
depends cookbook
end

# etc
```

Normally this would mean loading in metadata.rb to eval it and grab the parsed metadata, however the Chef gem is not a direct dependency of Spiceweasel (at the moment). Anyway, food for thought :)

Thanks again Matt!