{"action":"created","comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/comments/71093942","id":71093942,"diff_hunk":"@@ -2,9 +2,7 @@ module Hbc::CleanupHooks\n   def after_teardown\n     super\n     Hbc.installed.each do |cask|\n-      Hbc::Installer.new(cask).tap do |installer|\n-        installer.purge_versioned_files\n-      end\n+      Hbc::Installer.new(cask).tap(&:purge_versioned_files)","path":"test/support/cleanup.rb","position":7,"original_position":7,"commit_id":"d165d78c70f1638eb68dcf4d5379f4f0212f27bd","original_commit_id":"d165d78c70f1638eb68dcf4d5379f4f0212f27bd","user":{"login":"jawshooah","id":4551271,"avatar_url":"https://avatars.githubusercontent.com/u/4551271?v=3","gravatar_id":"","url":"https://api.github.com/users/jawshooah","html_url":"https://github.com/jawshooah","followers_url":"https://api.github.com/users/jawshooah/followers","following_url":"https://api.github.com/users/jawshooah/following{/other_user}","gists_url":"https://api.github.com/users/jawshooah/gists{/gist_id}","starred_url":"https://api.github.com/users/jawshooah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawshooah/subscriptions","organizations_url":"https://api.github.com/users/jawshooah/orgs","repos_url":"https://api.github.com/users/jawshooah/repos","events_url":"https://api.github.com/users/jawshooah/events{/privacy}","received_events_url":"https://api.github.com/users/jawshooah/received_events","type":"User","site_admin":false},"body":"Pretty sure this could be simplified to `Hbc::Installer.new(cask).purge_versioned_files`","created_at":"2016-07-18T01:18:20Z","updated_at":"2016-07-18T01:18:20Z","html_url":"https://github.com/caskroom/homebrew-cask/pull/22855#discussion_r71093942","pull_request_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22855","_links":{"self":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/comments/71093942"},"html":{"href":"https://github.com/caskroom/homebrew-cask/pull/22855#discussion_r71093942"},"pull_request":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22855"}}},"pull_request":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22855","id":77751157,"html_url":"https://github.com/caskroom/homebrew-cask/pull/22855","diff_url":"https://github.com/caskroom/homebrew-cask/pull/22855.diff","patch_url":"https://github.com/caskroom/homebrew-cask/pull/22855.patch","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22855","number":22855,"state":"open","locked":false,"title":"Run RuboCop on all core files.","user":{"login":"reitermarkus","id":1309829,"avatar_url":"https://avatars.githubusercontent.com/u/1309829?v=3","gravatar_id":"","url":"https://api.github.com/users/reitermarkus","html_url":"https://github.com/reitermarkus","followers_url":"https://api.github.com/users/reitermarkus/followers","following_url":"https://api.github.com/users/reitermarkus/following{/other_user}","gists_url":"https://api.github.com/users/reitermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/reitermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reitermarkus/subscriptions","organizations_url":"https://api.github.com/users/reitermarkus/orgs","repos_url":"https://api.github.com/users/reitermarkus/repos","events_url":"https://api.github.com/users/reitermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/reitermarkus/received_events","type":"User","site_admin":false},"body":"### Changes to the core\r\n\r\n- [x] Followed [hacking.md](https://github.com/caskroom/homebrew-cask/blob/master/doc/development/hacking.md).\r\n\r\n","created_at":"2016-07-18T00:43:24Z","updated_at":"2016-07-18T01:18:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62ac25f82d6e1d945daebe8232a5cf7a54700c95","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22855/commits","review_comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22855/comments","review_comment_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22855/comments","statuses_url":"https://api.github.com/repos/caskroom/homebrew-cask/statuses/d165d78c70f1638eb68dcf4d5379f4f0212f27bd","head":{"label":"reitermarkus:rubocop","ref":"rubocop","sha":"d165d78c70f1638eb68dcf4d5379f4f0212f27bd","user":{"login":"reitermarkus","id":1309829,"avatar_url":"https://avatars.githubusercontent.com/u/1309829?v=3","gravatar_id":"","url":"https://api.github.com/users/reitermarkus","html_url":"https://github.com/reitermarkus","followers_url":"https://api.github.com/users/reitermarkus/followers","following_url":"https://api.github.com/users/reitermarkus/following{/other_user}","gists_url":"https://api.github.com/users/reitermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/reitermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reitermarkus/subscriptions","organizations_url":"https://api.github.com/users/reitermarkus/orgs","repos_url":"https://api.github.com/users/reitermarkus/repos","events_url":"https://api.github.com/users/reitermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/reitermarkus/received_events","type":"User","site_admin":false},"repo":{"id":44034244,"name":"homebrew-cask","full_name":"reitermarkus/homebrew-cask","owner":{"login":"reitermarkus","id":1309829,"avatar_url":"https://avatars.githubusercontent.com/u/1309829?v=3","gravatar_id":"","url":"https://api.github.com/users/reitermarkus","html_url":"https://github.com/reitermarkus","followers_url":"https://api.github.com/users/reitermarkus/followers","following_url":"https://api.github.com/users/reitermarkus/following{/other_user}","gists_url":"https://api.github.com/users/reitermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/reitermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reitermarkus/subscriptions","organizations_url":"https://api.github.com/users/reitermarkus/orgs","repos_url":"https://api.github.com/users/reitermarkus/repos","events_url":"https://api.github.com/users/reitermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/reitermarkus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reitermarkus/homebrew-cask","description":":beer: A CLI workflow for the administration of Mac applications distributed as binaries","fork":true,"url":"https://api.github.com/repos/reitermarkus/homebrew-cask","forks_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/forks","keys_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/teams","hooks_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/hooks","issue_events_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/issues/events{/number}","events_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/events","assignees_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/assignees{/user}","branches_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/branches{/branch}","tags_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/tags","blobs_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/git/refs{/sha}","trees_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/statuses/{sha}","languages_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/languages","stargazers_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/stargazers","contributors_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/contributors","subscribers_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/subscribers","subscription_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/subscription","commits_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/commits{/sha}","git_commits_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/git/commits{/sha}","comments_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/comments{/number}","issue_comment_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/issues/comments{/number}","contents_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/contents/{+path}","compare_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/merges","archive_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/downloads","issues_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/issues{/number}","pulls_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/pulls{/number}","milestones_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/milestones{/number}","notifications_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/labels{/name}","releases_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/releases{/id}","deployments_url":"https://api.github.com/repos/reitermarkus/homebrew-cask/deployments","created_at":"2015-10-11T01:01:40Z","updated_at":"2016-01-16T01:17:16Z","pushed_at":"2016-07-18T01:15:11Z","git_url":"git://github.com/reitermarkus/homebrew-cask.git","ssh_url":"git@github.com:reitermarkus/homebrew-cask.git","clone_url":"https://github.com/reitermarkus/homebrew-cask.git","svn_url":"https://github.com/reitermarkus/homebrew-cask","homepage":"http://caskroom.io","size":60967,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"caskroom:master","ref":"master","sha":"153a0161d2ed5f124544fbc32195f83636dcbe19","user":{"login":"caskroom","id":5647711,"avatar_url":"https://avatars.githubusercontent.com/u/5647711?v=3","gravatar_id":"","url":"https://api.github.com/users/caskroom","html_url":"https://github.com/caskroom","followers_url":"https://api.github.com/users/caskroom/followers","following_url":"https://api.github.com/users/caskroom/following{/other_user}","gists_url":"https://api.github.com/users/caskroom/gists{/gist_id}","starred_url":"https://api.github.com/users/caskroom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskroom/subscriptions","organizations_url":"https://api.github.com/users/caskroom/orgs","repos_url":"https://api.github.com/users/caskroom/repos","events_url":"https://api.github.com/users/caskroom/events{/privacy}","received_events_url":"https://api.github.com/users/caskroom/received_events","type":"Organization","site_admin":false},"repo":{"id":3623050,"name":"homebrew-cask","full_name":"caskroom/homebrew-cask","owner":{"login":"caskroom","id":5647711,"avatar_url":"https://avatars.githubusercontent.com/u/5647711?v=3","gravatar_id":"","url":"https://api.github.com/users/caskroom","html_url":"https://github.com/caskroom","followers_url":"https://api.github.com/users/caskroom/followers","following_url":"https://api.github.com/users/caskroom/following{/other_user}","gists_url":"https://api.github.com/users/caskroom/gists{/gist_id}","starred_url":"https://api.github.com/users/caskroom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskroom/subscriptions","organizations_url":"https://api.github.com/users/caskroom/orgs","repos_url":"https://api.github.com/users/caskroom/repos","events_url":"https://api.github.com/users/caskroom/events{/privacy}","received_events_url":"https://api.github.com/users/caskroom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskroom/homebrew-cask","description":"A CLI workflow for the administration of Mac applications distributed as binaries","fork":false,"url":"https://api.github.com/repos/caskroom/homebrew-cask","forks_url":"https://api.github.com/repos/caskroom/homebrew-cask/forks","keys_url":"https://api.github.com/repos/caskroom/homebrew-cask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskroom/homebrew-cask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskroom/homebrew-cask/teams","hooks_url":"https://api.github.com/repos/caskroom/homebrew-cask/hooks","issue_events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/events{/number}","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/events","assignees_url":"https://api.github.com/repos/caskroom/homebrew-cask/assignees{/user}","branches_url":"https://api.github.com/repos/caskroom/homebrew-cask/branches{/branch}","tags_url":"https://api.github.com/repos/caskroom/homebrew-cask/tags","blobs_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskroom/homebrew-cask/statuses/{sha}","languages_url":"https://api.github.com/repos/caskroom/homebrew-cask/languages","stargazers_url":"https://api.github.com/repos/caskroom/homebrew-cask/stargazers","contributors_url":"https://api.github.com/repos/caskroom/homebrew-cask/contributors","subscribers_url":"https://api.github.com/repos/caskroom/homebrew-cask/subscribers","subscription_url":"https://api.github.com/repos/caskroom/homebrew-cask/subscription","commits_url":"https://api.github.com/repos/caskroom/homebrew-cask/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskroom/homebrew-cask/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments{/number}","contents_url":"https://api.github.com/repos/caskroom/homebrew-cask/contents/{+path}","compare_url":"https://api.github.com/repos/caskroom/homebrew-cask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskroom/homebrew-cask/merges","archive_url":"https://api.github.com/repos/caskroom/homebrew-cask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskroom/homebrew-cask/downloads","issues_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues{/number}","pulls_url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls{/number}","milestones_url":"https://api.github.com/repos/caskroom/homebrew-cask/milestones{/number}","notifications_url":"https://api.github.com/repos/caskroom/homebrew-cask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/labels{/name}","releases_url":"https://api.github.com/repos/caskroom/homebrew-cask/releases{/id}","deployments_url":"https://api.github.com/repos/caskroom/homebrew-cask/deployments","created_at":"2012-03-05T02:05:17Z","updated_at":"2016-07-17T19:38:18Z","pushed_at":"2016-07-18T00:43:25Z","git_url":"git://github.com/caskroom/homebrew-cask.git","ssh_url":"git@github.com:caskroom/homebrew-cask.git","clone_url":"https://github.com/caskroom/homebrew-cask.git","svn_url":"https://github.com/caskroom/homebrew-cask","homepage":"http://caskroom.io","size":129006,"stargazers_count":9258,"watchers_count":9258,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3846,"mirror_url":null,"open_issues_count":64,"forks":3846,"open_issues":64,"watchers":9258,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22855"},"html":{"href":"https://github.com/caskroom/homebrew-cask/pull/22855"},"issue":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22855"},"comments":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22855/comments"},"review_comments":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22855/comments"},"review_comment":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22855/commits"},"statuses":{"href":"https://api.github.com/repos/caskroom/homebrew-cask/statuses/d165d78c70f1638eb68dcf4d5379f4f0212f27bd"}}}}
{"actor":{"display_login":"jawshooah"}}