{"action":"created","comment":{"url":"https://api.github.com/repos/yojimasentaro/protospace/pulls/comments/64887566","id":64887566,"diff_hunk":"@@ -0,0 +1,5 @@\n+class PrototypeImage < ActiveRecord::Base\n+  belongs_to     :prototype\n+  enum role: %i( main sub )\n+  mount_uploader :content, PrototypeImageUploader","path":"app/models/prototype_image.rb","position":4,"original_position":4,"commit_id":"e301cb790d483c2c42adf57017cc58d645bffbf4","original_commit_id":"e301cb790d483c2c42adf57017cc58d645bffbf4","user":{"login":"yusukeyamane","id":9315114,"avatar_url":"https://avatars.githubusercontent.com/u/9315114?v=3","gravatar_id":"","url":"https://api.github.com/users/yusukeyamane","html_url":"https://github.com/yusukeyamane","followers_url":"https://api.github.com/users/yusukeyamane/followers","following_url":"https://api.github.com/users/yusukeyamane/following{/other_user}","gists_url":"https://api.github.com/users/yusukeyamane/gists{/gist_id}","starred_url":"https://api.github.com/users/yusukeyamane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusukeyamane/subscriptions","organizations_url":"https://api.github.com/users/yusukeyamane/orgs","repos_url":"https://api.github.com/users/yusukeyamane/repos","events_url":"https://api.github.com/users/yusukeyamane/events{/privacy}","received_events_url":"https://api.github.com/users/yusukeyamane/received_events","type":"User","site_admin":false},"body":"prototypeにもvalidation必要やね！","created_at":"2016-05-27T10:39:50Z","updated_at":"2016-05-27T10:39:50Z","html_url":"https://github.com/yojimasentaro/protospace/pull/7#discussion_r64887566","pull_request_url":"https://api.github.com/repos/yojimasentaro/protospace/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/yojimasentaro/protospace/pulls/comments/64887566"},"html":{"href":"https://github.com/yojimasentaro/protospace/pull/7#discussion_r64887566"},"pull_request":{"href":"https://api.github.com/repos/yojimasentaro/protospace/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/yojimasentaro/protospace/pulls/7","id":71662691,"html_url":"https://github.com/yojimasentaro/protospace/pull/7","diff_url":"https://github.com/yojimasentaro/protospace/pull/7.diff","patch_url":"https://github.com/yojimasentaro/protospace/pull/7.patch","issue_url":"https://api.github.com/repos/yojimasentaro/protospace/issues/7","number":7,"state":"open","locked":false,"title":"Introduce carrierwave and prototype posting","user":{"login":"yojimasentaro","id":14925725,"avatar_url":"https://avatars.githubusercontent.com/u/14925725?v=3","gravatar_id":"","url":"https://api.github.com/users/yojimasentaro","html_url":"https://github.com/yojimasentaro","followers_url":"https://api.github.com/users/yojimasentaro/followers","following_url":"https://api.github.com/users/yojimasentaro/following{/other_user}","gists_url":"https://api.github.com/users/yojimasentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/yojimasentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yojimasentaro/subscriptions","organizations_url":"https://api.github.com/users/yojimasentaro/orgs","repos_url":"https://api.github.com/users/yojimasentaro/repos","events_url":"https://api.github.com/users/yojimasentaro/events{/privacy}","received_events_url":"https://api.github.com/users/yojimasentaro/received_events","type":"User","site_admin":false},"body":"\r\n# WHAT\r\n\r\ncarrrierwaveの導入とプロトタイプ投稿機能（複数写真）の実装。\r\n\r\n# WHY\r\n\r\nユーザが自分のプロトタイプを投稿できるようにするため。","created_at":"2016-05-27T05:37:23Z","updated_at":"2016-05-27T10:39:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de47e850772db3f3e1439ffbbc73fb836a885b0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yojimasentaro/protospace/pulls/7/commits","review_comments_url":"https://api.github.com/repos/yojimasentaro/protospace/pulls/7/comments","review_comment_url":"https://api.github.com/repos/yojimasentaro/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yojimasentaro/protospace/issues/7/comments","statuses_url":"https://api.github.com/repos/yojimasentaro/protospace/statuses/e301cb790d483c2c42adf57017cc58d645bffbf4","head":{"label":"yojimasentaro:introduce_carrierwave_and_prototype_posting","ref":"introduce_carrierwave_and_prototype_posting","sha":"e301cb790d483c2c42adf57017cc58d645bffbf4","user":{"login":"yojimasentaro","id":14925725,"avatar_url":"https://avatars.githubusercontent.com/u/14925725?v=3","gravatar_id":"","url":"https://api.github.com/users/yojimasentaro","html_url":"https://github.com/yojimasentaro","followers_url":"https://api.github.com/users/yojimasentaro/followers","following_url":"https://api.github.com/users/yojimasentaro/following{/other_user}","gists_url":"https://api.github.com/users/yojimasentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/yojimasentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yojimasentaro/subscriptions","organizations_url":"https://api.github.com/users/yojimasentaro/orgs","repos_url":"https://api.github.com/users/yojimasentaro/repos","events_url":"https://api.github.com/users/yojimasentaro/events{/privacy}","received_events_url":"https://api.github.com/users/yojimasentaro/received_events","type":"User","site_admin":false},"repo":{"id":58314964,"name":"protospace","full_name":"yojimasentaro/protospace","owner":{"login":"yojimasentaro","id":14925725,"avatar_url":"https://avatars.githubusercontent.com/u/14925725?v=3","gravatar_id":"","url":"https://api.github.com/users/yojimasentaro","html_url":"https://github.com/yojimasentaro","followers_url":"https://api.github.com/users/yojimasentaro/followers","following_url":"https://api.github.com/users/yojimasentaro/following{/other_user}","gists_url":"https://api.github.com/users/yojimasentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/yojimasentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yojimasentaro/subscriptions","organizations_url":"https://api.github.com/users/yojimasentaro/orgs","repos_url":"https://api.github.com/users/yojimasentaro/repos","events_url":"https://api.github.com/users/yojimasentaro/events{/privacy}","received_events_url":"https://api.github.com/users/yojimasentaro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yojimasentaro/protospace","description":"","fork":false,"url":"https://api.github.com/repos/yojimasentaro/protospace","forks_url":"https://api.github.com/repos/yojimasentaro/protospace/forks","keys_url":"https://api.github.com/repos/yojimasentaro/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yojimasentaro/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yojimasentaro/protospace/teams","hooks_url":"https://api.github.com/repos/yojimasentaro/protospace/hooks","issue_events_url":"https://api.github.com/repos/yojimasentaro/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/yojimasentaro/protospace/events","assignees_url":"https://api.github.com/repos/yojimasentaro/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/yojimasentaro/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/yojimasentaro/protospace/tags","blobs_url":"https://api.github.com/repos/yojimasentaro/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yojimasentaro/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yojimasentaro/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/yojimasentaro/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yojimasentaro/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/yojimasentaro/protospace/languages","stargazers_url":"https://api.github.com/repos/yojimasentaro/protospace/stargazers","contributors_url":"https://api.github.com/repos/yojimasentaro/protospace/contributors","subscribers_url":"https://api.github.com/repos/yojimasentaro/protospace/subscribers","subscription_url":"https://api.github.com/repos/yojimasentaro/protospace/subscription","commits_url":"https://api.github.com/repos/yojimasentaro/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/yojimasentaro/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/yojimasentaro/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/yojimasentaro/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/yojimasentaro/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/yojimasentaro/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yojimasentaro/protospace/merges","archive_url":"https://api.github.com/repos/yojimasentaro/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yojimasentaro/protospace/downloads","issues_url":"https://api.github.com/repos/yojimasentaro/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/yojimasentaro/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/yojimasentaro/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/yojimasentaro/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yojimasentaro/protospace/labels{/name}","releases_url":"https://api.github.com/repos/yojimasentaro/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/yojimasentaro/protospace/deployments","created_at":"2016-05-08T14:08:08Z","updated_at":"2016-05-08T21:16:40Z","pushed_at":"2016-05-27T05:46:36Z","git_url":"git://github.com/yojimasentaro/protospace.git","ssh_url":"git@github.com:yojimasentaro/protospace.git","clone_url":"https://github.com/yojimasentaro/protospace.git","svn_url":"https://github.com/yojimasentaro/protospace","homepage":null,"size":577,"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":"yojimasentaro:master","ref":"master","sha":"d9004d6fd2b4834914b94432c8de7249918955cd","user":{"login":"yojimasentaro","id":14925725,"avatar_url":"https://avatars.githubusercontent.com/u/14925725?v=3","gravatar_id":"","url":"https://api.github.com/users/yojimasentaro","html_url":"https://github.com/yojimasentaro","followers_url":"https://api.github.com/users/yojimasentaro/followers","following_url":"https://api.github.com/users/yojimasentaro/following{/other_user}","gists_url":"https://api.github.com/users/yojimasentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/yojimasentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yojimasentaro/subscriptions","organizations_url":"https://api.github.com/users/yojimasentaro/orgs","repos_url":"https://api.github.com/users/yojimasentaro/repos","events_url":"https://api.github.com/users/yojimasentaro/events{/privacy}","received_events_url":"https://api.github.com/users/yojimasentaro/received_events","type":"User","site_admin":false},"repo":{"id":58314964,"name":"protospace","full_name":"yojimasentaro/protospace","owner":{"login":"yojimasentaro","id":14925725,"avatar_url":"https://avatars.githubusercontent.com/u/14925725?v=3","gravatar_id":"","url":"https://api.github.com/users/yojimasentaro","html_url":"https://github.com/yojimasentaro","followers_url":"https://api.github.com/users/yojimasentaro/followers","following_url":"https://api.github.com/users/yojimasentaro/following{/other_user}","gists_url":"https://api.github.com/users/yojimasentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/yojimasentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yojimasentaro/subscriptions","organizations_url":"https://api.github.com/users/yojimasentaro/orgs","repos_url":"https://api.github.com/users/yojimasentaro/repos","events_url":"https://api.github.com/users/yojimasentaro/events{/privacy}","received_events_url":"https://api.github.com/users/yojimasentaro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yojimasentaro/protospace","description":"","fork":false,"url":"https://api.github.com/repos/yojimasentaro/protospace","forks_url":"https://api.github.com/repos/yojimasentaro/protospace/forks","keys_url":"https://api.github.com/repos/yojimasentaro/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yojimasentaro/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yojimasentaro/protospace/teams","hooks_url":"https://api.github.com/repos/yojimasentaro/protospace/hooks","issue_events_url":"https://api.github.com/repos/yojimasentaro/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/yojimasentaro/protospace/events","assignees_url":"https://api.github.com/repos/yojimasentaro/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/yojimasentaro/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/yojimasentaro/protospace/tags","blobs_url":"https://api.github.com/repos/yojimasentaro/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yojimasentaro/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yojimasentaro/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/yojimasentaro/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yojimasentaro/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/yojimasentaro/protospace/languages","stargazers_url":"https://api.github.com/repos/yojimasentaro/protospace/stargazers","contributors_url":"https://api.github.com/repos/yojimasentaro/protospace/contributors","subscribers_url":"https://api.github.com/repos/yojimasentaro/protospace/subscribers","subscription_url":"https://api.github.com/repos/yojimasentaro/protospace/subscription","commits_url":"https://api.github.com/repos/yojimasentaro/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/yojimasentaro/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/yojimasentaro/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/yojimasentaro/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/yojimasentaro/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/yojimasentaro/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yojimasentaro/protospace/merges","archive_url":"https://api.github.com/repos/yojimasentaro/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yojimasentaro/protospace/downloads","issues_url":"https://api.github.com/repos/yojimasentaro/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/yojimasentaro/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/yojimasentaro/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/yojimasentaro/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yojimasentaro/protospace/labels{/name}","releases_url":"https://api.github.com/repos/yojimasentaro/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/yojimasentaro/protospace/deployments","created_at":"2016-05-08T14:08:08Z","updated_at":"2016-05-08T21:16:40Z","pushed_at":"2016-05-27T05:46:36Z","git_url":"git://github.com/yojimasentaro/protospace.git","ssh_url":"git@github.com:yojimasentaro/protospace.git","clone_url":"https://github.com/yojimasentaro/protospace.git","svn_url":"https://github.com/yojimasentaro/protospace","homepage":null,"size":577,"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/yojimasentaro/protospace/pulls/7"},"html":{"href":"https://github.com/yojimasentaro/protospace/pull/7"},"issue":{"href":"https://api.github.com/repos/yojimasentaro/protospace/issues/7"},"comments":{"href":"https://api.github.com/repos/yojimasentaro/protospace/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/yojimasentaro/protospace/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/yojimasentaro/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yojimasentaro/protospace/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/yojimasentaro/protospace/statuses/e301cb790d483c2c42adf57017cc58d645bffbf4"}}}}
{"actor":{"display_login":"yusukeyamane"}}