{"action":"closed","number":210,"pull_request":{"url":"https://api.github.com/repos/geminabox/geminabox/pulls/210","id":44386900,"html_url":"https://github.com/geminabox/geminabox/pull/210","diff_url":"https://github.com/geminabox/geminabox/pull/210.diff","patch_url":"https://github.com/geminabox/geminabox/pull/210.patch","issue_url":"https://api.github.com/repos/geminabox/geminabox/issues/210","number":210,"state":"closed","locked":false,"title":"Use Fixnum code for errors","user":{"login":"bwilkins","id":75599,"avatar_url":"https://avatars.githubusercontent.com/u/75599?v=3","gravatar_id":"","url":"https://api.github.com/users/bwilkins","html_url":"https://github.com/bwilkins","followers_url":"https://api.github.com/users/bwilkins/followers","following_url":"https://api.github.com/users/bwilkins/following{/other_user}","gists_url":"https://api.github.com/users/bwilkins/gists{/gist_id}","starred_url":"https://api.github.com/users/bwilkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwilkins/subscriptions","organizations_url":"https://api.github.com/users/bwilkins/orgs","repos_url":"https://api.github.com/users/bwilkins/repos","events_url":"https://api.github.com/users/bwilkins/events{/privacy}","received_events_url":"https://api.github.com/users/bwilkins/received_events","type":"User","site_admin":false},"body":"Sinatra relies on the code sent to `#halt` being a Fixnum. If it is not, it sends the status code as a part of the body, for example:\r\n```\r\n409Updating an existing gem is not permitted.\r\nYou should either delete the existing version, or change your version number.\r\n```\r\nThe above is the HTTP response body received when trying to re-upload a gem version, without the overwrite flag set. The status of the HTTP response is `200`, whereas it should be `409`.","created_at":"2015-09-08T02:05:04Z","updated_at":"2016-02-15T17:29:51Z","closed_at":"2016-02-15T17:29:51Z","merged_at":null,"merge_commit_sha":"1716bb2b9dceb284931651eed8da0858a61e362c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geminabox/geminabox/pulls/210/commits","review_comments_url":"https://api.github.com/repos/geminabox/geminabox/pulls/210/comments","review_comment_url":"https://api.github.com/repos/geminabox/geminabox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geminabox/geminabox/issues/210/comments","statuses_url":"https://api.github.com/repos/geminabox/geminabox/statuses/6376a4296b53f61b46661d161c5bc8fb3e9a3807","head":{"label":"hooroo:master","ref":"master","sha":"6376a4296b53f61b46661d161c5bc8fb3e9a3807","user":{"login":"hooroo","id":785479,"avatar_url":"https://avatars.githubusercontent.com/u/785479?v=3","gravatar_id":"","url":"https://api.github.com/users/hooroo","html_url":"https://github.com/hooroo","followers_url":"https://api.github.com/users/hooroo/followers","following_url":"https://api.github.com/users/hooroo/following{/other_user}","gists_url":"https://api.github.com/users/hooroo/gists{/gist_id}","starred_url":"https://api.github.com/users/hooroo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hooroo/subscriptions","organizations_url":"https://api.github.com/users/hooroo/orgs","repos_url":"https://api.github.com/users/hooroo/repos","events_url":"https://api.github.com/users/hooroo/events{/privacy}","received_events_url":"https://api.github.com/users/hooroo/received_events","type":"Organization","site_admin":false},"repo":{"id":42082340,"name":"geminabox","full_name":"hooroo/geminabox","owner":{"login":"hooroo","id":785479,"avatar_url":"https://avatars.githubusercontent.com/u/785479?v=3","gravatar_id":"","url":"https://api.github.com/users/hooroo","html_url":"https://github.com/hooroo","followers_url":"https://api.github.com/users/hooroo/followers","following_url":"https://api.github.com/users/hooroo/following{/other_user}","gists_url":"https://api.github.com/users/hooroo/gists{/gist_id}","starred_url":"https://api.github.com/users/hooroo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hooroo/subscriptions","organizations_url":"https://api.github.com/users/hooroo/orgs","repos_url":"https://api.github.com/users/hooroo/repos","events_url":"https://api.github.com/users/hooroo/events{/privacy}","received_events_url":"https://api.github.com/users/hooroo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hooroo/geminabox","description":"Really simple rubygem hosting","fork":true,"url":"https://api.github.com/repos/hooroo/geminabox","forks_url":"https://api.github.com/repos/hooroo/geminabox/forks","keys_url":"https://api.github.com/repos/hooroo/geminabox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hooroo/geminabox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hooroo/geminabox/teams","hooks_url":"https://api.github.com/repos/hooroo/geminabox/hooks","issue_events_url":"https://api.github.com/repos/hooroo/geminabox/issues/events{/number}","events_url":"https://api.github.com/repos/hooroo/geminabox/events","assignees_url":"https://api.github.com/repos/hooroo/geminabox/assignees{/user}","branches_url":"https://api.github.com/repos/hooroo/geminabox/branches{/branch}","tags_url":"https://api.github.com/repos/hooroo/geminabox/tags","blobs_url":"https://api.github.com/repos/hooroo/geminabox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hooroo/geminabox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hooroo/geminabox/git/refs{/sha}","trees_url":"https://api.github.com/repos/hooroo/geminabox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hooroo/geminabox/statuses/{sha}","languages_url":"https://api.github.com/repos/hooroo/geminabox/languages","stargazers_url":"https://api.github.com/repos/hooroo/geminabox/stargazers","contributors_url":"https://api.github.com/repos/hooroo/geminabox/contributors","subscribers_url":"https://api.github.com/repos/hooroo/geminabox/subscribers","subscription_url":"https://api.github.com/repos/hooroo/geminabox/subscription","commits_url":"https://api.github.com/repos/hooroo/geminabox/commits{/sha}","git_commits_url":"https://api.github.com/repos/hooroo/geminabox/git/commits{/sha}","comments_url":"https://api.github.com/repos/hooroo/geminabox/comments{/number}","issue_comment_url":"https://api.github.com/repos/hooroo/geminabox/issues/comments{/number}","contents_url":"https://api.github.com/repos/hooroo/geminabox/contents/{+path}","compare_url":"https://api.github.com/repos/hooroo/geminabox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hooroo/geminabox/merges","archive_url":"https://api.github.com/repos/hooroo/geminabox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hooroo/geminabox/downloads","issues_url":"https://api.github.com/repos/hooroo/geminabox/issues{/number}","pulls_url":"https://api.github.com/repos/hooroo/geminabox/pulls{/number}","milestones_url":"https://api.github.com/repos/hooroo/geminabox/milestones{/number}","notifications_url":"https://api.github.com/repos/hooroo/geminabox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hooroo/geminabox/labels{/name}","releases_url":"https://api.github.com/repos/hooroo/geminabox/releases{/id}","deployments_url":"https://api.github.com/repos/hooroo/geminabox/deployments","created_at":"2015-09-08T01:19:38Z","updated_at":"2016-02-14T23:48:54Z","pushed_at":"2016-02-14T23:48:52Z","git_url":"git://github.com/hooroo/geminabox.git","ssh_url":"git@github.com:hooroo/geminabox.git","clone_url":"https://github.com/hooroo/geminabox.git","svn_url":"https://github.com/hooroo/geminabox","homepage":"http://tomlea.co.uk/p/gem-in-a-box","size":382,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"geminabox:master","ref":"master","sha":"46c5a1df162c58dd1317275c6cfb8e6da6c7747e","user":{"login":"geminabox","id":4691833,"avatar_url":"https://avatars.githubusercontent.com/u/4691833?v=3","gravatar_id":"","url":"https://api.github.com/users/geminabox","html_url":"https://github.com/geminabox","followers_url":"https://api.github.com/users/geminabox/followers","following_url":"https://api.github.com/users/geminabox/following{/other_user}","gists_url":"https://api.github.com/users/geminabox/gists{/gist_id}","starred_url":"https://api.github.com/users/geminabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geminabox/subscriptions","organizations_url":"https://api.github.com/users/geminabox/orgs","repos_url":"https://api.github.com/users/geminabox/repos","events_url":"https://api.github.com/users/geminabox/events{/privacy}","received_events_url":"https://api.github.com/users/geminabox/received_events","type":"Organization","site_admin":false},"repo":{"id":463074,"name":"geminabox","full_name":"geminabox/geminabox","owner":{"login":"geminabox","id":4691833,"avatar_url":"https://avatars.githubusercontent.com/u/4691833?v=3","gravatar_id":"","url":"https://api.github.com/users/geminabox","html_url":"https://github.com/geminabox","followers_url":"https://api.github.com/users/geminabox/followers","following_url":"https://api.github.com/users/geminabox/following{/other_user}","gists_url":"https://api.github.com/users/geminabox/gists{/gist_id}","starred_url":"https://api.github.com/users/geminabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geminabox/subscriptions","organizations_url":"https://api.github.com/users/geminabox/orgs","repos_url":"https://api.github.com/users/geminabox/repos","events_url":"https://api.github.com/users/geminabox/events{/privacy}","received_events_url":"https://api.github.com/users/geminabox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geminabox/geminabox","description":"Really simple rubygem hosting","fork":false,"url":"https://api.github.com/repos/geminabox/geminabox","forks_url":"https://api.github.com/repos/geminabox/geminabox/forks","keys_url":"https://api.github.com/repos/geminabox/geminabox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geminabox/geminabox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geminabox/geminabox/teams","hooks_url":"https://api.github.com/repos/geminabox/geminabox/hooks","issue_events_url":"https://api.github.com/repos/geminabox/geminabox/issues/events{/number}","events_url":"https://api.github.com/repos/geminabox/geminabox/events","assignees_url":"https://api.github.com/repos/geminabox/geminabox/assignees{/user}","branches_url":"https://api.github.com/repos/geminabox/geminabox/branches{/branch}","tags_url":"https://api.github.com/repos/geminabox/geminabox/tags","blobs_url":"https://api.github.com/repos/geminabox/geminabox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geminabox/geminabox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geminabox/geminabox/git/refs{/sha}","trees_url":"https://api.github.com/repos/geminabox/geminabox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geminabox/geminabox/statuses/{sha}","languages_url":"https://api.github.com/repos/geminabox/geminabox/languages","stargazers_url":"https://api.github.com/repos/geminabox/geminabox/stargazers","contributors_url":"https://api.github.com/repos/geminabox/geminabox/contributors","subscribers_url":"https://api.github.com/repos/geminabox/geminabox/subscribers","subscription_url":"https://api.github.com/repos/geminabox/geminabox/subscription","commits_url":"https://api.github.com/repos/geminabox/geminabox/commits{/sha}","git_commits_url":"https://api.github.com/repos/geminabox/geminabox/git/commits{/sha}","comments_url":"https://api.github.com/repos/geminabox/geminabox/comments{/number}","issue_comment_url":"https://api.github.com/repos/geminabox/geminabox/issues/comments{/number}","contents_url":"https://api.github.com/repos/geminabox/geminabox/contents/{+path}","compare_url":"https://api.github.com/repos/geminabox/geminabox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geminabox/geminabox/merges","archive_url":"https://api.github.com/repos/geminabox/geminabox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geminabox/geminabox/downloads","issues_url":"https://api.github.com/repos/geminabox/geminabox/issues{/number}","pulls_url":"https://api.github.com/repos/geminabox/geminabox/pulls{/number}","milestones_url":"https://api.github.com/repos/geminabox/geminabox/milestones{/number}","notifications_url":"https://api.github.com/repos/geminabox/geminabox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geminabox/geminabox/labels{/name}","releases_url":"https://api.github.com/repos/geminabox/geminabox/releases{/id}","deployments_url":"https://api.github.com/repos/geminabox/geminabox/deployments","created_at":"2010-01-07T23:05:13Z","updated_at":"2016-02-14T23:08:17Z","pushed_at":"2016-02-15T17:27:27Z","git_url":"git://github.com/geminabox/geminabox.git","ssh_url":"git@github.com:geminabox/geminabox.git","clone_url":"https://github.com/geminabox/geminabox.git","svn_url":"https://github.com/geminabox/geminabox","homepage":"http://tomlea.co.uk/p/gem-in-a-box","size":1089,"stargazers_count":1010,"watchers_count":1010,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":252,"mirror_url":null,"open_issues_count":64,"forks":252,"open_issues":64,"watchers":1010,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geminabox/geminabox/pulls/210"},"html":{"href":"https://github.com/geminabox/geminabox/pull/210"},"issue":{"href":"https://api.github.com/repos/geminabox/geminabox/issues/210"},"comments":{"href":"https://api.github.com/repos/geminabox/geminabox/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/geminabox/geminabox/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/geminabox/geminabox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geminabox/geminabox/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/geminabox/geminabox/statuses/6376a4296b53f61b46661d161c5bc8fb3e9a3807"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":3,"additions":13,"deletions":10,"changed_files":7}}