{"action":"created","comment":{"url":"https://api.github.com/repos/Linuxbrew/brew/pulls/comments/61900543","id":61900543,"diff_hunk":"@@ -87,6 +87,29 @@ def test_ld64_dep_leopard_or_newer\n     assert_nil @d.build(:ld64)\n   end\n \n+  def test_ant_dep_mavericks_or_newer\n+    skip \"Only for Mac OS\" unless OS.mac?\n+    MacOS.stubs(:version).returns(MacOS::Version.new(\"10.9\"))\n+    @d.add :ant => :build\n+    dep = find_dependency(\"ant\")\n+    assert_equal dep, Dependency.new(\"ant\", [:build])","path":"Library/Homebrew/test/test_dependency_collector.rb","position":9,"original_position":9,"commit_id":"c7f1efad1a8e4dd2c553322701c347713a02f047","original_commit_id":"c7f1efad1a8e4dd2c553322701c347713a02f047","user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"body":"```ruby\r\nassert_equal find_dependency(\"ant\"), Dependency.new(\"ant\", [:build])\r\n```","created_at":"2016-05-03T15:23:42Z","updated_at":"2016-05-03T15:23:42Z","html_url":"https://github.com/Linuxbrew/brew/pull/12#discussion_r61900543","pull_request_url":"https://api.github.com/repos/Linuxbrew/brew/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Linuxbrew/brew/pulls/comments/61900543"},"html":{"href":"https://github.com/Linuxbrew/brew/pull/12#discussion_r61900543"},"pull_request":{"href":"https://api.github.com/repos/Linuxbrew/brew/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Linuxbrew/brew/pulls/12","id":68692060,"html_url":"https://github.com/Linuxbrew/brew/pull/12","diff_url":"https://github.com/Linuxbrew/brew/pull/12.diff","patch_url":"https://github.com/Linuxbrew/brew/pull/12.patch","issue_url":"https://api.github.com/repos/Linuxbrew/brew/issues/12","number":12,"state":"open","locked":false,"title":"dependency_collector: Fix ant_dep for Linuxbrew.","user":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"body":"- [x] Have you followed the guidelines in our [Contributing](https://github.com/Linuxbrew/brew/blob/master/.github/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Linuxbrew/brew/pulls) for the same change?\r\n- [x] Have you added an explanation of what your changes do and why you'd like us to include them?\r\n- [x] Have you written new tests for your changes? [Here's an example](https://github.com/Homebrew/homebrew/pull/49031).\r\n- [x] Have you successfully ran `brew tests` with your changes locally?\r\n\r\nThe ant_dep previously didn't work on Linuxbrew, since it was checking only that the OS X version was Mavericks or newer.","created_at":"2016-05-03T11:31:51Z","updated_at":"2016-05-03T15:23:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b82bc667a7a82b5c4d0b2e13d24b79d0400b64b7","assignee":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Linuxbrew/brew/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Linuxbrew/brew/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Linuxbrew/brew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Linuxbrew/brew/issues/12/comments","statuses_url":"https://api.github.com/repos/Linuxbrew/brew/statuses/c7f1efad1a8e4dd2c553322701c347713a02f047","head":{"label":"rwhogg:ant-dep","ref":"ant-dep","sha":"c7f1efad1a8e4dd2c553322701c347713a02f047","user":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"repo":{"id":57923323,"name":"brew","full_name":"rwhogg/brew","owner":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwhogg/brew","description":":beer::penguin: The Homebrew package manager for Linux","fork":true,"url":"https://api.github.com/repos/rwhogg/brew","forks_url":"https://api.github.com/repos/rwhogg/brew/forks","keys_url":"https://api.github.com/repos/rwhogg/brew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwhogg/brew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwhogg/brew/teams","hooks_url":"https://api.github.com/repos/rwhogg/brew/hooks","issue_events_url":"https://api.github.com/repos/rwhogg/brew/issues/events{/number}","events_url":"https://api.github.com/repos/rwhogg/brew/events","assignees_url":"https://api.github.com/repos/rwhogg/brew/assignees{/user}","branches_url":"https://api.github.com/repos/rwhogg/brew/branches{/branch}","tags_url":"https://api.github.com/repos/rwhogg/brew/tags","blobs_url":"https://api.github.com/repos/rwhogg/brew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwhogg/brew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwhogg/brew/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwhogg/brew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwhogg/brew/statuses/{sha}","languages_url":"https://api.github.com/repos/rwhogg/brew/languages","stargazers_url":"https://api.github.com/repos/rwhogg/brew/stargazers","contributors_url":"https://api.github.com/repos/rwhogg/brew/contributors","subscribers_url":"https://api.github.com/repos/rwhogg/brew/subscribers","subscription_url":"https://api.github.com/repos/rwhogg/brew/subscription","commits_url":"https://api.github.com/repos/rwhogg/brew/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwhogg/brew/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwhogg/brew/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwhogg/brew/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwhogg/brew/contents/{+path}","compare_url":"https://api.github.com/repos/rwhogg/brew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwhogg/brew/merges","archive_url":"https://api.github.com/repos/rwhogg/brew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwhogg/brew/downloads","issues_url":"https://api.github.com/repos/rwhogg/brew/issues{/number}","pulls_url":"https://api.github.com/repos/rwhogg/brew/pulls{/number}","milestones_url":"https://api.github.com/repos/rwhogg/brew/milestones{/number}","notifications_url":"https://api.github.com/repos/rwhogg/brew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwhogg/brew/labels{/name}","releases_url":"https://api.github.com/repos/rwhogg/brew/releases{/id}","deployments_url":"https://api.github.com/repos/rwhogg/brew/deployments","created_at":"2016-05-02T21:43:43Z","updated_at":"2016-05-02T21:43:45Z","pushed_at":"2016-05-03T12:10:42Z","git_url":"git://github.com/rwhogg/brew.git","ssh_url":"git@github.com:rwhogg/brew.git","clone_url":"https://github.com/rwhogg/brew.git","svn_url":"https://github.com/rwhogg/brew","homepage":"http://linuxbrew.sh","size":12449,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Linuxbrew:master","ref":"master","sha":"d694c04b32ad13fd49f4c880be0b4b62913783e4","user":{"login":"Linuxbrew","id":10321259,"avatar_url":"https://avatars.githubusercontent.com/u/10321259?v=3","gravatar_id":"","url":"https://api.github.com/users/Linuxbrew","html_url":"https://github.com/Linuxbrew","followers_url":"https://api.github.com/users/Linuxbrew/followers","following_url":"https://api.github.com/users/Linuxbrew/following{/other_user}","gists_url":"https://api.github.com/users/Linuxbrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Linuxbrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linuxbrew/subscriptions","organizations_url":"https://api.github.com/users/Linuxbrew/orgs","repos_url":"https://api.github.com/users/Linuxbrew/repos","events_url":"https://api.github.com/users/Linuxbrew/events{/privacy}","received_events_url":"https://api.github.com/users/Linuxbrew/received_events","type":"Organization","site_admin":false},"repo":{"id":56941978,"name":"brew","full_name":"Linuxbrew/brew","owner":{"login":"Linuxbrew","id":10321259,"avatar_url":"https://avatars.githubusercontent.com/u/10321259?v=3","gravatar_id":"","url":"https://api.github.com/users/Linuxbrew","html_url":"https://github.com/Linuxbrew","followers_url":"https://api.github.com/users/Linuxbrew/followers","following_url":"https://api.github.com/users/Linuxbrew/following{/other_user}","gists_url":"https://api.github.com/users/Linuxbrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Linuxbrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linuxbrew/subscriptions","organizations_url":"https://api.github.com/users/Linuxbrew/orgs","repos_url":"https://api.github.com/users/Linuxbrew/repos","events_url":"https://api.github.com/users/Linuxbrew/events{/privacy}","received_events_url":"https://api.github.com/users/Linuxbrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Linuxbrew/brew","description":":beer::penguin: The Homebrew package manager for Linux","fork":true,"url":"https://api.github.com/repos/Linuxbrew/brew","forks_url":"https://api.github.com/repos/Linuxbrew/brew/forks","keys_url":"https://api.github.com/repos/Linuxbrew/brew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Linuxbrew/brew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Linuxbrew/brew/teams","hooks_url":"https://api.github.com/repos/Linuxbrew/brew/hooks","issue_events_url":"https://api.github.com/repos/Linuxbrew/brew/issues/events{/number}","events_url":"https://api.github.com/repos/Linuxbrew/brew/events","assignees_url":"https://api.github.com/repos/Linuxbrew/brew/assignees{/user}","branches_url":"https://api.github.com/repos/Linuxbrew/brew/branches{/branch}","tags_url":"https://api.github.com/repos/Linuxbrew/brew/tags","blobs_url":"https://api.github.com/repos/Linuxbrew/brew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Linuxbrew/brew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Linuxbrew/brew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Linuxbrew/brew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Linuxbrew/brew/statuses/{sha}","languages_url":"https://api.github.com/repos/Linuxbrew/brew/languages","stargazers_url":"https://api.github.com/repos/Linuxbrew/brew/stargazers","contributors_url":"https://api.github.com/repos/Linuxbrew/brew/contributors","subscribers_url":"https://api.github.com/repos/Linuxbrew/brew/subscribers","subscription_url":"https://api.github.com/repos/Linuxbrew/brew/subscription","commits_url":"https://api.github.com/repos/Linuxbrew/brew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Linuxbrew/brew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Linuxbrew/brew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Linuxbrew/brew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Linuxbrew/brew/contents/{+path}","compare_url":"https://api.github.com/repos/Linuxbrew/brew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Linuxbrew/brew/merges","archive_url":"https://api.github.com/repos/Linuxbrew/brew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Linuxbrew/brew/downloads","issues_url":"https://api.github.com/repos/Linuxbrew/brew/issues{/number}","pulls_url":"https://api.github.com/repos/Linuxbrew/brew/pulls{/number}","milestones_url":"https://api.github.com/repos/Linuxbrew/brew/milestones{/number}","notifications_url":"https://api.github.com/repos/Linuxbrew/brew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Linuxbrew/brew/labels{/name}","releases_url":"https://api.github.com/repos/Linuxbrew/brew/releases{/id}","deployments_url":"https://api.github.com/repos/Linuxbrew/brew/deployments","created_at":"2016-04-23T21:38:42Z","updated_at":"2016-05-03T06:53:44Z","pushed_at":"2016-05-03T12:10:43Z","git_url":"git://github.com/Linuxbrew/brew.git","ssh_url":"git@github.com:Linuxbrew/brew.git","clone_url":"https://github.com/Linuxbrew/brew.git","svn_url":"https://github.com/Linuxbrew/brew","homepage":"http://linuxbrew.sh","size":12445,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":10,"forks":4,"open_issues":10,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Linuxbrew/brew/pulls/12"},"html":{"href":"https://github.com/Linuxbrew/brew/pull/12"},"issue":{"href":"https://api.github.com/repos/Linuxbrew/brew/issues/12"},"comments":{"href":"https://api.github.com/repos/Linuxbrew/brew/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Linuxbrew/brew/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Linuxbrew/brew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Linuxbrew/brew/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Linuxbrew/brew/statuses/c7f1efad1a8e4dd2c553322701c347713a02f047"}}}}