lib/berkshelf/resolver/graph.rb in berkshelf-3.0.0.beta5 vs lib/berkshelf/resolver/graph.rb in berkshelf-3.0.0.beta6

- old
+ new

@@ -5,9 +5,13 @@ def populate_store(store = nil) store ||= Berkshelf::CookbookStore.instance store.cookbooks.each do |cookbook| artifacts(cookbook.cookbook_name, cookbook.version) + + cookbook.dependencies.each do |dependency, constraint| + artifacts(cookbook.cookbook_name, cookbook.version).depends(dependency, constraint) + end end end # Add dependencies of a locally cached cookbook to the graph #