{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/63413165","id":63413165,"diff_hunk":"@@ -32,7 +32,8 @@ module ActionCable\n     message_types: {\n       welcome: 'welcome'.freeze,\n       ping: 'ping'.freeze,\n-      confirmation: 'confirm_subscription'.freeze,\n+      confirm_subscribe: 'confirm_subscribe'.freeze,\n+      confirm_unsubscribe: 'confirm_unsubscribe'.freeze,","path":"actioncable/lib/action_cable.rb","position":6,"original_position":6,"commit_id":"5288805bb4c644cabf1dc854a2590672f4912ff0","original_commit_id":"5288805bb4c644cabf1dc854a2590672f4912ff0","user":{"login":"kaspth","id":350807,"avatar_url":"https://avatars.githubusercontent.com/u/350807?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false},"body":"Could also go with `unsubscribe_confirmation` and keep the existing `confirmation`.","created_at":"2016-05-16T19:48:50Z","updated_at":"2016-05-16T19:48:50Z","html_url":"https://github.com/rails/rails/pull/24900#discussion_r63413165","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/24900","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/63413165"},"html":{"href":"https://github.com/rails/rails/pull/24900#discussion_r63413165"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/24900"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/24900","id":69225716,"html_url":"https://github.com/rails/rails/pull/24900","diff_url":"https://github.com/rails/rails/pull/24900.diff","patch_url":"https://github.com/rails/rails/pull/24900.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/24900","number":24900,"state":"open","locked":false,"title":"Robust-ify unsubscribe","user":{"login":"maclover7","id":3020626,"avatar_url":"https://avatars.githubusercontent.com/u/3020626?v=3","gravatar_id":"","url":"https://api.github.com/users/maclover7","html_url":"https://github.com/maclover7","followers_url":"https://api.github.com/users/maclover7/followers","following_url":"https://api.github.com/users/maclover7/following{/other_user}","gists_url":"https://api.github.com/users/maclover7/gists{/gist_id}","starred_url":"https://api.github.com/users/maclover7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maclover7/subscriptions","organizations_url":"https://api.github.com/users/maclover7/orgs","repos_url":"https://api.github.com/users/maclover7/repos","events_url":"https://api.github.com/users/maclover7/events{/privacy}","received_events_url":"https://api.github.com/users/maclover7/received_events","type":"User","site_admin":false},"body":"- introduce `confirm_unsubscribe` message type\r\n- rename `confirm_subscription` to `confirm_subscribe`\r\n- `ensure` that `confirm_unsubscribe` and `subscription` is `delete`d\r\n\r\nFixes #24874.\r\n\r\nr? @jeremy ","created_at":"2016-05-07T00:04:32Z","updated_at":"2016-05-16T19:48:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"171dc10acfd32b654ff96ab4e2c76778676ce5f8","assignee":{"login":"jeremy","id":199,"avatar_url":"https://avatars.githubusercontent.com/u/199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy","html_url":"https://github.com/jeremy","followers_url":"https://api.github.com/users/jeremy/followers","following_url":"https://api.github.com/users/jeremy/following{/other_user}","gists_url":"https://api.github.com/users/jeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy/subscriptions","organizations_url":"https://api.github.com/users/jeremy/orgs","repos_url":"https://api.github.com/users/jeremy/repos","events_url":"https://api.github.com/users/jeremy/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/24900/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/24900/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/24900/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/5288805bb4c644cabf1dc854a2590672f4912ff0","head":{"label":"maclover7:fix-24874","ref":"fix-24874","sha":"5288805bb4c644cabf1dc854a2590672f4912ff0","user":{"login":"maclover7","id":3020626,"avatar_url":"https://avatars.githubusercontent.com/u/3020626?v=3","gravatar_id":"","url":"https://api.github.com/users/maclover7","html_url":"https://github.com/maclover7","followers_url":"https://api.github.com/users/maclover7/followers","following_url":"https://api.github.com/users/maclover7/following{/other_user}","gists_url":"https://api.github.com/users/maclover7/gists{/gist_id}","starred_url":"https://api.github.com/users/maclover7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maclover7/subscriptions","organizations_url":"https://api.github.com/users/maclover7/orgs","repos_url":"https://api.github.com/users/maclover7/repos","events_url":"https://api.github.com/users/maclover7/events{/privacy}","received_events_url":"https://api.github.com/users/maclover7/received_events","type":"User","site_admin":false},"repo":{"id":40943063,"name":"rails","full_name":"maclover7/rails","owner":{"login":"maclover7","id":3020626,"avatar_url":"https://avatars.githubusercontent.com/u/3020626?v=3","gravatar_id":"","url":"https://api.github.com/users/maclover7","html_url":"https://github.com/maclover7","followers_url":"https://api.github.com/users/maclover7/followers","following_url":"https://api.github.com/users/maclover7/following{/other_user}","gists_url":"https://api.github.com/users/maclover7/gists{/gist_id}","starred_url":"https://api.github.com/users/maclover7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maclover7/subscriptions","organizations_url":"https://api.github.com/users/maclover7/orgs","repos_url":"https://api.github.com/users/maclover7/repos","events_url":"https://api.github.com/users/maclover7/events{/privacy}","received_events_url":"https://api.github.com/users/maclover7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maclover7/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/maclover7/rails","forks_url":"https://api.github.com/repos/maclover7/rails/forks","keys_url":"https://api.github.com/repos/maclover7/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maclover7/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maclover7/rails/teams","hooks_url":"https://api.github.com/repos/maclover7/rails/hooks","issue_events_url":"https://api.github.com/repos/maclover7/rails/issues/events{/number}","events_url":"https://api.github.com/repos/maclover7/rails/events","assignees_url":"https://api.github.com/repos/maclover7/rails/assignees{/user}","branches_url":"https://api.github.com/repos/maclover7/rails/branches{/branch}","tags_url":"https://api.github.com/repos/maclover7/rails/tags","blobs_url":"https://api.github.com/repos/maclover7/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maclover7/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maclover7/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/maclover7/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maclover7/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/maclover7/rails/languages","stargazers_url":"https://api.github.com/repos/maclover7/rails/stargazers","contributors_url":"https://api.github.com/repos/maclover7/rails/contributors","subscribers_url":"https://api.github.com/repos/maclover7/rails/subscribers","subscription_url":"https://api.github.com/repos/maclover7/rails/subscription","commits_url":"https://api.github.com/repos/maclover7/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/maclover7/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/maclover7/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/maclover7/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/maclover7/rails/contents/{+path}","compare_url":"https://api.github.com/repos/maclover7/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maclover7/rails/merges","archive_url":"https://api.github.com/repos/maclover7/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maclover7/rails/downloads","issues_url":"https://api.github.com/repos/maclover7/rails/issues{/number}","pulls_url":"https://api.github.com/repos/maclover7/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/maclover7/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/maclover7/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maclover7/rails/labels{/name}","releases_url":"https://api.github.com/repos/maclover7/rails/releases{/id}","deployments_url":"https://api.github.com/repos/maclover7/rails/deployments","created_at":"2015-08-18T01:26:06Z","updated_at":"2015-08-18T01:26:32Z","pushed_at":"2016-05-15T23:45:56Z","git_url":"git://github.com/maclover7/rails.git","ssh_url":"git@github.com:maclover7/rails.git","clone_url":"https://github.com/maclover7/rails.git","svn_url":"https://github.com/maclover7/rails","homepage":"http://rubyonrails.org","size":131179,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"809236bc4c608e50262de4f82df79b45da1df2d4","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2016-05-16T17:29:56Z","pushed_at":"2016-05-16T19:38:48Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":341023,"stargazers_count":31154,"watchers_count":31154,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12624,"mirror_url":null,"open_issues_count":978,"forks":12624,"open_issues":978,"watchers":31154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/24900"},"html":{"href":"https://github.com/rails/rails/pull/24900"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/24900"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/24900/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/24900/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/24900/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/5288805bb4c644cabf1dc854a2590672f4912ff0"}}}}