{"action":"created","comment":{"url":"https://api.github.com/repos/nostaygr/ranker/pulls/comments/167434664","pull_request_review_id":95655415,"id":167434664,"diff_hunk":"@@ -40,6 +14,10 @@ export class Subject extends React.Component {\n     const subject = this.props.subject;\n     const items = this.props.items;\n     if (subject) {\n+      if (!subject.is_public) {","path":"frontend/src/Subject.jsx","position":37,"original_position":37,"commit_id":"5e49a919ee6db4cfed8ffb350cb33d3b62fa905c","original_commit_id":"5e49a919ee6db4cfed8ffb350cb33d3b62fa905c","user":{"login":"longtime1116","id":10401606,"avatar_url":"https://avatars1.githubusercontent.com/u/10401606?v=4","gravatar_id":"","url":"https://api.github.com/users/longtime1116","html_url":"https://github.com/longtime1116","followers_url":"https://api.github.com/users/longtime1116/followers","following_url":"https://api.github.com/users/longtime1116/following{/other_user}","gists_url":"https://api.github.com/users/longtime1116/gists{/gist_id}","starred_url":"https://api.github.com/users/longtime1116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longtime1116/subscriptions","organizations_url":"https://api.github.com/users/longtime1116/orgs","repos_url":"https://api.github.com/users/longtime1116/repos","events_url":"https://api.github.com/users/longtime1116/events{/privacy}","received_events_url":"https://api.github.com/users/longtime1116/received_events","type":"User","site_admin":false},"body":"ここ、実は次の修正では is_public を見ないようにする可能性もある。\r\n閲覧用のURLからはAPI叩いたときに、is_public が true じゃなかったら返さないようにした方がよさそうなので。","created_at":"2018-02-11T13:18:24Z","updated_at":"2018-02-11T13:18:31Z","html_url":"https://github.com/nostaygr/ranker/pull/118#discussion_r167434664","pull_request_url":"https://api.github.com/repos/nostaygr/ranker/pulls/118","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/nostaygr/ranker/pulls/comments/167434664"},"html":{"href":"https://github.com/nostaygr/ranker/pull/118#discussion_r167434664"},"pull_request":{"href":"https://api.github.com/repos/nostaygr/ranker/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/nostaygr/ranker/pulls/118","id":168452716,"html_url":"https://github.com/nostaygr/ranker/pull/118","diff_url":"https://github.com/nostaygr/ranker/pull/118.diff","patch_url":"https://github.com/nostaygr/ranker/pull/118.patch","issue_url":"https://api.github.com/repos/nostaygr/ranker/issues/118","number":118,"state":"open","locked":false,"title":"#116_2 editable なページと閲覧用のページを分けた","user":{"login":"longtime1116","id":10401606,"avatar_url":"https://avatars1.githubusercontent.com/u/10401606?v=4","gravatar_id":"","url":"https://api.github.com/users/longtime1116","html_url":"https://github.com/longtime1116","followers_url":"https://api.github.com/users/longtime1116/followers","following_url":"https://api.github.com/users/longtime1116/following{/other_user}","gists_url":"https://api.github.com/users/longtime1116/gists{/gist_id}","starred_url":"https://api.github.com/users/longtime1116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longtime1116/subscriptions","organizations_url":"https://api.github.com/users/longtime1116/orgs","repos_url":"https://api.github.com/users/longtime1116/repos","events_url":"https://api.github.com/users/longtime1116/events{/privacy}","received_events_url":"https://api.github.com/users/longtime1116/received_events","type":"User","site_admin":false},"body":"#116 の 2. を実装しました。\r\nPRの粒度が細かくてすんません。","created_at":"2018-02-11T13:08:02Z","updated_at":"2018-02-11T13:18:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e55f0b62c111365149a2e2d2b8b5d76d3dbaafa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nostaygr/ranker/pulls/118/commits","review_comments_url":"https://api.github.com/repos/nostaygr/ranker/pulls/118/comments","review_comment_url":"https://api.github.com/repos/nostaygr/ranker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nostaygr/ranker/issues/118/comments","statuses_url":"https://api.github.com/repos/nostaygr/ranker/statuses/5e49a919ee6db4cfed8ffb350cb33d3b62fa905c","head":{"label":"nostaygr:issue_116_2","ref":"issue_116_2","sha":"5e49a919ee6db4cfed8ffb350cb33d3b62fa905c","user":{"login":"nostaygr","id":34180452,"avatar_url":"https://avatars0.githubusercontent.com/u/34180452?v=4","gravatar_id":"","url":"https://api.github.com/users/nostaygr","html_url":"https://github.com/nostaygr","followers_url":"https://api.github.com/users/nostaygr/followers","following_url":"https://api.github.com/users/nostaygr/following{/other_user}","gists_url":"https://api.github.com/users/nostaygr/gists{/gist_id}","starred_url":"https://api.github.com/users/nostaygr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostaygr/subscriptions","organizations_url":"https://api.github.com/users/nostaygr/orgs","repos_url":"https://api.github.com/users/nostaygr/repos","events_url":"https://api.github.com/users/nostaygr/events{/privacy}","received_events_url":"https://api.github.com/users/nostaygr/received_events","type":"Organization","site_admin":false},"repo":{"id":112817436,"name":"ranker","full_name":"nostaygr/ranker","owner":{"login":"nostaygr","id":34180452,"avatar_url":"https://avatars0.githubusercontent.com/u/34180452?v=4","gravatar_id":"","url":"https://api.github.com/users/nostaygr","html_url":"https://github.com/nostaygr","followers_url":"https://api.github.com/users/nostaygr/followers","following_url":"https://api.github.com/users/nostaygr/following{/other_user}","gists_url":"https://api.github.com/users/nostaygr/gists{/gist_id}","starred_url":"https://api.github.com/users/nostaygr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostaygr/subscriptions","organizations_url":"https://api.github.com/users/nostaygr/orgs","repos_url":"https://api.github.com/users/nostaygr/repos","events_url":"https://api.github.com/users/nostaygr/events{/privacy}","received_events_url":"https://api.github.com/users/nostaygr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nostaygr/ranker","description":null,"fork":false,"url":"https://api.github.com/repos/nostaygr/ranker","forks_url":"https://api.github.com/repos/nostaygr/ranker/forks","keys_url":"https://api.github.com/repos/nostaygr/ranker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nostaygr/ranker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nostaygr/ranker/teams","hooks_url":"https://api.github.com/repos/nostaygr/ranker/hooks","issue_events_url":"https://api.github.com/repos/nostaygr/ranker/issues/events{/number}","events_url":"https://api.github.com/repos/nostaygr/ranker/events","assignees_url":"https://api.github.com/repos/nostaygr/ranker/assignees{/user}","branches_url":"https://api.github.com/repos/nostaygr/ranker/branches{/branch}","tags_url":"https://api.github.com/repos/nostaygr/ranker/tags","blobs_url":"https://api.github.com/repos/nostaygr/ranker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nostaygr/ranker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nostaygr/ranker/git/refs{/sha}","trees_url":"https://api.github.com/repos/nostaygr/ranker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nostaygr/ranker/statuses/{sha}","languages_url":"https://api.github.com/repos/nostaygr/ranker/languages","stargazers_url":"https://api.github.com/repos/nostaygr/ranker/stargazers","contributors_url":"https://api.github.com/repos/nostaygr/ranker/contributors","subscribers_url":"https://api.github.com/repos/nostaygr/ranker/subscribers","subscription_url":"https://api.github.com/repos/nostaygr/ranker/subscription","commits_url":"https://api.github.com/repos/nostaygr/ranker/commits{/sha}","git_commits_url":"https://api.github.com/repos/nostaygr/ranker/git/commits{/sha}","comments_url":"https://api.github.com/repos/nostaygr/ranker/comments{/number}","issue_comment_url":"https://api.github.com/repos/nostaygr/ranker/issues/comments{/number}","contents_url":"https://api.github.com/repos/nostaygr/ranker/contents/{+path}","compare_url":"https://api.github.com/repos/nostaygr/ranker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nostaygr/ranker/merges","archive_url":"https://api.github.com/repos/nostaygr/ranker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nostaygr/ranker/downloads","issues_url":"https://api.github.com/repos/nostaygr/ranker/issues{/number}","pulls_url":"https://api.github.com/repos/nostaygr/ranker/pulls{/number}","milestones_url":"https://api.github.com/repos/nostaygr/ranker/milestones{/number}","notifications_url":"https://api.github.com/repos/nostaygr/ranker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nostaygr/ranker/labels{/name}","releases_url":"https://api.github.com/repos/nostaygr/ranker/releases{/id}","deployments_url":"https://api.github.com/repos/nostaygr/ranker/deployments","created_at":"2017-12-02T06:04:58Z","updated_at":"2017-12-16T02:18:56Z","pushed_at":"2018-02-11T13:08:02Z","git_url":"git://github.com/nostaygr/ranker.git","ssh_url":"git@github.com:nostaygr/ranker.git","clone_url":"https://github.com/nostaygr/ranker.git","svn_url":"https://github.com/nostaygr/ranker","homepage":null,"size":662,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"nostaygr:master","ref":"master","sha":"45177de14fa01c4743dc4b7340aa68398c36369f","user":{"login":"nostaygr","id":34180452,"avatar_url":"https://avatars0.githubusercontent.com/u/34180452?v=4","gravatar_id":"","url":"https://api.github.com/users/nostaygr","html_url":"https://github.com/nostaygr","followers_url":"https://api.github.com/users/nostaygr/followers","following_url":"https://api.github.com/users/nostaygr/following{/other_user}","gists_url":"https://api.github.com/users/nostaygr/gists{/gist_id}","starred_url":"https://api.github.com/users/nostaygr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostaygr/subscriptions","organizations_url":"https://api.github.com/users/nostaygr/orgs","repos_url":"https://api.github.com/users/nostaygr/repos","events_url":"https://api.github.com/users/nostaygr/events{/privacy}","received_events_url":"https://api.github.com/users/nostaygr/received_events","type":"Organization","site_admin":false},"repo":{"id":112817436,"name":"ranker","full_name":"nostaygr/ranker","owner":{"login":"nostaygr","id":34180452,"avatar_url":"https://avatars0.githubusercontent.com/u/34180452?v=4","gravatar_id":"","url":"https://api.github.com/users/nostaygr","html_url":"https://github.com/nostaygr","followers_url":"https://api.github.com/users/nostaygr/followers","following_url":"https://api.github.com/users/nostaygr/following{/other_user}","gists_url":"https://api.github.com/users/nostaygr/gists{/gist_id}","starred_url":"https://api.github.com/users/nostaygr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostaygr/subscriptions","organizations_url":"https://api.github.com/users/nostaygr/orgs","repos_url":"https://api.github.com/users/nostaygr/repos","events_url":"https://api.github.com/users/nostaygr/events{/privacy}","received_events_url":"https://api.github.com/users/nostaygr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nostaygr/ranker","description":null,"fork":false,"url":"https://api.github.com/repos/nostaygr/ranker","forks_url":"https://api.github.com/repos/nostaygr/ranker/forks","keys_url":"https://api.github.com/repos/nostaygr/ranker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nostaygr/ranker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nostaygr/ranker/teams","hooks_url":"https://api.github.com/repos/nostaygr/ranker/hooks","issue_events_url":"https://api.github.com/repos/nostaygr/ranker/issues/events{/number}","events_url":"https://api.github.com/repos/nostaygr/ranker/events","assignees_url":"https://api.github.com/repos/nostaygr/ranker/assignees{/user}","branches_url":"https://api.github.com/repos/nostaygr/ranker/branches{/branch}","tags_url":"https://api.github.com/repos/nostaygr/ranker/tags","blobs_url":"https://api.github.com/repos/nostaygr/ranker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nostaygr/ranker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nostaygr/ranker/git/refs{/sha}","trees_url":"https://api.github.com/repos/nostaygr/ranker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nostaygr/ranker/statuses/{sha}","languages_url":"https://api.github.com/repos/nostaygr/ranker/languages","stargazers_url":"https://api.github.com/repos/nostaygr/ranker/stargazers","contributors_url":"https://api.github.com/repos/nostaygr/ranker/contributors","subscribers_url":"https://api.github.com/repos/nostaygr/ranker/subscribers","subscription_url":"https://api.github.com/repos/nostaygr/ranker/subscription","commits_url":"https://api.github.com/repos/nostaygr/ranker/commits{/sha}","git_commits_url":"https://api.github.com/repos/nostaygr/ranker/git/commits{/sha}","comments_url":"https://api.github.com/repos/nostaygr/ranker/comments{/number}","issue_comment_url":"https://api.github.com/repos/nostaygr/ranker/issues/comments{/number}","contents_url":"https://api.github.com/repos/nostaygr/ranker/contents/{+path}","compare_url":"https://api.github.com/repos/nostaygr/ranker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nostaygr/ranker/merges","archive_url":"https://api.github.com/repos/nostaygr/ranker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nostaygr/ranker/downloads","issues_url":"https://api.github.com/repos/nostaygr/ranker/issues{/number}","pulls_url":"https://api.github.com/repos/nostaygr/ranker/pulls{/number}","milestones_url":"https://api.github.com/repos/nostaygr/ranker/milestones{/number}","notifications_url":"https://api.github.com/repos/nostaygr/ranker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nostaygr/ranker/labels{/name}","releases_url":"https://api.github.com/repos/nostaygr/ranker/releases{/id}","deployments_url":"https://api.github.com/repos/nostaygr/ranker/deployments","created_at":"2017-12-02T06:04:58Z","updated_at":"2017-12-16T02:18:56Z","pushed_at":"2018-02-11T13:08:02Z","git_url":"git://github.com/nostaygr/ranker.git","ssh_url":"git@github.com:nostaygr/ranker.git","clone_url":"https://github.com/nostaygr/ranker.git","svn_url":"https://github.com/nostaygr/ranker","homepage":null,"size":662,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nostaygr/ranker/pulls/118"},"html":{"href":"https://github.com/nostaygr/ranker/pull/118"},"issue":{"href":"https://api.github.com/repos/nostaygr/ranker/issues/118"},"comments":{"href":"https://api.github.com/repos/nostaygr/ranker/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/nostaygr/ranker/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/nostaygr/ranker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nostaygr/ranker/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/nostaygr/ranker/statuses/5e49a919ee6db4cfed8ffb350cb33d3b62fa905c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"longtime1116"}}