{"action":"created","comment":{"url":"https://api.github.com/repos/arthurnn/policial.io/pulls/comments/27519851","id":27519851,"diff_hunk":"@@ -1,5 +1,8 @@\n Rails.application.routes.draw do\n   resources :builds, only: [:index, :show, :create]\n \n+  get '/auth/github/callback', to: 'auth#github'\n+  get '/logout', to: 'auth#logout'","path":"config/routes.rb","position":5,"original_position":5,"commit_id":"5b5db09235059edf60dad7ffe7ca19934ef4afe8","original_commit_id":"5b5db09235059edf60dad7ffe7ca19934ef4afe8","user":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":false},"body":"We dont have it yet.. as I dont know where to add it in the UI yet.","created_at":"2015-03-31T20:30:23Z","updated_at":"2015-03-31T20:30:23Z","html_url":"https://github.com/arthurnn/policial.io/pull/7#discussion_r27519851","pull_request_url":"https://api.github.com/repos/arthurnn/policial.io/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/arthurnn/policial.io/pulls/comments/27519851"},"html":{"href":"https://github.com/arthurnn/policial.io/pull/7#discussion_r27519851"},"pull_request":{"href":"https://api.github.com/repos/arthurnn/policial.io/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/arthurnn/policial.io/pulls/7","id":32359096,"html_url":"https://github.com/arthurnn/policial.io/pull/7","diff_url":"https://github.com/arthurnn/policial.io/pull/7.diff","patch_url":"https://github.com/arthurnn/policial.io/pull/7.patch","issue_url":"https://api.github.com/repos/arthurnn/policial.io/issues/7","number":7,"state":"open","locked":false,"title":"Add basic login/logout functionality.","user":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":false},"body":"review @volmer \r\n\r\nFor now I am not persisting the User model, but I guess we will have to, so we can use that to send notifications back to github and to register the webhook.","created_at":"2015-03-31T19:53:37Z","updated_at":"2015-03-31T20:30:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d80718d9746e8061c449cfe6d0921be6b9b7fa0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arthurnn/policial.io/pulls/7/commits","review_comments_url":"https://api.github.com/repos/arthurnn/policial.io/pulls/7/comments","review_comment_url":"https://api.github.com/repos/arthurnn/policial.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arthurnn/policial.io/issues/7/comments","statuses_url":"https://api.github.com/repos/arthurnn/policial.io/statuses/5b5db09235059edf60dad7ffe7ca19934ef4afe8","head":{"label":"arthurnn:auth","ref":"auth","sha":"5b5db09235059edf60dad7ffe7ca19934ef4afe8","user":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":false},"repo":{"id":32352455,"name":"policial.io","full_name":"arthurnn/policial.io","owner":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arthurnn/policial.io","description":":cop:","fork":false,"url":"https://api.github.com/repos/arthurnn/policial.io","forks_url":"https://api.github.com/repos/arthurnn/policial.io/forks","keys_url":"https://api.github.com/repos/arthurnn/policial.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arthurnn/policial.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arthurnn/policial.io/teams","hooks_url":"https://api.github.com/repos/arthurnn/policial.io/hooks","issue_events_url":"https://api.github.com/repos/arthurnn/policial.io/issues/events{/number}","events_url":"https://api.github.com/repos/arthurnn/policial.io/events","assignees_url":"https://api.github.com/repos/arthurnn/policial.io/assignees{/user}","branches_url":"https://api.github.com/repos/arthurnn/policial.io/branches{/branch}","tags_url":"https://api.github.com/repos/arthurnn/policial.io/tags","blobs_url":"https://api.github.com/repos/arthurnn/policial.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arthurnn/policial.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arthurnn/policial.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/arthurnn/policial.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arthurnn/policial.io/statuses/{sha}","languages_url":"https://api.github.com/repos/arthurnn/policial.io/languages","stargazers_url":"https://api.github.com/repos/arthurnn/policial.io/stargazers","contributors_url":"https://api.github.com/repos/arthurnn/policial.io/contributors","subscribers_url":"https://api.github.com/repos/arthurnn/policial.io/subscribers","subscription_url":"https://api.github.com/repos/arthurnn/policial.io/subscription","commits_url":"https://api.github.com/repos/arthurnn/policial.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/arthurnn/policial.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/arthurnn/policial.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/arthurnn/policial.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/arthurnn/policial.io/contents/{+path}","compare_url":"https://api.github.com/repos/arthurnn/policial.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arthurnn/policial.io/merges","archive_url":"https://api.github.com/repos/arthurnn/policial.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arthurnn/policial.io/downloads","issues_url":"https://api.github.com/repos/arthurnn/policial.io/issues{/number}","pulls_url":"https://api.github.com/repos/arthurnn/policial.io/pulls{/number}","milestones_url":"https://api.github.com/repos/arthurnn/policial.io/milestones{/number}","notifications_url":"https://api.github.com/repos/arthurnn/policial.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arthurnn/policial.io/labels{/name}","releases_url":"https://api.github.com/repos/arthurnn/policial.io/releases{/id}","created_at":"2015-03-16T20:55:52Z","updated_at":"2015-03-31T20:01:47Z","pushed_at":"2015-03-31T20:01:46Z","git_url":"git://github.com/arthurnn/policial.io.git","ssh_url":"git@github.com:arthurnn/policial.io.git","clone_url":"https://github.com/arthurnn/policial.io.git","svn_url":"https://github.com/arthurnn/policial.io","homepage":"","size":156,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"arthurnn:master","ref":"master","sha":"dd08b7c962cb62c8d38148675f006329140fa6c2","user":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":false},"repo":{"id":32352455,"name":"policial.io","full_name":"arthurnn/policial.io","owner":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arthurnn/policial.io","description":":cop:","fork":false,"url":"https://api.github.com/repos/arthurnn/policial.io","forks_url":"https://api.github.com/repos/arthurnn/policial.io/forks","keys_url":"https://api.github.com/repos/arthurnn/policial.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arthurnn/policial.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arthurnn/policial.io/teams","hooks_url":"https://api.github.com/repos/arthurnn/policial.io/hooks","issue_events_url":"https://api.github.com/repos/arthurnn/policial.io/issues/events{/number}","events_url":"https://api.github.com/repos/arthurnn/policial.io/events","assignees_url":"https://api.github.com/repos/arthurnn/policial.io/assignees{/user}","branches_url":"https://api.github.com/repos/arthurnn/policial.io/branches{/branch}","tags_url":"https://api.github.com/repos/arthurnn/policial.io/tags","blobs_url":"https://api.github.com/repos/arthurnn/policial.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arthurnn/policial.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arthurnn/policial.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/arthurnn/policial.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arthurnn/policial.io/statuses/{sha}","languages_url":"https://api.github.com/repos/arthurnn/policial.io/languages","stargazers_url":"https://api.github.com/repos/arthurnn/policial.io/stargazers","contributors_url":"https://api.github.com/repos/arthurnn/policial.io/contributors","subscribers_url":"https://api.github.com/repos/arthurnn/policial.io/subscribers","subscription_url":"https://api.github.com/repos/arthurnn/policial.io/subscription","commits_url":"https://api.github.com/repos/arthurnn/policial.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/arthurnn/policial.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/arthurnn/policial.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/arthurnn/policial.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/arthurnn/policial.io/contents/{+path}","compare_url":"https://api.github.com/repos/arthurnn/policial.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arthurnn/policial.io/merges","archive_url":"https://api.github.com/repos/arthurnn/policial.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arthurnn/policial.io/downloads","issues_url":"https://api.github.com/repos/arthurnn/policial.io/issues{/number}","pulls_url":"https://api.github.com/repos/arthurnn/policial.io/pulls{/number}","milestones_url":"https://api.github.com/repos/arthurnn/policial.io/milestones{/number}","notifications_url":"https://api.github.com/repos/arthurnn/policial.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arthurnn/policial.io/labels{/name}","releases_url":"https://api.github.com/repos/arthurnn/policial.io/releases{/id}","created_at":"2015-03-16T20:55:52Z","updated_at":"2015-03-31T20:01:47Z","pushed_at":"2015-03-31T20:01:46Z","git_url":"git://github.com/arthurnn/policial.io.git","ssh_url":"git@github.com:arthurnn/policial.io.git","clone_url":"https://github.com/arthurnn/policial.io.git","svn_url":"https://github.com/arthurnn/policial.io","homepage":"","size":156,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arthurnn/policial.io/pulls/7"},"html":{"href":"https://github.com/arthurnn/policial.io/pull/7"},"issue":{"href":"https://api.github.com/repos/arthurnn/policial.io/issues/7"},"comments":{"href":"https://api.github.com/repos/arthurnn/policial.io/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/arthurnn/policial.io/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/arthurnn/policial.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arthurnn/policial.io/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/arthurnn/policial.io/statuses/5b5db09235059edf60dad7ffe7ca19934ef4afe8"}}}}