{"action":"closed","number":27,"pull_request":{"url":"https://api.github.com/repos/sensu/sensu-transport/pulls/27","id":63435564,"html_url":"https://github.com/sensu/sensu-transport/pull/27","diff_url":"https://github.com/sensu/sensu-transport/pull/27.diff","patch_url":"https://github.com/sensu/sensu-transport/pull/27.patch","issue_url":"https://api.github.com/repos/sensu/sensu-transport/issues/27","number":27,"state":"closed","locked":false,"title":"Implemented a deferrable/callback transport API","user":{"login":"portertech","id":149630,"avatar_url":"https://avatars.githubusercontent.com/u/149630?v=3","gravatar_id":"","url":"https://api.github.com/users/portertech","html_url":"https://github.com/portertech","followers_url":"https://api.github.com/users/portertech/followers","following_url":"https://api.github.com/users/portertech/following{/other_user}","gists_url":"https://api.github.com/users/portertech/gists{/gist_id}","starred_url":"https://api.github.com/users/portertech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/portertech/subscriptions","organizations_url":"https://api.github.com/users/portertech/orgs","repos_url":"https://api.github.com/users/portertech/repos","events_url":"https://api.github.com/users/portertech/events{/privacy}","received_events_url":"https://api.github.com/users/portertech/received_events","type":"User","site_admin":false},"body":"This allows the transport API to support backends that require more song 'n dance before they are able to provide a connection object. The new Sensu Redis library supports Sentinel, this PR includes the required changes to transport API in order to support it and other backends like it.\r\n\r\n![1201](https://cloud.githubusercontent.com/assets/149630/13892084/3ef2f556-ed12-11e5-8ea6-abc381e1b434.gif)\r\n\r\n`transport = Transport.connect()`\r\n\r\nis now:\r\n\r\n`Transport.connect() do |transport|`","created_at":"2016-03-18T20:59:23Z","updated_at":"2016-03-18T21:52:31Z","closed_at":"2016-03-18T21:52:31Z","merged_at":"2016-03-18T21:52:31Z","merge_commit_sha":"498e6fdc082964df41b3ea9469d07d17b9ffc846","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sensu/sensu-transport/pulls/27/commits","review_comments_url":"https://api.github.com/repos/sensu/sensu-transport/pulls/27/comments","review_comment_url":"https://api.github.com/repos/sensu/sensu-transport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sensu/sensu-transport/issues/27/comments","statuses_url":"https://api.github.com/repos/sensu/sensu-transport/statuses/da352278c0649e7f7f2ebfb43e1af0f1abc9fb84","head":{"label":"sensu:feature/deferrable-api","ref":"feature/deferrable-api","sha":"da352278c0649e7f7f2ebfb43e1af0f1abc9fb84","user":{"login":"sensu","id":1648901,"avatar_url":"https://avatars.githubusercontent.com/u/1648901?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"repo":{"id":19055307,"name":"sensu-transport","full_name":"sensu/sensu-transport","owner":{"login":"sensu","id":1648901,"avatar_url":"https://avatars.githubusercontent.com/u/1648901?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu/sensu-transport","description":"The Sensu transport abstraction library.","fork":false,"url":"https://api.github.com/repos/sensu/sensu-transport","forks_url":"https://api.github.com/repos/sensu/sensu-transport/forks","keys_url":"https://api.github.com/repos/sensu/sensu-transport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu/sensu-transport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu/sensu-transport/teams","hooks_url":"https://api.github.com/repos/sensu/sensu-transport/hooks","issue_events_url":"https://api.github.com/repos/sensu/sensu-transport/issues/events{/number}","events_url":"https://api.github.com/repos/sensu/sensu-transport/events","assignees_url":"https://api.github.com/repos/sensu/sensu-transport/assignees{/user}","branches_url":"https://api.github.com/repos/sensu/sensu-transport/branches{/branch}","tags_url":"https://api.github.com/repos/sensu/sensu-transport/tags","blobs_url":"https://api.github.com/repos/sensu/sensu-transport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu/sensu-transport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu/sensu-transport/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu/sensu-transport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu/sensu-transport/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu/sensu-transport/languages","stargazers_url":"https://api.github.com/repos/sensu/sensu-transport/stargazers","contributors_url":"https://api.github.com/repos/sensu/sensu-transport/contributors","subscribers_url":"https://api.github.com/repos/sensu/sensu-transport/subscribers","subscription_url":"https://api.github.com/repos/sensu/sensu-transport/subscription","commits_url":"https://api.github.com/repos/sensu/sensu-transport/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu/sensu-transport/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu/sensu-transport/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu/sensu-transport/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu/sensu-transport/contents/{+path}","compare_url":"https://api.github.com/repos/sensu/sensu-transport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu/sensu-transport/merges","archive_url":"https://api.github.com/repos/sensu/sensu-transport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu/sensu-transport/downloads","issues_url":"https://api.github.com/repos/sensu/sensu-transport/issues{/number}","pulls_url":"https://api.github.com/repos/sensu/sensu-transport/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu/sensu-transport/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu/sensu-transport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu/sensu-transport/labels{/name}","releases_url":"https://api.github.com/repos/sensu/sensu-transport/releases{/id}","deployments_url":"https://api.github.com/repos/sensu/sensu-transport/deployments","created_at":"2014-04-23T03:14:06Z","updated_at":"2016-02-02T21:58:19Z","pushed_at":"2016-03-18T21:52:31Z","git_url":"git://github.com/sensu/sensu-transport.git","ssh_url":"git@github.com:sensu/sensu-transport.git","clone_url":"https://github.com/sensu/sensu-transport.git","svn_url":"https://github.com/sensu/sensu-transport","homepage":"","size":110,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":8,"forks":12,"open_issues":8,"watchers":9,"default_branch":"master"}},"base":{"label":"sensu:master","ref":"master","sha":"4927196fef7f9e010705dc1c0ba8f1f6ed2404fe","user":{"login":"sensu","id":1648901,"avatar_url":"https://avatars.githubusercontent.com/u/1648901?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"repo":{"id":19055307,"name":"sensu-transport","full_name":"sensu/sensu-transport","owner":{"login":"sensu","id":1648901,"avatar_url":"https://avatars.githubusercontent.com/u/1648901?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu/sensu-transport","description":"The Sensu transport abstraction library.","fork":false,"url":"https://api.github.com/repos/sensu/sensu-transport","forks_url":"https://api.github.com/repos/sensu/sensu-transport/forks","keys_url":"https://api.github.com/repos/sensu/sensu-transport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu/sensu-transport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu/sensu-transport/teams","hooks_url":"https://api.github.com/repos/sensu/sensu-transport/hooks","issue_events_url":"https://api.github.com/repos/sensu/sensu-transport/issues/events{/number}","events_url":"https://api.github.com/repos/sensu/sensu-transport/events","assignees_url":"https://api.github.com/repos/sensu/sensu-transport/assignees{/user}","branches_url":"https://api.github.com/repos/sensu/sensu-transport/branches{/branch}","tags_url":"https://api.github.com/repos/sensu/sensu-transport/tags","blobs_url":"https://api.github.com/repos/sensu/sensu-transport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu/sensu-transport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu/sensu-transport/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu/sensu-transport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu/sensu-transport/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu/sensu-transport/languages","stargazers_url":"https://api.github.com/repos/sensu/sensu-transport/stargazers","contributors_url":"https://api.github.com/repos/sensu/sensu-transport/contributors","subscribers_url":"https://api.github.com/repos/sensu/sensu-transport/subscribers","subscription_url":"https://api.github.com/repos/sensu/sensu-transport/subscription","commits_url":"https://api.github.com/repos/sensu/sensu-transport/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu/sensu-transport/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu/sensu-transport/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu/sensu-transport/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu/sensu-transport/contents/{+path}","compare_url":"https://api.github.com/repos/sensu/sensu-transport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu/sensu-transport/merges","archive_url":"https://api.github.com/repos/sensu/sensu-transport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu/sensu-transport/downloads","issues_url":"https://api.github.com/repos/sensu/sensu-transport/issues{/number}","pulls_url":"https://api.github.com/repos/sensu/sensu-transport/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu/sensu-transport/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu/sensu-transport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu/sensu-transport/labels{/name}","releases_url":"https://api.github.com/repos/sensu/sensu-transport/releases{/id}","deployments_url":"https://api.github.com/repos/sensu/sensu-transport/deployments","created_at":"2014-04-23T03:14:06Z","updated_at":"2016-02-02T21:58:19Z","pushed_at":"2016-03-18T21:52:31Z","git_url":"git://github.com/sensu/sensu-transport.git","ssh_url":"git@github.com:sensu/sensu-transport.git","clone_url":"https://github.com/sensu/sensu-transport.git","svn_url":"https://github.com/sensu/sensu-transport","homepage":"","size":110,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":8,"forks":12,"open_issues":8,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sensu/sensu-transport/pulls/27"},"html":{"href":"https://github.com/sensu/sensu-transport/pull/27"},"issue":{"href":"https://api.github.com/repos/sensu/sensu-transport/issues/27"},"comments":{"href":"https://api.github.com/repos/sensu/sensu-transport/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/sensu/sensu-transport/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/sensu/sensu-transport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sensu/sensu-transport/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/sensu/sensu-transport/statuses/da352278c0649e7f7f2ebfb43e1af0f1abc9fb84"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"portertech","id":149630,"avatar_url":"https://avatars.githubusercontent.com/u/149630?v=3","gravatar_id":"","url":"https://api.github.com/users/portertech","html_url":"https://github.com/portertech","followers_url":"https://api.github.com/users/portertech/followers","following_url":"https://api.github.com/users/portertech/following{/other_user}","gists_url":"https://api.github.com/users/portertech/gists{/gist_id}","starred_url":"https://api.github.com/users/portertech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/portertech/subscriptions","organizations_url":"https://api.github.com/users/portertech/orgs","repos_url":"https://api.github.com/users/portertech/repos","events_url":"https://api.github.com/users/portertech/events{/privacy}","received_events_url":"https://api.github.com/users/portertech/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":3,"additions":108,"deletions":54,"changed_files":7}}