{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/poetic/short-stack/pulls/15","id":28856584,"html_url":"https://github.com/poetic/short-stack/pull/15","diff_url":"https://github.com/poetic/short-stack/pull/15.diff","patch_url":"https://github.com/poetic/short-stack/pull/15.patch","issue_url":"https://api.github.com/repos/poetic/short-stack/issues/15","number":15,"state":"open","locked":false,"title":"Remove cask apps when the app is already installed on /Applications","user":{"login":"DanyHunter","id":1606808,"avatar_url":"https://avatars.githubusercontent.com/u/1606808?v=3","gravatar_id":"","url":"https://api.github.com/users/DanyHunter","html_url":"https://github.com/DanyHunter","followers_url":"https://api.github.com/users/DanyHunter/followers","following_url":"https://api.github.com/users/DanyHunter/following{/other_user}","gists_url":"https://api.github.com/users/DanyHunter/gists{/gist_id}","starred_url":"https://api.github.com/users/DanyHunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanyHunter/subscriptions","organizations_url":"https://api.github.com/users/DanyHunter/orgs","repos_url":"https://api.github.com/users/DanyHunter/repos","events_url":"https://api.github.com/users/DanyHunter/events{/privacy}","received_events_url":"https://api.github.com/users/DanyHunter/received_events","type":"User","site_admin":false},"body":"I also added a cleanup task. We can place other cleanup tasks here. \r\n\r\nAlso, I added a fact script to run (in ruby) to handle this, since we can't use multiple tasks in one yaml expression. Also, I'll see if I can call the fact for brewing casks to remove them instead of doing them for the script, but for now everything works very well. This closes issue [#5](https://github.com/poetic/short-stack/issues/5)","created_at":"2015-02-07T01:57:04Z","updated_at":"2015-02-07T01:57:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a5db07883431740702cbab7c8cb9ddba0c3e474","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/poetic/short-stack/pulls/15/commits","review_comments_url":"https://api.github.com/repos/poetic/short-stack/pulls/15/comments","review_comment_url":"https://api.github.com/repos/poetic/short-stack/pulls/comments/{number}","comments_url":"https://api.github.com/repos/poetic/short-stack/issues/15/comments","statuses_url":"https://api.github.com/repos/poetic/short-stack/statuses/575920364b212986b6cd957feeac2e0e65b19364","head":{"label":"poetic:daniel","ref":"daniel","sha":"575920364b212986b6cd957feeac2e0e65b19364","user":{"login":"poetic","id":102288,"avatar_url":"https://avatars.githubusercontent.com/u/102288?v=3","gravatar_id":"","url":"https://api.github.com/users/poetic","html_url":"https://github.com/poetic","followers_url":"https://api.github.com/users/poetic/followers","following_url":"https://api.github.com/users/poetic/following{/other_user}","gists_url":"https://api.github.com/users/poetic/gists{/gist_id}","starred_url":"https://api.github.com/users/poetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetic/subscriptions","organizations_url":"https://api.github.com/users/poetic/orgs","repos_url":"https://api.github.com/users/poetic/repos","events_url":"https://api.github.com/users/poetic/events{/privacy}","received_events_url":"https://api.github.com/users/poetic/received_events","type":"Organization","site_admin":false},"repo":{"id":28975779,"name":"short-stack","full_name":"poetic/short-stack","owner":{"login":"poetic","id":102288,"avatar_url":"https://avatars.githubusercontent.com/u/102288?v=3","gravatar_id":"","url":"https://api.github.com/users/poetic","html_url":"https://github.com/poetic","followers_url":"https://api.github.com/users/poetic/followers","following_url":"https://api.github.com/users/poetic/following{/other_user}","gists_url":"https://api.github.com/users/poetic/gists{/gist_id}","starred_url":"https://api.github.com/users/poetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetic/subscriptions","organizations_url":"https://api.github.com/users/poetic/orgs","repos_url":"https://api.github.com/users/poetic/repos","events_url":"https://api.github.com/users/poetic/events{/privacy}","received_events_url":"https://api.github.com/users/poetic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poetic/short-stack","description":"Our delicious development stack, fully automated.","fork":false,"url":"https://api.github.com/repos/poetic/short-stack","forks_url":"https://api.github.com/repos/poetic/short-stack/forks","keys_url":"https://api.github.com/repos/poetic/short-stack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poetic/short-stack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poetic/short-stack/teams","hooks_url":"https://api.github.com/repos/poetic/short-stack/hooks","issue_events_url":"https://api.github.com/repos/poetic/short-stack/issues/events{/number}","events_url":"https://api.github.com/repos/poetic/short-stack/events","assignees_url":"https://api.github.com/repos/poetic/short-stack/assignees{/user}","branches_url":"https://api.github.com/repos/poetic/short-stack/branches{/branch}","tags_url":"https://api.github.com/repos/poetic/short-stack/tags","blobs_url":"https://api.github.com/repos/poetic/short-stack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poetic/short-stack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poetic/short-stack/git/refs{/sha}","trees_url":"https://api.github.com/repos/poetic/short-stack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poetic/short-stack/statuses/{sha}","languages_url":"https://api.github.com/repos/poetic/short-stack/languages","stargazers_url":"https://api.github.com/repos/poetic/short-stack/stargazers","contributors_url":"https://api.github.com/repos/poetic/short-stack/contributors","subscribers_url":"https://api.github.com/repos/poetic/short-stack/subscribers","subscription_url":"https://api.github.com/repos/poetic/short-stack/subscription","commits_url":"https://api.github.com/repos/poetic/short-stack/commits{/sha}","git_commits_url":"https://api.github.com/repos/poetic/short-stack/git/commits{/sha}","comments_url":"https://api.github.com/repos/poetic/short-stack/comments{/number}","issue_comment_url":"https://api.github.com/repos/poetic/short-stack/issues/comments/{number}","contents_url":"https://api.github.com/repos/poetic/short-stack/contents/{+path}","compare_url":"https://api.github.com/repos/poetic/short-stack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poetic/short-stack/merges","archive_url":"https://api.github.com/repos/poetic/short-stack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poetic/short-stack/downloads","issues_url":"https://api.github.com/repos/poetic/short-stack/issues{/number}","pulls_url":"https://api.github.com/repos/poetic/short-stack/pulls{/number}","milestones_url":"https://api.github.com/repos/poetic/short-stack/milestones{/number}","notifications_url":"https://api.github.com/repos/poetic/short-stack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poetic/short-stack/labels{/name}","releases_url":"https://api.github.com/repos/poetic/short-stack/releases{/id}","created_at":"2015-01-08T16:52:18Z","updated_at":"2015-02-06T07:29:13Z","pushed_at":"2015-02-07T01:53:51Z","git_url":"git://github.com/poetic/short-stack.git","ssh_url":"git@github.com:poetic/short-stack.git","clone_url":"https://github.com/poetic/short-stack.git","svn_url":"https://github.com/poetic/short-stack","homepage":null,"size":171,"stargazers_count":9,"watchers_count":9,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":9,"default_branch":"master"}},"base":{"label":"poetic:master","ref":"master","sha":"19fbe634c26db31293671925a0655f57339cafa2","user":{"login":"poetic","id":102288,"avatar_url":"https://avatars.githubusercontent.com/u/102288?v=3","gravatar_id":"","url":"https://api.github.com/users/poetic","html_url":"https://github.com/poetic","followers_url":"https://api.github.com/users/poetic/followers","following_url":"https://api.github.com/users/poetic/following{/other_user}","gists_url":"https://api.github.com/users/poetic/gists{/gist_id}","starred_url":"https://api.github.com/users/poetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetic/subscriptions","organizations_url":"https://api.github.com/users/poetic/orgs","repos_url":"https://api.github.com/users/poetic/repos","events_url":"https://api.github.com/users/poetic/events{/privacy}","received_events_url":"https://api.github.com/users/poetic/received_events","type":"Organization","site_admin":false},"repo":{"id":28975779,"name":"short-stack","full_name":"poetic/short-stack","owner":{"login":"poetic","id":102288,"avatar_url":"https://avatars.githubusercontent.com/u/102288?v=3","gravatar_id":"","url":"https://api.github.com/users/poetic","html_url":"https://github.com/poetic","followers_url":"https://api.github.com/users/poetic/followers","following_url":"https://api.github.com/users/poetic/following{/other_user}","gists_url":"https://api.github.com/users/poetic/gists{/gist_id}","starred_url":"https://api.github.com/users/poetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetic/subscriptions","organizations_url":"https://api.github.com/users/poetic/orgs","repos_url":"https://api.github.com/users/poetic/repos","events_url":"https://api.github.com/users/poetic/events{/privacy}","received_events_url":"https://api.github.com/users/poetic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poetic/short-stack","description":"Our delicious development stack, fully automated.","fork":false,"url":"https://api.github.com/repos/poetic/short-stack","forks_url":"https://api.github.com/repos/poetic/short-stack/forks","keys_url":"https://api.github.com/repos/poetic/short-stack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poetic/short-stack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poetic/short-stack/teams","hooks_url":"https://api.github.com/repos/poetic/short-stack/hooks","issue_events_url":"https://api.github.com/repos/poetic/short-stack/issues/events{/number}","events_url":"https://api.github.com/repos/poetic/short-stack/events","assignees_url":"https://api.github.com/repos/poetic/short-stack/assignees{/user}","branches_url":"https://api.github.com/repos/poetic/short-stack/branches{/branch}","tags_url":"https://api.github.com/repos/poetic/short-stack/tags","blobs_url":"https://api.github.com/repos/poetic/short-stack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poetic/short-stack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poetic/short-stack/git/refs{/sha}","trees_url":"https://api.github.com/repos/poetic/short-stack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poetic/short-stack/statuses/{sha}","languages_url":"https://api.github.com/repos/poetic/short-stack/languages","stargazers_url":"https://api.github.com/repos/poetic/short-stack/stargazers","contributors_url":"https://api.github.com/repos/poetic/short-stack/contributors","subscribers_url":"https://api.github.com/repos/poetic/short-stack/subscribers","subscription_url":"https://api.github.com/repos/poetic/short-stack/subscription","commits_url":"https://api.github.com/repos/poetic/short-stack/commits{/sha}","git_commits_url":"https://api.github.com/repos/poetic/short-stack/git/commits{/sha}","comments_url":"https://api.github.com/repos/poetic/short-stack/comments{/number}","issue_comment_url":"https://api.github.com/repos/poetic/short-stack/issues/comments/{number}","contents_url":"https://api.github.com/repos/poetic/short-stack/contents/{+path}","compare_url":"https://api.github.com/repos/poetic/short-stack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poetic/short-stack/merges","archive_url":"https://api.github.com/repos/poetic/short-stack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poetic/short-stack/downloads","issues_url":"https://api.github.com/repos/poetic/short-stack/issues{/number}","pulls_url":"https://api.github.com/repos/poetic/short-stack/pulls{/number}","milestones_url":"https://api.github.com/repos/poetic/short-stack/milestones{/number}","notifications_url":"https://api.github.com/repos/poetic/short-stack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poetic/short-stack/labels{/name}","releases_url":"https://api.github.com/repos/poetic/short-stack/releases{/id}","created_at":"2015-01-08T16:52:18Z","updated_at":"2015-02-06T07:29:13Z","pushed_at":"2015-02-07T01:53:51Z","git_url":"git://github.com/poetic/short-stack.git","ssh_url":"git@github.com:poetic/short-stack.git","clone_url":"https://github.com/poetic/short-stack.git","svn_url":"https://github.com/poetic/short-stack","homepage":null,"size":171,"stargazers_count":9,"watchers_count":9,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poetic/short-stack/pulls/15"},"html":{"href":"https://github.com/poetic/short-stack/pull/15"},"issue":{"href":"https://api.github.com/repos/poetic/short-stack/issues/15"},"comments":{"href":"https://api.github.com/repos/poetic/short-stack/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/poetic/short-stack/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/poetic/short-stack/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/poetic/short-stack/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/poetic/short-stack/statuses/575920364b212986b6cd957feeac2e0e65b19364"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":55,"deletions":18,"changed_files":6}}