{"action":"created","comment":{"url":"https://api.github.com/repos/vip-take/protospace/pulls/comments/80204583","id":80204583,"diff_hunk":"@@ -1,4 +1,6 @@\n .col-sm-4.col-md-3.proto-content\n+  - if proto.user.id == current_user.id","path":"app/views/layouts/_prototypes.html.haml","position":2,"original_position":2,"commit_id":"00ce779acff878daed212dcb8046960c6fdfa0ca","original_commit_id":"00ce779acff878daed212dcb8046960c6fdfa0ca","user":{"login":"ryosukemaehira","id":13879825,"avatar_url":"https://avatars.githubusercontent.com/u/13879825?v=3","gravatar_id":"","url":"https://api.github.com/users/ryosukemaehira","html_url":"https://github.com/ryosukemaehira","followers_url":"https://api.github.com/users/ryosukemaehira/followers","following_url":"https://api.github.com/users/ryosukemaehira/following{/other_user}","gists_url":"https://api.github.com/users/ryosukemaehira/gists{/gist_id}","starred_url":"https://api.github.com/users/ryosukemaehira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryosukemaehira/subscriptions","organizations_url":"https://api.github.com/users/ryosukemaehira/orgs","repos_url":"https://api.github.com/users/ryosukemaehira/repos","events_url":"https://api.github.com/users/ryosukemaehira/events{/privacy}","received_events_url":"https://api.github.com/users/ryosukemaehira/received_events","type":"User","site_admin":false},"body":"ここはproto.user_idとしましょう。\r\nそのほうが処理が軽くなります！（この状態だとuserの情報をまるまるとった後でそこからidを抽出することになります）","created_at":"2016-09-23T08:49:14Z","updated_at":"2016-09-23T08:57:49Z","html_url":"https://github.com/vip-take/protospace/pull/15#discussion_r80204583","pull_request_url":"https://api.github.com/repos/vip-take/protospace/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/vip-take/protospace/pulls/comments/80204583"},"html":{"href":"https://github.com/vip-take/protospace/pull/15#discussion_r80204583"},"pull_request":{"href":"https://api.github.com/repos/vip-take/protospace/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/vip-take/protospace/pulls/15","id":86467529,"html_url":"https://github.com/vip-take/protospace/pull/15","diff_url":"https://github.com/vip-take/protospace/pull/15.diff","patch_url":"https://github.com/vip-take/protospace/pull/15.patch","issue_url":"https://api.github.com/repos/vip-take/protospace/issues/15","number":15,"state":"open","locked":false,"title":"プロトタイプの編集機能","user":{"login":"vip-take","id":14926589,"avatar_url":"https://avatars.githubusercontent.com/u/14926589?v=3","gravatar_id":"","url":"https://api.github.com/users/vip-take","html_url":"https://github.com/vip-take","followers_url":"https://api.github.com/users/vip-take/followers","following_url":"https://api.github.com/users/vip-take/following{/other_user}","gists_url":"https://api.github.com/users/vip-take/gists{/gist_id}","starred_url":"https://api.github.com/users/vip-take/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vip-take/subscriptions","organizations_url":"https://api.github.com/users/vip-take/orgs","repos_url":"https://api.github.com/users/vip-take/repos","events_url":"https://api.github.com/users/vip-take/events{/privacy}","received_events_url":"https://api.github.com/users/vip-take/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n自分が投稿したプロトタイプの更新機能\r\n\r\n# WHY\r\n一度投稿したプロトタイプを更新できるようにするため。","created_at":"2016-09-23T07:47:11Z","updated_at":"2016-09-23T08:57:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9a0c52f6b7efd125bc8c3970d6feb8ef4198c40","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vip-take/protospace/pulls/15/commits","review_comments_url":"https://api.github.com/repos/vip-take/protospace/pulls/15/comments","review_comment_url":"https://api.github.com/repos/vip-take/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vip-take/protospace/issues/15/comments","statuses_url":"https://api.github.com/repos/vip-take/protospace/statuses/00ce779acff878daed212dcb8046960c6fdfa0ca","head":{"label":"vip-take:add-prototype-edit-update","ref":"add-prototype-edit-update","sha":"00ce779acff878daed212dcb8046960c6fdfa0ca","user":{"login":"vip-take","id":14926589,"avatar_url":"https://avatars.githubusercontent.com/u/14926589?v=3","gravatar_id":"","url":"https://api.github.com/users/vip-take","html_url":"https://github.com/vip-take","followers_url":"https://api.github.com/users/vip-take/followers","following_url":"https://api.github.com/users/vip-take/following{/other_user}","gists_url":"https://api.github.com/users/vip-take/gists{/gist_id}","starred_url":"https://api.github.com/users/vip-take/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vip-take/subscriptions","organizations_url":"https://api.github.com/users/vip-take/orgs","repos_url":"https://api.github.com/users/vip-take/repos","events_url":"https://api.github.com/users/vip-take/events{/privacy}","received_events_url":"https://api.github.com/users/vip-take/received_events","type":"User","site_admin":false},"repo":{"id":68271188,"name":"protospace","full_name":"vip-take/protospace","owner":{"login":"vip-take","id":14926589,"avatar_url":"https://avatars.githubusercontent.com/u/14926589?v=3","gravatar_id":"","url":"https://api.github.com/users/vip-take","html_url":"https://github.com/vip-take","followers_url":"https://api.github.com/users/vip-take/followers","following_url":"https://api.github.com/users/vip-take/following{/other_user}","gists_url":"https://api.github.com/users/vip-take/gists{/gist_id}","starred_url":"https://api.github.com/users/vip-take/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vip-take/subscriptions","organizations_url":"https://api.github.com/users/vip-take/orgs","repos_url":"https://api.github.com/users/vip-take/repos","events_url":"https://api.github.com/users/vip-take/events{/privacy}","received_events_url":"https://api.github.com/users/vip-take/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vip-take/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/vip-take/protospace","forks_url":"https://api.github.com/repos/vip-take/protospace/forks","keys_url":"https://api.github.com/repos/vip-take/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vip-take/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vip-take/protospace/teams","hooks_url":"https://api.github.com/repos/vip-take/protospace/hooks","issue_events_url":"https://api.github.com/repos/vip-take/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/vip-take/protospace/events","assignees_url":"https://api.github.com/repos/vip-take/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/vip-take/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/vip-take/protospace/tags","blobs_url":"https://api.github.com/repos/vip-take/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vip-take/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vip-take/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/vip-take/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vip-take/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/vip-take/protospace/languages","stargazers_url":"https://api.github.com/repos/vip-take/protospace/stargazers","contributors_url":"https://api.github.com/repos/vip-take/protospace/contributors","subscribers_url":"https://api.github.com/repos/vip-take/protospace/subscribers","subscription_url":"https://api.github.com/repos/vip-take/protospace/subscription","commits_url":"https://api.github.com/repos/vip-take/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/vip-take/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/vip-take/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/vip-take/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/vip-take/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/vip-take/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vip-take/protospace/merges","archive_url":"https://api.github.com/repos/vip-take/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vip-take/protospace/downloads","issues_url":"https://api.github.com/repos/vip-take/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/vip-take/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/vip-take/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/vip-take/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vip-take/protospace/labels{/name}","releases_url":"https://api.github.com/repos/vip-take/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/vip-take/protospace/deployments","created_at":"2016-09-15T06:20:37Z","updated_at":"2016-09-19T08:59:44Z","pushed_at":"2016-09-23T07:47:11Z","git_url":"git://github.com/vip-take/protospace.git","ssh_url":"git@github.com:vip-take/protospace.git","clone_url":"https://github.com/vip-take/protospace.git","svn_url":"https://github.com/vip-take/protospace","homepage":"","size":102,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"vip-take:master","ref":"master","sha":"6fe8155e7f819653ef9f92cba3f2ad7ee29863fe","user":{"login":"vip-take","id":14926589,"avatar_url":"https://avatars.githubusercontent.com/u/14926589?v=3","gravatar_id":"","url":"https://api.github.com/users/vip-take","html_url":"https://github.com/vip-take","followers_url":"https://api.github.com/users/vip-take/followers","following_url":"https://api.github.com/users/vip-take/following{/other_user}","gists_url":"https://api.github.com/users/vip-take/gists{/gist_id}","starred_url":"https://api.github.com/users/vip-take/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vip-take/subscriptions","organizations_url":"https://api.github.com/users/vip-take/orgs","repos_url":"https://api.github.com/users/vip-take/repos","events_url":"https://api.github.com/users/vip-take/events{/privacy}","received_events_url":"https://api.github.com/users/vip-take/received_events","type":"User","site_admin":false},"repo":{"id":68271188,"name":"protospace","full_name":"vip-take/protospace","owner":{"login":"vip-take","id":14926589,"avatar_url":"https://avatars.githubusercontent.com/u/14926589?v=3","gravatar_id":"","url":"https://api.github.com/users/vip-take","html_url":"https://github.com/vip-take","followers_url":"https://api.github.com/users/vip-take/followers","following_url":"https://api.github.com/users/vip-take/following{/other_user}","gists_url":"https://api.github.com/users/vip-take/gists{/gist_id}","starred_url":"https://api.github.com/users/vip-take/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vip-take/subscriptions","organizations_url":"https://api.github.com/users/vip-take/orgs","repos_url":"https://api.github.com/users/vip-take/repos","events_url":"https://api.github.com/users/vip-take/events{/privacy}","received_events_url":"https://api.github.com/users/vip-take/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vip-take/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/vip-take/protospace","forks_url":"https://api.github.com/repos/vip-take/protospace/forks","keys_url":"https://api.github.com/repos/vip-take/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vip-take/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vip-take/protospace/teams","hooks_url":"https://api.github.com/repos/vip-take/protospace/hooks","issue_events_url":"https://api.github.com/repos/vip-take/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/vip-take/protospace/events","assignees_url":"https://api.github.com/repos/vip-take/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/vip-take/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/vip-take/protospace/tags","blobs_url":"https://api.github.com/repos/vip-take/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vip-take/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vip-take/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/vip-take/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vip-take/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/vip-take/protospace/languages","stargazers_url":"https://api.github.com/repos/vip-take/protospace/stargazers","contributors_url":"https://api.github.com/repos/vip-take/protospace/contributors","subscribers_url":"https://api.github.com/repos/vip-take/protospace/subscribers","subscription_url":"https://api.github.com/repos/vip-take/protospace/subscription","commits_url":"https://api.github.com/repos/vip-take/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/vip-take/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/vip-take/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/vip-take/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/vip-take/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/vip-take/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vip-take/protospace/merges","archive_url":"https://api.github.com/repos/vip-take/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vip-take/protospace/downloads","issues_url":"https://api.github.com/repos/vip-take/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/vip-take/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/vip-take/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/vip-take/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vip-take/protospace/labels{/name}","releases_url":"https://api.github.com/repos/vip-take/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/vip-take/protospace/deployments","created_at":"2016-09-15T06:20:37Z","updated_at":"2016-09-19T08:59:44Z","pushed_at":"2016-09-23T07:47:11Z","git_url":"git://github.com/vip-take/protospace.git","ssh_url":"git@github.com:vip-take/protospace.git","clone_url":"https://github.com/vip-take/protospace.git","svn_url":"https://github.com/vip-take/protospace","homepage":"","size":102,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vip-take/protospace/pulls/15"},"html":{"href":"https://github.com/vip-take/protospace/pull/15"},"issue":{"href":"https://api.github.com/repos/vip-take/protospace/issues/15"},"comments":{"href":"https://api.github.com/repos/vip-take/protospace/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/vip-take/protospace/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/vip-take/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vip-take/protospace/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/vip-take/protospace/statuses/00ce779acff878daed212dcb8046960c6fdfa0ca"}}}}
{"actor":{"display_login":"ryosukemaehira"}}