{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/37210040","id":37210040,"diff_hunk":"@@ -0,0 +1,61 @@\n+class Asio < Formula\n+  desc \"Cross-platform C++ Library for asynchronous programming\"\n+  homepage \"http://think-async.com/Asio\"\n+  url \"https://downloads.sourceforge.net/project/asio/asio/1.10.6%20%28Stable%29/asio-1.10.6.tar.bz2\"\n+  sha256 \"e0d71c40a7b1f6c1334008fb279e7361b32a063e020efd21e40d9d8ff037195e\"\n+  head \"https://github.com/chriskohlhoff/asio.git\"\n+\n+  devel do\n+    url \"https://downloads.sourceforge.net/project/asio/asio/1.11.0%20%28Development%29/asio-1.11.0.tar.bz2\"\n+    sha256 \"4f7e13260eea67412202638ec111cb5014f44bdebe96103279c60236874daa50\"\n+  end\n+\n+  option \"with-boost-coroutine\", \"use Boost.Coroutine to implement stackful coroutines\"\n+  option :cxx11\n+  needs :cxx11 if build.cxx11?\n+\n+  depends_on \"autoconf\" => :build\n+  depends_on \"automake\" => :build\n+  depends_on \"boost\" => :optional\n+  depends_on \"boost\" unless build.cxx11?\n+  depends_on \"boost\" if build.with? \"boost-coroutine\"\n+  depends_on \"openssl\"\n+\n+  def install\n+    if build.head?\n+      cd \"asio\"\n+      system \"./autogen.sh\"\n+    else\n+      system \"autoconf\"\n+    end\n+    ENV.cxx11 if build.cxx11?\n+    args = %W[\n+      --disable-dependency-tracking\n+      --disable-silent-rules\n+      --prefix=#{prefix}\n+      --with-boost=#{(build.with?(\"boost\") || build.with?(\"boost-coroutine\") || !build.cxx11?) ? Formula[\"boost\"].opt_include : \"no\"}\n+    ]\n+    args << \"--enable-boost-coroutine\" if build.with? \"boost-coroutine\"\n+    system \"./configure\", *args","path":"Library/Formula/asio.rb","position":39,"original_position":39,"commit_id":"e15b6b4c0dbe7e360f3175295dc96dd3c0b96cbb","original_commit_id":"e15b6b4c0dbe7e360f3175295dc96dd3c0b96cbb","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"Add an empty line between last `args` and the `system \"./configure\", *args`.","created_at":"2015-08-17T17:01:21Z","updated_at":"2015-08-17T17:01:21Z","html_url":"https://github.com/Homebrew/homebrew/pull/42969#discussion_r37210040","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42969","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/37210040"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42969#discussion_r37210040"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42969"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42969","id":42517781,"html_url":"https://github.com/Homebrew/homebrew/pull/42969","diff_url":"https://github.com/Homebrew/homebrew/pull/42969.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/42969.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42969","number":42969,"state":"open","locked":false,"title":"asio 1.10.6, devel 1.11.0 (new formula)","user":{"login":"guoxiao","id":528318,"avatar_url":"https://avatars.githubusercontent.com/u/528318?v=3","gravatar_id":"","url":"https://api.github.com/users/guoxiao","html_url":"https://github.com/guoxiao","followers_url":"https://api.github.com/users/guoxiao/followers","following_url":"https://api.github.com/users/guoxiao/following{/other_user}","gists_url":"https://api.github.com/users/guoxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiao/subscriptions","organizations_url":"https://api.github.com/users/guoxiao/orgs","repos_url":"https://api.github.com/users/guoxiao/repos","events_url":"https://api.github.com/users/guoxiao/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiao/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-15T11:10:36Z","updated_at":"2015-08-17T17:01:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51557c760d67b6459e03b31edbba138bb3dabc7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42969/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42969/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42969/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/e15b6b4c0dbe7e360f3175295dc96dd3c0b96cbb","head":{"label":"guoxiao:asio","ref":"asio","sha":"e15b6b4c0dbe7e360f3175295dc96dd3c0b96cbb","user":{"login":"guoxiao","id":528318,"avatar_url":"https://avatars.githubusercontent.com/u/528318?v=3","gravatar_id":"","url":"https://api.github.com/users/guoxiao","html_url":"https://github.com/guoxiao","followers_url":"https://api.github.com/users/guoxiao/followers","following_url":"https://api.github.com/users/guoxiao/following{/other_user}","gists_url":"https://api.github.com/users/guoxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiao/subscriptions","organizations_url":"https://api.github.com/users/guoxiao/orgs","repos_url":"https://api.github.com/users/guoxiao/repos","events_url":"https://api.github.com/users/guoxiao/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiao/received_events","type":"User","site_admin":false},"repo":{"id":26420646,"name":"homebrew","full_name":"guoxiao/homebrew","owner":{"login":"guoxiao","id":528318,"avatar_url":"https://avatars.githubusercontent.com/u/528318?v=3","gravatar_id":"","url":"https://api.github.com/users/guoxiao","html_url":"https://github.com/guoxiao","followers_url":"https://api.github.com/users/guoxiao/followers","following_url":"https://api.github.com/users/guoxiao/following{/other_user}","gists_url":"https://api.github.com/users/guoxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiao/subscriptions","organizations_url":"https://api.github.com/users/guoxiao/orgs","repos_url":"https://api.github.com/users/guoxiao/repos","events_url":"https://api.github.com/users/guoxiao/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guoxiao/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/guoxiao/homebrew","forks_url":"https://api.github.com/repos/guoxiao/homebrew/forks","keys_url":"https://api.github.com/repos/guoxiao/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guoxiao/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guoxiao/homebrew/teams","hooks_url":"https://api.github.com/repos/guoxiao/homebrew/hooks","issue_events_url":"https://api.github.com/repos/guoxiao/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/guoxiao/homebrew/events","assignees_url":"https://api.github.com/repos/guoxiao/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/guoxiao/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/guoxiao/homebrew/tags","blobs_url":"https://api.github.com/repos/guoxiao/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guoxiao/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guoxiao/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/guoxiao/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guoxiao/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/guoxiao/homebrew/languages","stargazers_url":"https://api.github.com/repos/guoxiao/homebrew/stargazers","contributors_url":"https://api.github.com/repos/guoxiao/homebrew/contributors","subscribers_url":"https://api.github.com/repos/guoxiao/homebrew/subscribers","subscription_url":"https://api.github.com/repos/guoxiao/homebrew/subscription","commits_url":"https://api.github.com/repos/guoxiao/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/guoxiao/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/guoxiao/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/guoxiao/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/guoxiao/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/guoxiao/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guoxiao/homebrew/merges","archive_url":"https://api.github.com/repos/guoxiao/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guoxiao/homebrew/downloads","issues_url":"https://api.github.com/repos/guoxiao/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/guoxiao/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/guoxiao/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/guoxiao/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guoxiao/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/guoxiao/homebrew/releases{/id}","created_at":"2014-11-10T04:16:29Z","updated_at":"2015-05-01T05:04:01Z","pushed_at":"2015-08-16T05:12:13Z","git_url":"git://github.com/guoxiao/homebrew.git","ssh_url":"git@github.com:guoxiao/homebrew.git","clone_url":"https://github.com/guoxiao/homebrew.git","svn_url":"https://github.com/guoxiao/homebrew","homepage":"http://brew.sh","size":51443,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"5596e28f3c4551a56b4b45f7875d60c08d0b6f2f","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-17T16:19:14Z","pushed_at":"2015-08-17T17:01:10Z","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":1578754,"stargazers_count":24673,"watchers_count":24673,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":12400,"mirror_url":null,"open_issues_count":413,"forks":12400,"open_issues":413,"watchers":24673,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42969"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42969"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42969"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42969/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42969/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42969/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/e15b6b4c0dbe7e360f3175295dc96dd3c0b96cbb"}}}}