{"action":"closed","number":305,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls/305","id":86877173,"html_url":"https://github.com/GoogleCloudPlatform/cloud-trace-nodejs/pull/305","diff_url":"https://github.com/GoogleCloudPlatform/cloud-trace-nodejs/pull/305.diff","patch_url":"https://github.com/GoogleCloudPlatform/cloud-trace-nodejs/pull/305.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/issues/305","number":305,"state":"closed","locked":false,"title":"Intercept connect module","user":{"login":"hach-que","id":504826,"avatar_url":"https://avatars.githubusercontent.com/u/504826?v=3","gravatar_id":"","url":"https://api.github.com/users/hach-que","html_url":"https://github.com/hach-que","followers_url":"https://api.github.com/users/hach-que/followers","following_url":"https://api.github.com/users/hach-que/following{/other_user}","gists_url":"https://api.github.com/users/hach-que/gists{/gist_id}","starred_url":"https://api.github.com/users/hach-que/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hach-que/subscriptions","organizations_url":"https://api.github.com/users/hach-que/orgs","repos_url":"https://api.github.com/users/hach-que/repos","events_url":"https://api.github.com/users/hach-que/events{/privacy}","received_events_url":"https://api.github.com/users/hach-que/received_events","type":"User","site_admin":false},"body":"This adds support for `connect`, which is used by `swagger-tools` (#304).\r\n\r\nI had to add an interception concept here, because `connect` returns a function as it's `module.exports`, which means the traditional `patch`/`unpatch` does not work (as far as I could tell).","created_at":"2016-09-27T07:44:23Z","updated_at":"2016-10-03T17:59:09Z","closed_at":"2016-10-03T17:59:09Z","merged_at":"2016-10-03T17:59:08Z","merge_commit_sha":"4b8e43a023ee7760cbc969e95f9bf1dcd8f81b0e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls/305/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls/305/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/issues/305/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/statuses/3adcb1032f544bbd77d76743f5fe24f0e96b2dcd","head":{"label":"hach-que:master","ref":"master","sha":"3adcb1032f544bbd77d76743f5fe24f0e96b2dcd","user":{"login":"hach-que","id":504826,"avatar_url":"https://avatars.githubusercontent.com/u/504826?v=3","gravatar_id":"","url":"https://api.github.com/users/hach-que","html_url":"https://github.com/hach-que","followers_url":"https://api.github.com/users/hach-que/followers","following_url":"https://api.github.com/users/hach-que/following{/other_user}","gists_url":"https://api.github.com/users/hach-que/gists{/gist_id}","starred_url":"https://api.github.com/users/hach-que/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hach-que/subscriptions","organizations_url":"https://api.github.com/users/hach-que/orgs","repos_url":"https://api.github.com/users/hach-que/repos","events_url":"https://api.github.com/users/hach-que/events{/privacy}","received_events_url":"https://api.github.com/users/hach-que/received_events","type":"User","site_admin":false},"repo":{"id":69330041,"name":"cloud-trace-nodejs","full_name":"hach-que/cloud-trace-nodejs","owner":{"login":"hach-que","id":504826,"avatar_url":"https://avatars.githubusercontent.com/u/504826?v=3","gravatar_id":"","url":"https://api.github.com/users/hach-que","html_url":"https://github.com/hach-que","followers_url":"https://api.github.com/users/hach-que/followers","following_url":"https://api.github.com/users/hach-que/following{/other_user}","gists_url":"https://api.github.com/users/hach-que/gists{/gist_id}","starred_url":"https://api.github.com/users/hach-que/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hach-que/subscriptions","organizations_url":"https://api.github.com/users/hach-que/orgs","repos_url":"https://api.github.com/users/hach-que/repos","events_url":"https://api.github.com/users/hach-que/events{/privacy}","received_events_url":"https://api.github.com/users/hach-que/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hach-que/cloud-trace-nodejs","description":"Experimental Node.js support for Google Cloud Trace","fork":true,"url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs","forks_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/forks","keys_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/teams","hooks_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/hooks","issue_events_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/issues/events{/number}","events_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/events","assignees_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/assignees{/user}","branches_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/branches{/branch}","tags_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/tags","blobs_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/statuses/{sha}","languages_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/languages","stargazers_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/stargazers","contributors_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/contributors","subscribers_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/subscribers","subscription_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/subscription","commits_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/contents/{+path}","compare_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/merges","archive_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/downloads","issues_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/issues{/number}","pulls_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/pulls{/number}","milestones_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/milestones{/number}","notifications_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/labels{/name}","releases_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/releases{/id}","deployments_url":"https://api.github.com/repos/hach-que/cloud-trace-nodejs/deployments","created_at":"2016-09-27T07:19:40Z","updated_at":"2016-09-27T07:19:41Z","pushed_at":"2016-09-27T11:02:24Z","git_url":"git://github.com/hach-que/cloud-trace-nodejs.git","ssh_url":"git@github.com:hach-que/cloud-trace-nodejs.git","clone_url":"https://github.com/hach-que/cloud-trace-nodejs.git","svn_url":"https://github.com/hach-que/cloud-trace-nodejs","homepage":"https://cloud.google.com/cloud-trace/","size":1120,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"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":"GoogleCloudPlatform:master","ref":"master","sha":"1f2fc792e42cc11670950782bb22006d141a11ff","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":41170869,"name":"cloud-trace-nodejs","full_name":"GoogleCloudPlatform/cloud-trace-nodejs","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/cloud-trace-nodejs","description":"Experimental Node.js support for Google Cloud Trace","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/deployments","created_at":"2015-08-21T18:23:09Z","updated_at":"2016-09-28T22:44:42Z","pushed_at":"2016-10-03T17:59:08Z","git_url":"git://github.com/GoogleCloudPlatform/cloud-trace-nodejs.git","ssh_url":"git@github.com:GoogleCloudPlatform/cloud-trace-nodejs.git","clone_url":"https://github.com/GoogleCloudPlatform/cloud-trace-nodejs.git","svn_url":"https://github.com/GoogleCloudPlatform/cloud-trace-nodejs","homepage":"https://cloud.google.com/cloud-trace/","size":1219,"stargazers_count":57,"watchers_count":57,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":8,"forks":25,"open_issues":8,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls/305"},"html":{"href":"https://github.com/GoogleCloudPlatform/cloud-trace-nodejs/pull/305"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/issues/305"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/issues/305/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls/305/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/pulls/305/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-trace-nodejs/statuses/3adcb1032f544bbd77d76743f5fe24f0e96b2dcd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"matthewloring","id":1485909,"avatar_url":"https://avatars.githubusercontent.com/u/1485909?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewloring","html_url":"https://github.com/matthewloring","followers_url":"https://api.github.com/users/matthewloring/followers","following_url":"https://api.github.com/users/matthewloring/following{/other_user}","gists_url":"https://api.github.com/users/matthewloring/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewloring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewloring/subscriptions","organizations_url":"https://api.github.com/users/matthewloring/orgs","repos_url":"https://api.github.com/users/matthewloring/repos","events_url":"https://api.github.com/users/matthewloring/events{/privacy}","received_events_url":"https://api.github.com/users/matthewloring/received_events","type":"User","site_admin":false},"comments":5,"review_comments":4,"commits":1,"additions":142,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"matthewloring"}}