{"action":"created","comment":{"url":"https://api.github.com/repos/orientation/orientation/pulls/comments/202867313","pull_request_review_id":137645164,"id":202867313,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjg2NzMxMw==","diff_hunk":"@@ -10,7 +10,7 @@ def email_tag\n   end\n \n   def first_name\n-    object.name.split(\" \").first\n+    source.name.split(\" \").first if source.name.present?","path":"app/decorators/user_decorator.rb","position":5,"original_position":5,"commit_id":"d612f0c50b8dd7b2c3ffde63f13256cf7b52b80a","original_commit_id":"d612f0c50b8dd7b2c3ffde63f13256cf7b52b80a","user":{"login":"olivierlacan","id":65950,"node_id":"MDQ6VXNlcjY1OTUw","avatar_url":"https://avatars0.githubusercontent.com/u/65950?v=4","gravatar_id":"","url":"https://api.github.com/users/olivierlacan","html_url":"https://github.com/olivierlacan","followers_url":"https://api.github.com/users/olivierlacan/followers","following_url":"https://api.github.com/users/olivierlacan/following{/other_user}","gists_url":"https://api.github.com/users/olivierlacan/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlacan/subscriptions","organizations_url":"https://api.github.com/users/olivierlacan/orgs","repos_url":"https://api.github.com/users/olivierlacan/repos","events_url":"https://api.github.com/users/olivierlacan/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlacan/received_events","type":"User","site_admin":false},"body":"We'll need to add a fallback to first_name if the `source.name` can be `nil` since `app/views/authors/show.haml` relies on it in several strings.","created_at":"2018-07-17T00:48:04Z","updated_at":"2018-07-17T00:52:16Z","html_url":"https://github.com/orientation/orientation/pull/257#discussion_r202867313","pull_request_url":"https://api.github.com/repos/orientation/orientation/pulls/257","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/orientation/orientation/pulls/comments/202867313"},"html":{"href":"https://github.com/orientation/orientation/pull/257#discussion_r202867313"},"pull_request":{"href":"https://api.github.com/repos/orientation/orientation/pulls/257"}}},"pull_request":{"url":"https://api.github.com/repos/orientation/orientation/pulls/257","id":201479735,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNDc5NzM1","html_url":"https://github.com/orientation/orientation/pull/257","diff_url":"https://github.com/orientation/orientation/pull/257.diff","patch_url":"https://github.com/orientation/orientation/pull/257.patch","issue_url":"https://api.github.com/repos/orientation/orientation/issues/257","number":257,"state":"open","locked":false,"title":"Oauth","user":{"login":"cmckni3","id":735717,"node_id":"MDQ6VXNlcjczNTcxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/735717?v=4","gravatar_id":"","url":"https://api.github.com/users/cmckni3","html_url":"https://github.com/cmckni3","followers_url":"https://api.github.com/users/cmckni3/followers","following_url":"https://api.github.com/users/cmckni3/following{/other_user}","gists_url":"https://api.github.com/users/cmckni3/gists{/gist_id}","starred_url":"https://api.github.com/users/cmckni3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmckni3/subscriptions","organizations_url":"https://api.github.com/users/cmckni3/orgs","repos_url":"https://api.github.com/users/cmckni3/repos","events_url":"https://api.github.com/users/cmckni3/events{/privacy}","received_events_url":"https://api.github.com/users/cmckni3/received_events","type":"User","site_admin":false},"body":"Based on #203 with some minor fixes and updated with master","created_at":"2018-07-15T04:01:12Z","updated_at":"2018-07-17T00:52:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1dd3ac527855c1014630b089a39a462b02b03766","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/orientation/orientation/pulls/257/commits","review_comments_url":"https://api.github.com/repos/orientation/orientation/pulls/257/comments","review_comment_url":"https://api.github.com/repos/orientation/orientation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/orientation/orientation/issues/257/comments","statuses_url":"https://api.github.com/repos/orientation/orientation/statuses/d612f0c50b8dd7b2c3ffde63f13256cf7b52b80a","head":{"label":"cmckni3:oauth","ref":"oauth","sha":"d612f0c50b8dd7b2c3ffde63f13256cf7b52b80a","user":{"login":"cmckni3","id":735717,"node_id":"MDQ6VXNlcjczNTcxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/735717?v=4","gravatar_id":"","url":"https://api.github.com/users/cmckni3","html_url":"https://github.com/cmckni3","followers_url":"https://api.github.com/users/cmckni3/followers","following_url":"https://api.github.com/users/cmckni3/following{/other_user}","gists_url":"https://api.github.com/users/cmckni3/gists{/gist_id}","starred_url":"https://api.github.com/users/cmckni3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmckni3/subscriptions","organizations_url":"https://api.github.com/users/cmckni3/orgs","repos_url":"https://api.github.com/users/cmckni3/repos","events_url":"https://api.github.com/users/cmckni3/events{/privacy}","received_events_url":"https://api.github.com/users/cmckni3/received_events","type":"User","site_admin":false},"repo":{"id":40566871,"node_id":"MDEwOlJlcG9zaXRvcnk0MDU2Njg3MQ==","name":"orientation","full_name":"cmckni3/orientation","owner":{"login":"cmckni3","id":735717,"node_id":"MDQ6VXNlcjczNTcxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/735717?v=4","gravatar_id":"","url":"https://api.github.com/users/cmckni3","html_url":"https://github.com/cmckni3","followers_url":"https://api.github.com/users/cmckni3/followers","following_url":"https://api.github.com/users/cmckni3/following{/other_user}","gists_url":"https://api.github.com/users/cmckni3/gists{/gist_id}","starred_url":"https://api.github.com/users/cmckni3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmckni3/subscriptions","organizations_url":"https://api.github.com/users/cmckni3/orgs","repos_url":"https://api.github.com/users/cmckni3/repos","events_url":"https://api.github.com/users/cmckni3/events{/privacy}","received_events_url":"https://api.github.com/users/cmckni3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmckni3/orientation","description":"Fight information rot.","fork":true,"url":"https://api.github.com/repos/cmckni3/orientation","forks_url":"https://api.github.com/repos/cmckni3/orientation/forks","keys_url":"https://api.github.com/repos/cmckni3/orientation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmckni3/orientation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmckni3/orientation/teams","hooks_url":"https://api.github.com/repos/cmckni3/orientation/hooks","issue_events_url":"https://api.github.com/repos/cmckni3/orientation/issues/events{/number}","events_url":"https://api.github.com/repos/cmckni3/orientation/events","assignees_url":"https://api.github.com/repos/cmckni3/orientation/assignees{/user}","branches_url":"https://api.github.com/repos/cmckni3/orientation/branches{/branch}","tags_url":"https://api.github.com/repos/cmckni3/orientation/tags","blobs_url":"https://api.github.com/repos/cmckni3/orientation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmckni3/orientation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmckni3/orientation/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmckni3/orientation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmckni3/orientation/statuses/{sha}","languages_url":"https://api.github.com/repos/cmckni3/orientation/languages","stargazers_url":"https://api.github.com/repos/cmckni3/orientation/stargazers","contributors_url":"https://api.github.com/repos/cmckni3/orientation/contributors","subscribers_url":"https://api.github.com/repos/cmckni3/orientation/subscribers","subscription_url":"https://api.github.com/repos/cmckni3/orientation/subscription","commits_url":"https://api.github.com/repos/cmckni3/orientation/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmckni3/orientation/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmckni3/orientation/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmckni3/orientation/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmckni3/orientation/contents/{+path}","compare_url":"https://api.github.com/repos/cmckni3/orientation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmckni3/orientation/merges","archive_url":"https://api.github.com/repos/cmckni3/orientation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmckni3/orientation/downloads","issues_url":"https://api.github.com/repos/cmckni3/orientation/issues{/number}","pulls_url":"https://api.github.com/repos/cmckni3/orientation/pulls{/number}","milestones_url":"https://api.github.com/repos/cmckni3/orientation/milestones{/number}","notifications_url":"https://api.github.com/repos/cmckni3/orientation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmckni3/orientation/labels{/name}","releases_url":"https://api.github.com/repos/cmckni3/orientation/releases{/id}","deployments_url":"https://api.github.com/repos/cmckni3/orientation/deployments","created_at":"2015-08-11T21:49:28Z","updated_at":"2018-07-15T04:10:19Z","pushed_at":"2018-07-15T04:21:51Z","git_url":"git://github.com/cmckni3/orientation.git","ssh_url":"git@github.com:cmckni3/orientation.git","clone_url":"https://github.com/cmckni3/orientation.git","svn_url":"https://github.com/cmckni3/orientation","homepage":"","size":6024,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"orientation:master","ref":"master","sha":"4b81676a8c4ea84fcbf974f5d1478ed3abf09aba","user":{"login":"orientation","id":11703432,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzAzNDMy","avatar_url":"https://avatars0.githubusercontent.com/u/11703432?v=4","gravatar_id":"","url":"https://api.github.com/users/orientation","html_url":"https://github.com/orientation","followers_url":"https://api.github.com/users/orientation/followers","following_url":"https://api.github.com/users/orientation/following{/other_user}","gists_url":"https://api.github.com/users/orientation/gists{/gist_id}","starred_url":"https://api.github.com/users/orientation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orientation/subscriptions","organizations_url":"https://api.github.com/users/orientation/orgs","repos_url":"https://api.github.com/users/orientation/repos","events_url":"https://api.github.com/users/orientation/events{/privacy}","received_events_url":"https://api.github.com/users/orientation/received_events","type":"Organization","site_admin":false},"repo":{"id":6251961,"node_id":"MDEwOlJlcG9zaXRvcnk2MjUxOTYx","name":"orientation","full_name":"orientation/orientation","owner":{"login":"orientation","id":11703432,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzAzNDMy","avatar_url":"https://avatars0.githubusercontent.com/u/11703432?v=4","gravatar_id":"","url":"https://api.github.com/users/orientation","html_url":"https://github.com/orientation","followers_url":"https://api.github.com/users/orientation/followers","following_url":"https://api.github.com/users/orientation/following{/other_user}","gists_url":"https://api.github.com/users/orientation/gists{/gist_id}","starred_url":"https://api.github.com/users/orientation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orientation/subscriptions","organizations_url":"https://api.github.com/users/orientation/orgs","repos_url":"https://api.github.com/users/orientation/repos","events_url":"https://api.github.com/users/orientation/events{/privacy}","received_events_url":"https://api.github.com/users/orientation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orientation/orientation","description":"Your best weapon in the fight against outdated documentation.","fork":false,"url":"https://api.github.com/repos/orientation/orientation","forks_url":"https://api.github.com/repos/orientation/orientation/forks","keys_url":"https://api.github.com/repos/orientation/orientation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orientation/orientation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orientation/orientation/teams","hooks_url":"https://api.github.com/repos/orientation/orientation/hooks","issue_events_url":"https://api.github.com/repos/orientation/orientation/issues/events{/number}","events_url":"https://api.github.com/repos/orientation/orientation/events","assignees_url":"https://api.github.com/repos/orientation/orientation/assignees{/user}","branches_url":"https://api.github.com/repos/orientation/orientation/branches{/branch}","tags_url":"https://api.github.com/repos/orientation/orientation/tags","blobs_url":"https://api.github.com/repos/orientation/orientation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orientation/orientation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orientation/orientation/git/refs{/sha}","trees_url":"https://api.github.com/repos/orientation/orientation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orientation/orientation/statuses/{sha}","languages_url":"https://api.github.com/repos/orientation/orientation/languages","stargazers_url":"https://api.github.com/repos/orientation/orientation/stargazers","contributors_url":"https://api.github.com/repos/orientation/orientation/contributors","subscribers_url":"https://api.github.com/repos/orientation/orientation/subscribers","subscription_url":"https://api.github.com/repos/orientation/orientation/subscription","commits_url":"https://api.github.com/repos/orientation/orientation/commits{/sha}","git_commits_url":"https://api.github.com/repos/orientation/orientation/git/commits{/sha}","comments_url":"https://api.github.com/repos/orientation/orientation/comments{/number}","issue_comment_url":"https://api.github.com/repos/orientation/orientation/issues/comments{/number}","contents_url":"https://api.github.com/repos/orientation/orientation/contents/{+path}","compare_url":"https://api.github.com/repos/orientation/orientation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orientation/orientation/merges","archive_url":"https://api.github.com/repos/orientation/orientation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orientation/orientation/downloads","issues_url":"https://api.github.com/repos/orientation/orientation/issues{/number}","pulls_url":"https://api.github.com/repos/orientation/orientation/pulls{/number}","milestones_url":"https://api.github.com/repos/orientation/orientation/milestones{/number}","notifications_url":"https://api.github.com/repos/orientation/orientation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orientation/orientation/labels{/name}","releases_url":"https://api.github.com/repos/orientation/orientation/releases{/id}","deployments_url":"https://api.github.com/repos/orientation/orientation/deployments","created_at":"2012-10-16T21:25:35Z","updated_at":"2018-07-17T00:34:36Z","pushed_at":"2018-07-17T00:34:33Z","git_url":"git://github.com/orientation/orientation.git","ssh_url":"git@github.com:orientation/orientation.git","clone_url":"https://github.com/orientation/orientation.git","svn_url":"https://github.com/orientation/orientation","homepage":"http://orientation.io","size":5981,"stargazers_count":333,"watchers_count":333,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":66,"open_issues":33,"watchers":333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/orientation/orientation/pulls/257"},"html":{"href":"https://github.com/orientation/orientation/pull/257"},"issue":{"href":"https://api.github.com/repos/orientation/orientation/issues/257"},"comments":{"href":"https://api.github.com/repos/orientation/orientation/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/orientation/orientation/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/orientation/orientation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/orientation/orientation/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/orientation/orientation/statuses/d612f0c50b8dd7b2c3ffde63f13256cf7b52b80a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"olivierlacan"}}