summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef_zero/endpoints/cookbooks_base.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/cookbooks_base.rb b/lib/chef_zero/endpoints/cookbooks_base.rb
index f6b8cff..55b79ca 100644
--- a/lib/chef_zero/endpoints/cookbooks_base.rb
+++ b/lib/chef_zero/endpoints/cookbooks_base.rb
@@ -24,13 +24,11 @@ module ChefZero
end
def format_universe_list(request, cookbooks_list)
- require 'pp'
results = {}
cookbooks_list.each do |name, versions|
results[name] ||= {}
versions.each do |version|
cookbook_data = FFI_Yajl::Parser.parse(get_data(request, request.rest_path[0..1] + [ "cookbooks", name, version ], :nil))
- pp cookbook_data
results[name][version] ||= {
"dependencies" => cookbook_data["metadata"]["dependencies"],
"location_path" => build_uri(request.base_uri, request.rest_path[0..1] + ["cookbooks", name, version]),