{"action":"closed","number":43018,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43018","id":42569915,"html_url":"https://github.com/Homebrew/homebrew/pull/43018","diff_url":"https://github.com/Homebrew/homebrew/pull/43018.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/43018.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43018","number":43018,"state":"closed","locked":false,"title":"cloc: fix working with homebrew-perl","user":{"login":"denji","id":3759759,"avatar_url":"https://avatars.githubusercontent.com/u/3759759?v=3","gravatar_id":"","url":"https://api.github.com/users/denji","html_url":"https://github.com/denji","followers_url":"https://api.github.com/users/denji/followers","following_url":"https://api.github.com/users/denji/following{/other_user}","gists_url":"https://api.github.com/users/denji/gists{/gist_id}","starred_url":"https://api.github.com/users/denji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denji/subscriptions","organizations_url":"https://api.github.com/users/denji/orgs","repos_url":"https://api.github.com/users/denji/repos","events_url":"https://api.github.com/users/denji/events{/privacy}","received_events_url":"https://api.github.com/users/denji/received_events","type":"User","site_admin":false},"body":"```\r\n$ perl --version\r\nThis is perl 5, version 22, subversion 0 (v5.22.0) built for darwin-thread-multi-2level\r\n\r\n$ cloc .\r\nCan't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/local/bin/cloc line 1284.\r\n\r\n$ brew reinstall https://raw.githubusercontent.com/denji/homebrew/9c2a8d6/Library/Formula/cloc.rb\r\n\r\n```","created_at":"2015-08-17T09:39:58Z","updated_at":"2015-08-20T18:00:18Z","closed_at":"2015-08-20T18:00:18Z","merged_at":null,"merge_commit_sha":"a46bbb7a4339fef946088106d19826bab7e9b427","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43018/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43018/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43018/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/9c2a8d661612fcec7f3a4224722e8c70333ad008","head":{"label":"denji:cloc","ref":"cloc","sha":"9c2a8d661612fcec7f3a4224722e8c70333ad008","user":{"login":"denji","id":3759759,"avatar_url":"https://avatars.githubusercontent.com/u/3759759?v=3","gravatar_id":"","url":"https://api.github.com/users/denji","html_url":"https://github.com/denji","followers_url":"https://api.github.com/users/denji/followers","following_url":"https://api.github.com/users/denji/following{/other_user}","gists_url":"https://api.github.com/users/denji/gists{/gist_id}","starred_url":"https://api.github.com/users/denji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denji/subscriptions","organizations_url":"https://api.github.com/users/denji/orgs","repos_url":"https://api.github.com/users/denji/repos","events_url":"https://api.github.com/users/denji/events{/privacy}","received_events_url":"https://api.github.com/users/denji/received_events","type":"User","site_admin":false},"repo":{"id":20802430,"name":"homebrew","full_name":"denji/homebrew","owner":{"login":"denji","id":3759759,"avatar_url":"https://avatars.githubusercontent.com/u/3759759?v=3","gravatar_id":"","url":"https://api.github.com/users/denji","html_url":"https://github.com/denji","followers_url":"https://api.github.com/users/denji/followers","following_url":"https://api.github.com/users/denji/following{/other_user}","gists_url":"https://api.github.com/users/denji/gists{/gist_id}","starred_url":"https://api.github.com/users/denji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denji/subscriptions","organizations_url":"https://api.github.com/users/denji/orgs","repos_url":"https://api.github.com/users/denji/repos","events_url":"https://api.github.com/users/denji/events{/privacy}","received_events_url":"https://api.github.com/users/denji/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denji/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/denji/homebrew","forks_url":"https://api.github.com/repos/denji/homebrew/forks","keys_url":"https://api.github.com/repos/denji/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denji/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denji/homebrew/teams","hooks_url":"https://api.github.com/repos/denji/homebrew/hooks","issue_events_url":"https://api.github.com/repos/denji/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/denji/homebrew/events","assignees_url":"https://api.github.com/repos/denji/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/denji/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/denji/homebrew/tags","blobs_url":"https://api.github.com/repos/denji/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denji/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denji/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/denji/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denji/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/denji/homebrew/languages","stargazers_url":"https://api.github.com/repos/denji/homebrew/stargazers","contributors_url":"https://api.github.com/repos/denji/homebrew/contributors","subscribers_url":"https://api.github.com/repos/denji/homebrew/subscribers","subscription_url":"https://api.github.com/repos/denji/homebrew/subscription","commits_url":"https://api.github.com/repos/denji/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/denji/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/denji/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/denji/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/denji/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/denji/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denji/homebrew/merges","archive_url":"https://api.github.com/repos/denji/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denji/homebrew/downloads","issues_url":"https://api.github.com/repos/denji/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/denji/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/denji/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/denji/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denji/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/denji/homebrew/releases{/id}","created_at":"2014-06-13T11:43:46Z","updated_at":"2015-05-05T11:49:32Z","pushed_at":"2015-08-17T12:09:19Z","git_url":"git://github.com/denji/homebrew.git","ssh_url":"git@github.com:denji/homebrew.git","clone_url":"https://github.com/denji/homebrew.git","svn_url":"https://github.com/denji/homebrew","homepage":"http://brew.sh","size":51949,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"bbba8f6bbc298205e6fd75234d0ade0499348d55","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-08-20T15:19:38Z","pushed_at":"2015-08-20T17:57:53Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1584604,"stargazers_count":24732,"watchers_count":24732,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":12439,"mirror_url":null,"open_issues_count":423,"forks":12439,"open_issues":423,"watchers":24732,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43018"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/43018"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/43018"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/43018/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43018/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43018/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/9c2a8d661612fcec7f3a4224722e8c70333ad008"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":2,"commits":1,"additions":114,"deletions":0,"changed_files":1}}