{"action":"created","comment":{"url":"https://api.github.com/repos/github/hub/pulls/comments/85815244","pull_request_review_id":6508761,"id":85815244,"diff_hunk":"@@ -367,6 +367,36 @@ MARKDOWN\n           ASSET_TARBALL\n           \"\"\"\n \n+  Scenario: Delete a release\n+    Given the GitHub API server:\n+      \"\"\"\n+      get('/repos/mislav/will_paginate/releases') {\n+          json [\n+            { url: 'https://api.github.com/repos/mislav/will_paginate/releases/123',\n+              upload_url: 'https://api.github.com/uploads/assets{?name,label}',\n+              tag_name: 'v1.2.0',\n+              name: 'will_paginate 1.2.0',\n+              draft: true,\n+              prerelease: false,\n+              assets: [\n+                { url: 'https://api.github.com/repos/mislav/will_paginate/assets/9876',","path":"features/release.feature","position":16,"original_position":16,"commit_id":"9c998f2ffb0e68163f6dde210c9c754945afc9a7","original_commit_id":"9c998f2ffb0e68163f6dde210c9c754945afc9a7","user":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"body":"Haha, sorry about that! What was the hardest part?","created_at":"2016-10-31T19:32:24Z","updated_at":"2016-10-31T19:32:24Z","html_url":"https://github.com/github/hub/pull/1327#discussion_r85815244","pull_request_url":"https://api.github.com/repos/github/hub/pulls/1327","_links":{"self":{"href":"https://api.github.com/repos/github/hub/pulls/comments/85815244"},"html":{"href":"https://github.com/github/hub/pull/1327#discussion_r85815244"},"pull_request":{"href":"https://api.github.com/repos/github/hub/pulls/1327"}}},"pull_request":{"url":"https://api.github.com/repos/github/hub/pulls/1327","id":91653577,"html_url":"https://github.com/github/hub/pull/1327","diff_url":"https://github.com/github/hub/pull/1327.diff","patch_url":"https://github.com/github/hub/pull/1327.patch","issue_url":"https://api.github.com/repos/github/hub/issues/1327","number":1327,"state":"open","locked":false,"title":"Add ability to delete releases","user":{"login":"wesbland","id":1561207,"avatar_url":"https://avatars.githubusercontent.com/u/1561207?v=3","gravatar_id":"","url":"https://api.github.com/users/wesbland","html_url":"https://github.com/wesbland","followers_url":"https://api.github.com/users/wesbland/followers","following_url":"https://api.github.com/users/wesbland/following{/other_user}","gists_url":"https://api.github.com/users/wesbland/gists{/gist_id}","starred_url":"https://api.github.com/users/wesbland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesbland/subscriptions","organizations_url":"https://api.github.com/users/wesbland/orgs","repos_url":"https://api.github.com/users/wesbland/repos","events_url":"https://api.github.com/users/wesbland/events{/privacy}","received_events_url":"https://api.github.com/users/wesbland/received_events","type":"User","site_admin":false},"body":"To mirror all the other `hub release` commands, allow the user to delete\r\nreleases from the command line. The new subcommand takes only one\r\nargument (the tag of the release being deleted).\r\n\r\nFixes #1326","created_at":"2016-10-31T17:31:58Z","updated_at":"2016-10-31T19:32:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef1d6caee781fc4e1cfd6a3e0678fb9c9ba24da4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/github/hub/pulls/1327/commits","review_comments_url":"https://api.github.com/repos/github/hub/pulls/1327/comments","review_comment_url":"https://api.github.com/repos/github/hub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/hub/issues/1327/comments","statuses_url":"https://api.github.com/repos/github/hub/statuses/9c998f2ffb0e68163f6dde210c9c754945afc9a7","head":{"label":"wesbland:delete_release","ref":"delete_release","sha":"9c998f2ffb0e68163f6dde210c9c754945afc9a7","user":{"login":"wesbland","id":1561207,"avatar_url":"https://avatars.githubusercontent.com/u/1561207?v=3","gravatar_id":"","url":"https://api.github.com/users/wesbland","html_url":"https://github.com/wesbland","followers_url":"https://api.github.com/users/wesbland/followers","following_url":"https://api.github.com/users/wesbland/following{/other_user}","gists_url":"https://api.github.com/users/wesbland/gists{/gist_id}","starred_url":"https://api.github.com/users/wesbland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesbland/subscriptions","organizations_url":"https://api.github.com/users/wesbland/orgs","repos_url":"https://api.github.com/users/wesbland/repos","events_url":"https://api.github.com/users/wesbland/events{/privacy}","received_events_url":"https://api.github.com/users/wesbland/received_events","type":"User","site_admin":false},"repo":{"id":72460912,"name":"hub","full_name":"wesbland/hub","owner":{"login":"wesbland","id":1561207,"avatar_url":"https://avatars.githubusercontent.com/u/1561207?v=3","gravatar_id":"","url":"https://api.github.com/users/wesbland","html_url":"https://github.com/wesbland","followers_url":"https://api.github.com/users/wesbland/followers","following_url":"https://api.github.com/users/wesbland/following{/other_user}","gists_url":"https://api.github.com/users/wesbland/gists{/gist_id}","starred_url":"https://api.github.com/users/wesbland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesbland/subscriptions","organizations_url":"https://api.github.com/users/wesbland/orgs","repos_url":"https://api.github.com/users/wesbland/repos","events_url":"https://api.github.com/users/wesbland/events{/privacy}","received_events_url":"https://api.github.com/users/wesbland/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wesbland/hub","description":"hub helps you win at git.","fork":true,"url":"https://api.github.com/repos/wesbland/hub","forks_url":"https://api.github.com/repos/wesbland/hub/forks","keys_url":"https://api.github.com/repos/wesbland/hub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wesbland/hub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wesbland/hub/teams","hooks_url":"https://api.github.com/repos/wesbland/hub/hooks","issue_events_url":"https://api.github.com/repos/wesbland/hub/issues/events{/number}","events_url":"https://api.github.com/repos/wesbland/hub/events","assignees_url":"https://api.github.com/repos/wesbland/hub/assignees{/user}","branches_url":"https://api.github.com/repos/wesbland/hub/branches{/branch}","tags_url":"https://api.github.com/repos/wesbland/hub/tags","blobs_url":"https://api.github.com/repos/wesbland/hub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wesbland/hub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wesbland/hub/git/refs{/sha}","trees_url":"https://api.github.com/repos/wesbland/hub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wesbland/hub/statuses/{sha}","languages_url":"https://api.github.com/repos/wesbland/hub/languages","stargazers_url":"https://api.github.com/repos/wesbland/hub/stargazers","contributors_url":"https://api.github.com/repos/wesbland/hub/contributors","subscribers_url":"https://api.github.com/repos/wesbland/hub/subscribers","subscription_url":"https://api.github.com/repos/wesbland/hub/subscription","commits_url":"https://api.github.com/repos/wesbland/hub/commits{/sha}","git_commits_url":"https://api.github.com/repos/wesbland/hub/git/commits{/sha}","comments_url":"https://api.github.com/repos/wesbland/hub/comments{/number}","issue_comment_url":"https://api.github.com/repos/wesbland/hub/issues/comments{/number}","contents_url":"https://api.github.com/repos/wesbland/hub/contents/{+path}","compare_url":"https://api.github.com/repos/wesbland/hub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wesbland/hub/merges","archive_url":"https://api.github.com/repos/wesbland/hub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wesbland/hub/downloads","issues_url":"https://api.github.com/repos/wesbland/hub/issues{/number}","pulls_url":"https://api.github.com/repos/wesbland/hub/pulls{/number}","milestones_url":"https://api.github.com/repos/wesbland/hub/milestones{/number}","notifications_url":"https://api.github.com/repos/wesbland/hub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wesbland/hub/labels{/name}","releases_url":"https://api.github.com/repos/wesbland/hub/releases{/id}","deployments_url":"https://api.github.com/repos/wesbland/hub/deployments","created_at":"2016-10-31T17:30:42Z","updated_at":"2016-10-31T17:30:43Z","pushed_at":"2016-10-31T17:38:11Z","git_url":"git://github.com/wesbland/hub.git","ssh_url":"git@github.com:wesbland/hub.git","clone_url":"https://github.com/wesbland/hub.git","svn_url":"https://github.com/wesbland/hub","homepage":"http://hub.github.com/","size":3691,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"github:master","ref":"master","sha":"cbd0189f60c71355f1903759c397a69cd3a0c861","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":401025,"name":"hub","full_name":"github/hub","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/hub","description":"hub helps you win at git.","fork":false,"url":"https://api.github.com/repos/github/hub","forks_url":"https://api.github.com/repos/github/hub/forks","keys_url":"https://api.github.com/repos/github/hub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/hub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/hub/teams","hooks_url":"https://api.github.com/repos/github/hub/hooks","issue_events_url":"https://api.github.com/repos/github/hub/issues/events{/number}","events_url":"https://api.github.com/repos/github/hub/events","assignees_url":"https://api.github.com/repos/github/hub/assignees{/user}","branches_url":"https://api.github.com/repos/github/hub/branches{/branch}","tags_url":"https://api.github.com/repos/github/hub/tags","blobs_url":"https://api.github.com/repos/github/hub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/hub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/hub/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/hub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/hub/statuses/{sha}","languages_url":"https://api.github.com/repos/github/hub/languages","stargazers_url":"https://api.github.com/repos/github/hub/stargazers","contributors_url":"https://api.github.com/repos/github/hub/contributors","subscribers_url":"https://api.github.com/repos/github/hub/subscribers","subscription_url":"https://api.github.com/repos/github/hub/subscription","commits_url":"https://api.github.com/repos/github/hub/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/hub/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/hub/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/hub/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/hub/contents/{+path}","compare_url":"https://api.github.com/repos/github/hub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/hub/merges","archive_url":"https://api.github.com/repos/github/hub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/hub/downloads","issues_url":"https://api.github.com/repos/github/hub/issues{/number}","pulls_url":"https://api.github.com/repos/github/hub/pulls{/number}","milestones_url":"https://api.github.com/repos/github/hub/milestones{/number}","notifications_url":"https://api.github.com/repos/github/hub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/hub/labels{/name}","releases_url":"https://api.github.com/repos/github/hub/releases{/id}","deployments_url":"https://api.github.com/repos/github/hub/deployments","created_at":"2009-12-05T22:15:25Z","updated_at":"2016-10-31T08:33:45Z","pushed_at":"2016-10-31T17:38:11Z","git_url":"git://github.com/github/hub.git","ssh_url":"git@github.com:github/hub.git","clone_url":"https://github.com/github/hub.git","svn_url":"https://github.com/github/hub","homepage":"http://hub.github.com/","size":6192,"stargazers_count":9345,"watchers_count":9345,"language":"Go","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":857,"mirror_url":null,"open_issues_count":138,"forks":857,"open_issues":138,"watchers":9345,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/hub/pulls/1327"},"html":{"href":"https://github.com/github/hub/pull/1327"},"issue":{"href":"https://api.github.com/repos/github/hub/issues/1327"},"comments":{"href":"https://api.github.com/repos/github/hub/issues/1327/comments"},"review_comments":{"href":"https://api.github.com/repos/github/hub/pulls/1327/comments"},"review_comment":{"href":"https://api.github.com/repos/github/hub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/hub/pulls/1327/commits"},"statuses":{"href":"https://api.github.com/repos/github/hub/statuses/9c998f2ffb0e68163f6dde210c9c754945afc9a7"}}}}
{"actor":{"display_login":"mislav"}}