{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/between-meals/pulls/comments/23274494","id":23274494,"diff_hunk":"@@ -80,6 +93,20 @@ def cookbook_upload(cookbooks)\n       end\n     end\n \n+    def berks_cookbook_upload(cookbooks)\n+      # cookbooks: array\n+      # cookbook_paths: array\n+      if cookbooks.any?\n+        @cookbook_dirs.each do |path|\n+          cookbooks.each do |cb|\n+            @logger.warn(\"Running berkshelf on cookbook: #{cb}\")","path":"lib/between_meals/knife.rb","position":36,"original_position":37,"commit_id":"c161f25349b2cefe3d7edbbf22339b0aa2e3f7e8","original_commit_id":"b40009e388faec17bec6538c502de13da3ec9a9b","user":{"login":"wjimenez5271","id":322834,"avatar_url":"https://avatars.githubusercontent.com/u/322834?v=3","gravatar_id":"","url":"https://api.github.com/users/wjimenez5271","html_url":"https://github.com/wjimenez5271","followers_url":"https://api.github.com/users/wjimenez5271/followers","following_url":"https://api.github.com/users/wjimenez5271/following{/other_user}","gists_url":"https://api.github.com/users/wjimenez5271/gists{/gist_id}","starred_url":"https://api.github.com/users/wjimenez5271/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjimenez5271/subscriptions","organizations_url":"https://api.github.com/users/wjimenez5271/orgs","repos_url":"https://api.github.com/users/wjimenez5271/repos","events_url":"https://api.github.com/users/wjimenez5271/events{/privacy}","received_events_url":"https://api.github.com/users/wjimenez5271/received_events","type":"User","site_admin":false},"body":"Yea sounds good to me. ","created_at":"2015-01-21T02:28:34Z","updated_at":"2015-01-21T02:28:34Z","html_url":"https://github.com/facebook/between-meals/pull/11#discussion_r23274494","pull_request_url":"https://api.github.com/repos/facebook/between-meals/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/facebook/between-meals/pulls/comments/23274494"},"html":{"href":"https://github.com/facebook/between-meals/pull/11#discussion_r23274494"},"pull_request":{"href":"https://api.github.com/repos/facebook/between-meals/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/between-meals/pulls/11","id":27410102,"html_url":"https://github.com/facebook/between-meals/pull/11","diff_url":"https://github.com/facebook/between-meals/pull/11.diff","patch_url":"https://github.com/facebook/between-meals/pull/11.patch","issue_url":"https://api.github.com/repos/facebook/between-meals/issues/11","number":11,"state":"open","locked":false,"title":"berks upload","user":{"login":"wjimenez5271","id":322834,"avatar_url":"https://avatars.githubusercontent.com/u/322834?v=3","gravatar_id":"","url":"https://api.github.com/users/wjimenez5271","html_url":"https://github.com/wjimenez5271","followers_url":"https://api.github.com/users/wjimenez5271/followers","following_url":"https://api.github.com/users/wjimenez5271/following{/other_user}","gists_url":"https://api.github.com/users/wjimenez5271/gists{/gist_id}","starred_url":"https://api.github.com/users/wjimenez5271/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjimenez5271/subscriptions","organizations_url":"https://api.github.com/users/wjimenez5271/orgs","repos_url":"https://api.github.com/users/wjimenez5271/repos","events_url":"https://api.github.com/users/wjimenez5271/events{/privacy}","received_events_url":"https://api.github.com/users/wjimenez5271/received_events","type":"User","site_admin":false},"body":"support for using Berkshelf to resolve and upload dependencies.","created_at":"2015-01-15T07:17:25Z","updated_at":"2015-01-21T02:28:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da0bb2b494367fabaa0527783d0e3f1dbe164095","assignee":{"login":"jaymzh","id":938467,"avatar_url":"https://avatars.githubusercontent.com/u/938467?v=3","gravatar_id":"","url":"https://api.github.com/users/jaymzh","html_url":"https://github.com/jaymzh","followers_url":"https://api.github.com/users/jaymzh/followers","following_url":"https://api.github.com/users/jaymzh/following{/other_user}","gists_url":"https://api.github.com/users/jaymzh/gists{/gist_id}","starred_url":"https://api.github.com/users/jaymzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaymzh/subscriptions","organizations_url":"https://api.github.com/users/jaymzh/orgs","repos_url":"https://api.github.com/users/jaymzh/repos","events_url":"https://api.github.com/users/jaymzh/events{/privacy}","received_events_url":"https://api.github.com/users/jaymzh/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/facebook/between-meals/pulls/11/commits","review_comments_url":"https://api.github.com/repos/facebook/between-meals/pulls/11/comments","review_comment_url":"https://api.github.com/repos/facebook/between-meals/pulls/comments/{number}","comments_url":"https://api.github.com/repos/facebook/between-meals/issues/11/comments","statuses_url":"https://api.github.com/repos/facebook/between-meals/statuses/c161f25349b2cefe3d7edbbf22339b0aa2e3f7e8","head":{"label":"wjimenez5271:berks","ref":"berks","sha":"c161f25349b2cefe3d7edbbf22339b0aa2e3f7e8","user":{"login":"wjimenez5271","id":322834,"avatar_url":"https://avatars.githubusercontent.com/u/322834?v=3","gravatar_id":"","url":"https://api.github.com/users/wjimenez5271","html_url":"https://github.com/wjimenez5271","followers_url":"https://api.github.com/users/wjimenez5271/followers","following_url":"https://api.github.com/users/wjimenez5271/following{/other_user}","gists_url":"https://api.github.com/users/wjimenez5271/gists{/gist_id}","starred_url":"https://api.github.com/users/wjimenez5271/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjimenez5271/subscriptions","organizations_url":"https://api.github.com/users/wjimenez5271/orgs","repos_url":"https://api.github.com/users/wjimenez5271/repos","events_url":"https://api.github.com/users/wjimenez5271/events{/privacy}","received_events_url":"https://api.github.com/users/wjimenez5271/received_events","type":"User","site_admin":false},"repo":{"id":28890597,"name":"between-meals","full_name":"wjimenez5271/between-meals","owner":{"login":"wjimenez5271","id":322834,"avatar_url":"https://avatars.githubusercontent.com/u/322834?v=3","gravatar_id":"","url":"https://api.github.com/users/wjimenez5271","html_url":"https://github.com/wjimenez5271","followers_url":"https://api.github.com/users/wjimenez5271/followers","following_url":"https://api.github.com/users/wjimenez5271/following{/other_user}","gists_url":"https://api.github.com/users/wjimenez5271/gists{/gist_id}","starred_url":"https://api.github.com/users/wjimenez5271/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjimenez5271/subscriptions","organizations_url":"https://api.github.com/users/wjimenez5271/orgs","repos_url":"https://api.github.com/users/wjimenez5271/repos","events_url":"https://api.github.com/users/wjimenez5271/events{/privacy}","received_events_url":"https://api.github.com/users/wjimenez5271/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wjimenez5271/between-meals","description":"A library to provide calculations between Chef diffs.","fork":true,"url":"https://api.github.com/repos/wjimenez5271/between-meals","forks_url":"https://api.github.com/repos/wjimenez5271/between-meals/forks","keys_url":"https://api.github.com/repos/wjimenez5271/between-meals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wjimenez5271/between-meals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wjimenez5271/between-meals/teams","hooks_url":"https://api.github.com/repos/wjimenez5271/between-meals/hooks","issue_events_url":"https://api.github.com/repos/wjimenez5271/between-meals/issues/events{/number}","events_url":"https://api.github.com/repos/wjimenez5271/between-meals/events","assignees_url":"https://api.github.com/repos/wjimenez5271/between-meals/assignees{/user}","branches_url":"https://api.github.com/repos/wjimenez5271/between-meals/branches{/branch}","tags_url":"https://api.github.com/repos/wjimenez5271/between-meals/tags","blobs_url":"https://api.github.com/repos/wjimenez5271/between-meals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wjimenez5271/between-meals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wjimenez5271/between-meals/git/refs{/sha}","trees_url":"https://api.github.com/repos/wjimenez5271/between-meals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wjimenez5271/between-meals/statuses/{sha}","languages_url":"https://api.github.com/repos/wjimenez5271/between-meals/languages","stargazers_url":"https://api.github.com/repos/wjimenez5271/between-meals/stargazers","contributors_url":"https://api.github.com/repos/wjimenez5271/between-meals/contributors","subscribers_url":"https://api.github.com/repos/wjimenez5271/between-meals/subscribers","subscription_url":"https://api.github.com/repos/wjimenez5271/between-meals/subscription","commits_url":"https://api.github.com/repos/wjimenez5271/between-meals/commits{/sha}","git_commits_url":"https://api.github.com/repos/wjimenez5271/between-meals/git/commits{/sha}","comments_url":"https://api.github.com/repos/wjimenez5271/between-meals/comments{/number}","issue_comment_url":"https://api.github.com/repos/wjimenez5271/between-meals/issues/comments/{number}","contents_url":"https://api.github.com/repos/wjimenez5271/between-meals/contents/{+path}","compare_url":"https://api.github.com/repos/wjimenez5271/between-meals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wjimenez5271/between-meals/merges","archive_url":"https://api.github.com/repos/wjimenez5271/between-meals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wjimenez5271/between-meals/downloads","issues_url":"https://api.github.com/repos/wjimenez5271/between-meals/issues{/number}","pulls_url":"https://api.github.com/repos/wjimenez5271/between-meals/pulls{/number}","milestones_url":"https://api.github.com/repos/wjimenez5271/between-meals/milestones{/number}","notifications_url":"https://api.github.com/repos/wjimenez5271/between-meals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wjimenez5271/between-meals/labels{/name}","releases_url":"https://api.github.com/repos/wjimenez5271/between-meals/releases{/id}","created_at":"2015-01-07T00:34:15Z","updated_at":"2015-01-20T00:25:42Z","pushed_at":"2015-01-20T00:25:42Z","git_url":"git://github.com/wjimenez5271/between-meals.git","ssh_url":"git@github.com:wjimenez5271/between-meals.git","clone_url":"https://github.com/wjimenez5271/between-meals.git","svn_url":"https://github.com/wjimenez5271/between-meals","homepage":null,"size":192,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"berks"}},"base":{"label":"facebook:master","ref":"master","sha":"afdb9a12c87c7ac04ef411e09b0937bfcce3ece3","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":23674934,"name":"between-meals","full_name":"facebook/between-meals","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/between-meals","description":"A library to provide calculations between Chef diffs.","fork":false,"url":"https://api.github.com/repos/facebook/between-meals","forks_url":"https://api.github.com/repos/facebook/between-meals/forks","keys_url":"https://api.github.com/repos/facebook/between-meals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/between-meals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/between-meals/teams","hooks_url":"https://api.github.com/repos/facebook/between-meals/hooks","issue_events_url":"https://api.github.com/repos/facebook/between-meals/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/between-meals/events","assignees_url":"https://api.github.com/repos/facebook/between-meals/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/between-meals/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/between-meals/tags","blobs_url":"https://api.github.com/repos/facebook/between-meals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/between-meals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/between-meals/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/between-meals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/between-meals/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/between-meals/languages","stargazers_url":"https://api.github.com/repos/facebook/between-meals/stargazers","contributors_url":"https://api.github.com/repos/facebook/between-meals/contributors","subscribers_url":"https://api.github.com/repos/facebook/between-meals/subscribers","subscription_url":"https://api.github.com/repos/facebook/between-meals/subscription","commits_url":"https://api.github.com/repos/facebook/between-meals/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/between-meals/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/between-meals/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/between-meals/issues/comments/{number}","contents_url":"https://api.github.com/repos/facebook/between-meals/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/between-meals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/between-meals/merges","archive_url":"https://api.github.com/repos/facebook/between-meals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/between-meals/downloads","issues_url":"https://api.github.com/repos/facebook/between-meals/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/between-meals/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/between-meals/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/between-meals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/between-meals/labels{/name}","releases_url":"https://api.github.com/repos/facebook/between-meals/releases{/id}","created_at":"2014-09-04T18:48:13Z","updated_at":"2015-01-19T18:56:26Z","pushed_at":"2015-01-05T21:54:30Z","git_url":"git://github.com/facebook/between-meals.git","ssh_url":"git@github.com:facebook/between-meals.git","clone_url":"https://github.com/facebook/between-meals.git","svn_url":"https://github.com/facebook/between-meals","homepage":null,"size":233,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/between-meals/pulls/11"},"html":{"href":"https://github.com/facebook/between-meals/pull/11"},"issue":{"href":"https://api.github.com/repos/facebook/between-meals/issues/11"},"comments":{"href":"https://api.github.com/repos/facebook/between-meals/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/between-meals/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/between-meals/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/facebook/between-meals/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/between-meals/statuses/c161f25349b2cefe3d7edbbf22339b0aa2e3f7e8"}}}}