{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/yogoken/protospace/pulls/9","id":79541426,"html_url":"https://github.com/yogoken/protospace/pull/9","diff_url":"https://github.com/yogoken/protospace/pull/9.diff","patch_url":"https://github.com/yogoken/protospace/pull/9.patch","issue_url":"https://api.github.com/repos/yogoken/protospace/issues/9","number":9,"state":"closed","locked":false,"title":"プロトタイプ投稿機能","user":{"login":"yogoken","id":17805440,"avatar_url":"https://avatars.githubusercontent.com/u/17805440?v=3","gravatar_id":"","url":"https://api.github.com/users/yogoken","html_url":"https://github.com/yogoken","followers_url":"https://api.github.com/users/yogoken/followers","following_url":"https://api.github.com/users/yogoken/following{/other_user}","gists_url":"https://api.github.com/users/yogoken/gists{/gist_id}","starred_url":"https://api.github.com/users/yogoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogoken/subscriptions","organizations_url":"https://api.github.com/users/yogoken/orgs","repos_url":"https://api.github.com/users/yogoken/repos","events_url":"https://api.github.com/users/yogoken/events{/privacy}","received_events_url":"https://api.github.com/users/yogoken/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n- carrierwaveの導入\r\n- Prototype/PrototypeImageモデル、テーブルの作成\r\n- プロトタイプ情報(親)とプロトタイプ画像(子)を一括で作成、更新\r\n(accepts_nested_attributes_forメソッド、fields_forメソッドを使用)\r\n- enumでmainとsubを分け、拡張性のためにnewアクションで変数化\r\n\r\n# WHY\r\n- 画像アップロード機能を実装するため\r\n- プロトタイプ投稿し、画像をprototype_images テーブルに保存するため\r\n\r\n# 期限\r\n8/1","created_at":"2016-08-01T09:46:25Z","updated_at":"2016-08-02T03:15:28Z","closed_at":"2016-08-02T03:15:28Z","merged_at":"2016-08-02T03:15:28Z","merge_commit_sha":"063c0a3428352ba2dd37fb72224df21614f622d8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yogoken/protospace/pulls/9/commits","review_comments_url":"https://api.github.com/repos/yogoken/protospace/pulls/9/comments","review_comment_url":"https://api.github.com/repos/yogoken/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yogoken/protospace/issues/9/comments","statuses_url":"https://api.github.com/repos/yogoken/protospace/statuses/d1f5f3cfdb1cd2b52b11f69e35b1a43652a62171","head":{"label":"yogoken:add-prototype-posting","ref":"add-prototype-posting","sha":"d1f5f3cfdb1cd2b52b11f69e35b1a43652a62171","user":{"login":"yogoken","id":17805440,"avatar_url":"https://avatars.githubusercontent.com/u/17805440?v=3","gravatar_id":"","url":"https://api.github.com/users/yogoken","html_url":"https://github.com/yogoken","followers_url":"https://api.github.com/users/yogoken/followers","following_url":"https://api.github.com/users/yogoken/following{/other_user}","gists_url":"https://api.github.com/users/yogoken/gists{/gist_id}","starred_url":"https://api.github.com/users/yogoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogoken/subscriptions","organizations_url":"https://api.github.com/users/yogoken/orgs","repos_url":"https://api.github.com/users/yogoken/repos","events_url":"https://api.github.com/users/yogoken/events{/privacy}","received_events_url":"https://api.github.com/users/yogoken/received_events","type":"User","site_admin":false},"repo":{"id":64006935,"name":"protospace","full_name":"yogoken/protospace","owner":{"login":"yogoken","id":17805440,"avatar_url":"https://avatars.githubusercontent.com/u/17805440?v=3","gravatar_id":"","url":"https://api.github.com/users/yogoken","html_url":"https://github.com/yogoken","followers_url":"https://api.github.com/users/yogoken/followers","following_url":"https://api.github.com/users/yogoken/following{/other_user}","gists_url":"https://api.github.com/users/yogoken/gists{/gist_id}","starred_url":"https://api.github.com/users/yogoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogoken/subscriptions","organizations_url":"https://api.github.com/users/yogoken/orgs","repos_url":"https://api.github.com/users/yogoken/repos","events_url":"https://api.github.com/users/yogoken/events{/privacy}","received_events_url":"https://api.github.com/users/yogoken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yogoken/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/yogoken/protospace","forks_url":"https://api.github.com/repos/yogoken/protospace/forks","keys_url":"https://api.github.com/repos/yogoken/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yogoken/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yogoken/protospace/teams","hooks_url":"https://api.github.com/repos/yogoken/protospace/hooks","issue_events_url":"https://api.github.com/repos/yogoken/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/yogoken/protospace/events","assignees_url":"https://api.github.com/repos/yogoken/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/yogoken/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/yogoken/protospace/tags","blobs_url":"https://api.github.com/repos/yogoken/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yogoken/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yogoken/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/yogoken/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yogoken/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/yogoken/protospace/languages","stargazers_url":"https://api.github.com/repos/yogoken/protospace/stargazers","contributors_url":"https://api.github.com/repos/yogoken/protospace/contributors","subscribers_url":"https://api.github.com/repos/yogoken/protospace/subscribers","subscription_url":"https://api.github.com/repos/yogoken/protospace/subscription","commits_url":"https://api.github.com/repos/yogoken/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/yogoken/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/yogoken/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/yogoken/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/yogoken/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/yogoken/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yogoken/protospace/merges","archive_url":"https://api.github.com/repos/yogoken/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yogoken/protospace/downloads","issues_url":"https://api.github.com/repos/yogoken/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/yogoken/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/yogoken/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/yogoken/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yogoken/protospace/labels{/name}","releases_url":"https://api.github.com/repos/yogoken/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/yogoken/protospace/deployments","created_at":"2016-07-23T08:28:18Z","updated_at":"2016-07-27T00:41:07Z","pushed_at":"2016-08-02T03:15:28Z","git_url":"git://github.com/yogoken/protospace.git","ssh_url":"git@github.com:yogoken/protospace.git","clone_url":"https://github.com/yogoken/protospace.git","svn_url":"https://github.com/yogoken/protospace","homepage":"","size":564,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yogoken:master","ref":"master","sha":"c0181aa361341bbef011354778ad526a507c25ab","user":{"login":"yogoken","id":17805440,"avatar_url":"https://avatars.githubusercontent.com/u/17805440?v=3","gravatar_id":"","url":"https://api.github.com/users/yogoken","html_url":"https://github.com/yogoken","followers_url":"https://api.github.com/users/yogoken/followers","following_url":"https://api.github.com/users/yogoken/following{/other_user}","gists_url":"https://api.github.com/users/yogoken/gists{/gist_id}","starred_url":"https://api.github.com/users/yogoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogoken/subscriptions","organizations_url":"https://api.github.com/users/yogoken/orgs","repos_url":"https://api.github.com/users/yogoken/repos","events_url":"https://api.github.com/users/yogoken/events{/privacy}","received_events_url":"https://api.github.com/users/yogoken/received_events","type":"User","site_admin":false},"repo":{"id":64006935,"name":"protospace","full_name":"yogoken/protospace","owner":{"login":"yogoken","id":17805440,"avatar_url":"https://avatars.githubusercontent.com/u/17805440?v=3","gravatar_id":"","url":"https://api.github.com/users/yogoken","html_url":"https://github.com/yogoken","followers_url":"https://api.github.com/users/yogoken/followers","following_url":"https://api.github.com/users/yogoken/following{/other_user}","gists_url":"https://api.github.com/users/yogoken/gists{/gist_id}","starred_url":"https://api.github.com/users/yogoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogoken/subscriptions","organizations_url":"https://api.github.com/users/yogoken/orgs","repos_url":"https://api.github.com/users/yogoken/repos","events_url":"https://api.github.com/users/yogoken/events{/privacy}","received_events_url":"https://api.github.com/users/yogoken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yogoken/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/yogoken/protospace","forks_url":"https://api.github.com/repos/yogoken/protospace/forks","keys_url":"https://api.github.com/repos/yogoken/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yogoken/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yogoken/protospace/teams","hooks_url":"https://api.github.com/repos/yogoken/protospace/hooks","issue_events_url":"https://api.github.com/repos/yogoken/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/yogoken/protospace/events","assignees_url":"https://api.github.com/repos/yogoken/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/yogoken/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/yogoken/protospace/tags","blobs_url":"https://api.github.com/repos/yogoken/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yogoken/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yogoken/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/yogoken/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yogoken/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/yogoken/protospace/languages","stargazers_url":"https://api.github.com/repos/yogoken/protospace/stargazers","contributors_url":"https://api.github.com/repos/yogoken/protospace/contributors","subscribers_url":"https://api.github.com/repos/yogoken/protospace/subscribers","subscription_url":"https://api.github.com/repos/yogoken/protospace/subscription","commits_url":"https://api.github.com/repos/yogoken/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/yogoken/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/yogoken/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/yogoken/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/yogoken/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/yogoken/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yogoken/protospace/merges","archive_url":"https://api.github.com/repos/yogoken/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yogoken/protospace/downloads","issues_url":"https://api.github.com/repos/yogoken/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/yogoken/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/yogoken/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/yogoken/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yogoken/protospace/labels{/name}","releases_url":"https://api.github.com/repos/yogoken/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/yogoken/protospace/deployments","created_at":"2016-07-23T08:28:18Z","updated_at":"2016-07-27T00:41:07Z","pushed_at":"2016-08-02T03:15:28Z","git_url":"git://github.com/yogoken/protospace.git","ssh_url":"git@github.com:yogoken/protospace.git","clone_url":"https://github.com/yogoken/protospace.git","svn_url":"https://github.com/yogoken/protospace","homepage":"","size":564,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yogoken/protospace/pulls/9"},"html":{"href":"https://github.com/yogoken/protospace/pull/9"},"issue":{"href":"https://api.github.com/repos/yogoken/protospace/issues/9"},"comments":{"href":"https://api.github.com/repos/yogoken/protospace/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/yogoken/protospace/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/yogoken/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yogoken/protospace/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/yogoken/protospace/statuses/d1f5f3cfdb1cd2b52b11f69e35b1a43652a62171"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yogoken","id":17805440,"avatar_url":"https://avatars.githubusercontent.com/u/17805440?v=3","gravatar_id":"","url":"https://api.github.com/users/yogoken","html_url":"https://github.com/yogoken","followers_url":"https://api.github.com/users/yogoken/followers","following_url":"https://api.github.com/users/yogoken/following{/other_user}","gists_url":"https://api.github.com/users/yogoken/gists{/gist_id}","starred_url":"https://api.github.com/users/yogoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogoken/subscriptions","organizations_url":"https://api.github.com/users/yogoken/orgs","repos_url":"https://api.github.com/users/yogoken/repos","events_url":"https://api.github.com/users/yogoken/events{/privacy}","received_events_url":"https://api.github.com/users/yogoken/received_events","type":"User","site_admin":false},"comments":3,"review_comments":2,"commits":9,"additions":169,"deletions":160,"changed_files":15}}
{"actor":{"display_login":"yogoken"}}