{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/dstrunk/captain/pulls/4","id":34608004,"html_url":"https://github.com/dstrunk/captain/pull/4","diff_url":"https://github.com/dstrunk/captain/pull/4.diff","patch_url":"https://github.com/dstrunk/captain/pull/4.patch","issue_url":"https://api.github.com/repos/dstrunk/captain/issues/4","number":4,"state":"closed","locked":false,"title":"Add Sinatra basic HTTP Authentication","user":{"login":"dstrunk","id":621296,"avatar_url":"https://avatars.githubusercontent.com/u/621296?v=3","gravatar_id":"","url":"https://api.github.com/users/dstrunk","html_url":"https://github.com/dstrunk","followers_url":"https://api.github.com/users/dstrunk/followers","following_url":"https://api.github.com/users/dstrunk/following{/other_user}","gists_url":"https://api.github.com/users/dstrunk/gists{/gist_id}","starred_url":"https://api.github.com/users/dstrunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstrunk/subscriptions","organizations_url":"https://api.github.com/users/dstrunk/orgs","repos_url":"https://api.github.com/users/dstrunk/repos","events_url":"https://api.github.com/users/dstrunk/events{/privacy}","received_events_url":"https://api.github.com/users/dstrunk/received_events","type":"User","site_admin":false},"body":"This pull request got away from me, but at its core has all that is necessary for basic HTTP authentication. Also involved are a totally revamped file organization, reminiscent of barebones Rails, and the beginnings of an adequate test unit.","created_at":"2015-05-03T21:22:25Z","updated_at":"2015-05-03T21:25:05Z","closed_at":"2015-05-03T21:25:05Z","merged_at":"2015-05-03T21:25:05Z","merge_commit_sha":"2c5a087d5d0520460fb5bd8e1c9d5266643e694d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dstrunk/captain/pulls/4/commits","review_comments_url":"https://api.github.com/repos/dstrunk/captain/pulls/4/comments","review_comment_url":"https://api.github.com/repos/dstrunk/captain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dstrunk/captain/issues/4/comments","statuses_url":"https://api.github.com/repos/dstrunk/captain/statuses/4593cb9e19a6c7223bd9c6dee985b0ac9d19825e","head":{"label":"dstrunk:ds-authentication","ref":"ds-authentication","sha":"4593cb9e19a6c7223bd9c6dee985b0ac9d19825e","user":{"login":"dstrunk","id":621296,"avatar_url":"https://avatars.githubusercontent.com/u/621296?v=3","gravatar_id":"","url":"https://api.github.com/users/dstrunk","html_url":"https://github.com/dstrunk","followers_url":"https://api.github.com/users/dstrunk/followers","following_url":"https://api.github.com/users/dstrunk/following{/other_user}","gists_url":"https://api.github.com/users/dstrunk/gists{/gist_id}","starred_url":"https://api.github.com/users/dstrunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstrunk/subscriptions","organizations_url":"https://api.github.com/users/dstrunk/orgs","repos_url":"https://api.github.com/users/dstrunk/repos","events_url":"https://api.github.com/users/dstrunk/events{/privacy}","received_events_url":"https://api.github.com/users/dstrunk/received_events","type":"User","site_admin":false},"repo":{"id":34888369,"name":"captain","full_name":"dstrunk/captain","owner":{"login":"dstrunk","id":621296,"avatar_url":"https://avatars.githubusercontent.com/u/621296?v=3","gravatar_id":"","url":"https://api.github.com/users/dstrunk","html_url":"https://github.com/dstrunk","followers_url":"https://api.github.com/users/dstrunk/followers","following_url":"https://api.github.com/users/dstrunk/following{/other_user}","gists_url":"https://api.github.com/users/dstrunk/gists{/gist_id}","starred_url":"https://api.github.com/users/dstrunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstrunk/subscriptions","organizations_url":"https://api.github.com/users/dstrunk/orgs","repos_url":"https://api.github.com/users/dstrunk/repos","events_url":"https://api.github.com/users/dstrunk/events{/privacy}","received_events_url":"https://api.github.com/users/dstrunk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dstrunk/captain","description":"A quick Sinatra app to handle webhooks","fork":false,"url":"https://api.github.com/repos/dstrunk/captain","forks_url":"https://api.github.com/repos/dstrunk/captain/forks","keys_url":"https://api.github.com/repos/dstrunk/captain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dstrunk/captain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dstrunk/captain/teams","hooks_url":"https://api.github.com/repos/dstrunk/captain/hooks","issue_events_url":"https://api.github.com/repos/dstrunk/captain/issues/events{/number}","events_url":"https://api.github.com/repos/dstrunk/captain/events","assignees_url":"https://api.github.com/repos/dstrunk/captain/assignees{/user}","branches_url":"https://api.github.com/repos/dstrunk/captain/branches{/branch}","tags_url":"https://api.github.com/repos/dstrunk/captain/tags","blobs_url":"https://api.github.com/repos/dstrunk/captain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dstrunk/captain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dstrunk/captain/git/refs{/sha}","trees_url":"https://api.github.com/repos/dstrunk/captain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dstrunk/captain/statuses/{sha}","languages_url":"https://api.github.com/repos/dstrunk/captain/languages","stargazers_url":"https://api.github.com/repos/dstrunk/captain/stargazers","contributors_url":"https://api.github.com/repos/dstrunk/captain/contributors","subscribers_url":"https://api.github.com/repos/dstrunk/captain/subscribers","subscription_url":"https://api.github.com/repos/dstrunk/captain/subscription","commits_url":"https://api.github.com/repos/dstrunk/captain/commits{/sha}","git_commits_url":"https://api.github.com/repos/dstrunk/captain/git/commits{/sha}","comments_url":"https://api.github.com/repos/dstrunk/captain/comments{/number}","issue_comment_url":"https://api.github.com/repos/dstrunk/captain/issues/comments{/number}","contents_url":"https://api.github.com/repos/dstrunk/captain/contents/{+path}","compare_url":"https://api.github.com/repos/dstrunk/captain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dstrunk/captain/merges","archive_url":"https://api.github.com/repos/dstrunk/captain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dstrunk/captain/downloads","issues_url":"https://api.github.com/repos/dstrunk/captain/issues{/number}","pulls_url":"https://api.github.com/repos/dstrunk/captain/pulls{/number}","milestones_url":"https://api.github.com/repos/dstrunk/captain/milestones{/number}","notifications_url":"https://api.github.com/repos/dstrunk/captain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dstrunk/captain/labels{/name}","releases_url":"https://api.github.com/repos/dstrunk/captain/releases{/id}","created_at":"2015-05-01T03:36:12Z","updated_at":"2015-05-02T22:10:13Z","pushed_at":"2015-05-03T21:25:05Z","git_url":"git://github.com/dstrunk/captain.git","ssh_url":"git@github.com:dstrunk/captain.git","clone_url":"https://github.com/dstrunk/captain.git","svn_url":"https://github.com/dstrunk/captain","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"dstrunk:master","ref":"master","sha":"70b99472a876857ce6693429b706ab86ac9ab60e","user":{"login":"dstrunk","id":621296,"avatar_url":"https://avatars.githubusercontent.com/u/621296?v=3","gravatar_id":"","url":"https://api.github.com/users/dstrunk","html_url":"https://github.com/dstrunk","followers_url":"https://api.github.com/users/dstrunk/followers","following_url":"https://api.github.com/users/dstrunk/following{/other_user}","gists_url":"https://api.github.com/users/dstrunk/gists{/gist_id}","starred_url":"https://api.github.com/users/dstrunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstrunk/subscriptions","organizations_url":"https://api.github.com/users/dstrunk/orgs","repos_url":"https://api.github.com/users/dstrunk/repos","events_url":"https://api.github.com/users/dstrunk/events{/privacy}","received_events_url":"https://api.github.com/users/dstrunk/received_events","type":"User","site_admin":false},"repo":{"id":34888369,"name":"captain","full_name":"dstrunk/captain","owner":{"login":"dstrunk","id":621296,"avatar_url":"https://avatars.githubusercontent.com/u/621296?v=3","gravatar_id":"","url":"https://api.github.com/users/dstrunk","html_url":"https://github.com/dstrunk","followers_url":"https://api.github.com/users/dstrunk/followers","following_url":"https://api.github.com/users/dstrunk/following{/other_user}","gists_url":"https://api.github.com/users/dstrunk/gists{/gist_id}","starred_url":"https://api.github.com/users/dstrunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstrunk/subscriptions","organizations_url":"https://api.github.com/users/dstrunk/orgs","repos_url":"https://api.github.com/users/dstrunk/repos","events_url":"https://api.github.com/users/dstrunk/events{/privacy}","received_events_url":"https://api.github.com/users/dstrunk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dstrunk/captain","description":"A quick Sinatra app to handle webhooks","fork":false,"url":"https://api.github.com/repos/dstrunk/captain","forks_url":"https://api.github.com/repos/dstrunk/captain/forks","keys_url":"https://api.github.com/repos/dstrunk/captain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dstrunk/captain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dstrunk/captain/teams","hooks_url":"https://api.github.com/repos/dstrunk/captain/hooks","issue_events_url":"https://api.github.com/repos/dstrunk/captain/issues/events{/number}","events_url":"https://api.github.com/repos/dstrunk/captain/events","assignees_url":"https://api.github.com/repos/dstrunk/captain/assignees{/user}","branches_url":"https://api.github.com/repos/dstrunk/captain/branches{/branch}","tags_url":"https://api.github.com/repos/dstrunk/captain/tags","blobs_url":"https://api.github.com/repos/dstrunk/captain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dstrunk/captain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dstrunk/captain/git/refs{/sha}","trees_url":"https://api.github.com/repos/dstrunk/captain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dstrunk/captain/statuses/{sha}","languages_url":"https://api.github.com/repos/dstrunk/captain/languages","stargazers_url":"https://api.github.com/repos/dstrunk/captain/stargazers","contributors_url":"https://api.github.com/repos/dstrunk/captain/contributors","subscribers_url":"https://api.github.com/repos/dstrunk/captain/subscribers","subscription_url":"https://api.github.com/repos/dstrunk/captain/subscription","commits_url":"https://api.github.com/repos/dstrunk/captain/commits{/sha}","git_commits_url":"https://api.github.com/repos/dstrunk/captain/git/commits{/sha}","comments_url":"https://api.github.com/repos/dstrunk/captain/comments{/number}","issue_comment_url":"https://api.github.com/repos/dstrunk/captain/issues/comments{/number}","contents_url":"https://api.github.com/repos/dstrunk/captain/contents/{+path}","compare_url":"https://api.github.com/repos/dstrunk/captain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dstrunk/captain/merges","archive_url":"https://api.github.com/repos/dstrunk/captain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dstrunk/captain/downloads","issues_url":"https://api.github.com/repos/dstrunk/captain/issues{/number}","pulls_url":"https://api.github.com/repos/dstrunk/captain/pulls{/number}","milestones_url":"https://api.github.com/repos/dstrunk/captain/milestones{/number}","notifications_url":"https://api.github.com/repos/dstrunk/captain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dstrunk/captain/labels{/name}","releases_url":"https://api.github.com/repos/dstrunk/captain/releases{/id}","created_at":"2015-05-01T03:36:12Z","updated_at":"2015-05-02T22:10:13Z","pushed_at":"2015-05-03T21:25:05Z","git_url":"git://github.com/dstrunk/captain.git","ssh_url":"git@github.com:dstrunk/captain.git","clone_url":"https://github.com/dstrunk/captain.git","svn_url":"https://github.com/dstrunk/captain","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dstrunk/captain/pulls/4"},"html":{"href":"https://github.com/dstrunk/captain/pull/4"},"issue":{"href":"https://api.github.com/repos/dstrunk/captain/issues/4"},"comments":{"href":"https://api.github.com/repos/dstrunk/captain/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/dstrunk/captain/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/dstrunk/captain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dstrunk/captain/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/dstrunk/captain/statuses/4593cb9e19a6c7223bd9c6dee985b0ac9d19825e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dstrunk","id":621296,"avatar_url":"https://avatars.githubusercontent.com/u/621296?v=3","gravatar_id":"","url":"https://api.github.com/users/dstrunk","html_url":"https://github.com/dstrunk","followers_url":"https://api.github.com/users/dstrunk/followers","following_url":"https://api.github.com/users/dstrunk/following{/other_user}","gists_url":"https://api.github.com/users/dstrunk/gists{/gist_id}","starred_url":"https://api.github.com/users/dstrunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstrunk/subscriptions","organizations_url":"https://api.github.com/users/dstrunk/orgs","repos_url":"https://api.github.com/users/dstrunk/repos","events_url":"https://api.github.com/users/dstrunk/events{/privacy}","received_events_url":"https://api.github.com/users/dstrunk/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":9,"additions":179,"deletions":10,"changed_files":18}}