{"action":"closed","number":74,"pull_request":{"url":"https://api.github.com/repos/dsaa151562000/dive23/pulls/74","id":87637031,"html_url":"https://github.com/dsaa151562000/dive23/pull/74","diff_url":"https://github.com/dsaa151562000/dive23/pull/74.diff","patch_url":"https://github.com/dsaa151562000/dive23/pull/74.patch","issue_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/74","number":74,"state":"closed","locked":false,"title":"【Fixed #72】回答に解決フラグ機能を実装する","user":{"login":"dsaa151562000","id":905854,"avatar_url":"https://avatars.githubusercontent.com/u/905854?v=3","gravatar_id":"","url":"https://api.github.com/users/dsaa151562000","html_url":"https://github.com/dsaa151562000","followers_url":"https://api.github.com/users/dsaa151562000/followers","following_url":"https://api.github.com/users/dsaa151562000/following{/other_user}","gists_url":"https://api.github.com/users/dsaa151562000/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaa151562000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaa151562000/subscriptions","organizations_url":"https://api.github.com/users/dsaa151562000/orgs","repos_url":"https://api.github.com/users/dsaa151562000/repos","events_url":"https://api.github.com/users/dsaa151562000/events{/privacy}","received_events_url":"https://api.github.com/users/dsaa151562000/received_events","type":"User","site_admin":false},"body":"#72 \r\n・questionsテーブルにresolveカラム type booleanを追加した\r\n・answersテーブルにgrateカラム type booleanを追加した\r\n・AnswersControllerに上記カラムをtrueに更新するresolveメソッドを実装した。\r\n・ApplicationControllerに共通viewで使用するresolveカラムの判定メソッドを実装した\r\n・AnswersHelperにviewで使用するgrateカラムの判定メソッドを実装した\r\n・answers　viewに解決、未解決判定表示メッソドを実装した\r\n・question 　viewに解決、未解決判定表示メッソドを実装した\r\n\r\nモンキーテストで動作確認\r\n","created_at":"2016-10-02T15:36:26Z","updated_at":"2016-10-03T00:38:47Z","closed_at":"2016-10-03T00:38:47Z","merged_at":"2016-10-03T00:38:47Z","merge_commit_sha":"f8c9b729095833b41914a6c0953d6118b3fa1877","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dsaa151562000/dive23/pulls/74/commits","review_comments_url":"https://api.github.com/repos/dsaa151562000/dive23/pulls/74/comments","review_comment_url":"https://api.github.com/repos/dsaa151562000/dive23/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/74/comments","statuses_url":"https://api.github.com/repos/dsaa151562000/dive23/statuses/f2df59459bd6d851b1579242135e8cb8ce4788ee","head":{"label":"dsaa151562000:issues/#72","ref":"issues/#72","sha":"f2df59459bd6d851b1579242135e8cb8ce4788ee","user":{"login":"dsaa151562000","id":905854,"avatar_url":"https://avatars.githubusercontent.com/u/905854?v=3","gravatar_id":"","url":"https://api.github.com/users/dsaa151562000","html_url":"https://github.com/dsaa151562000","followers_url":"https://api.github.com/users/dsaa151562000/followers","following_url":"https://api.github.com/users/dsaa151562000/following{/other_user}","gists_url":"https://api.github.com/users/dsaa151562000/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaa151562000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaa151562000/subscriptions","organizations_url":"https://api.github.com/users/dsaa151562000/orgs","repos_url":"https://api.github.com/users/dsaa151562000/repos","events_url":"https://api.github.com/users/dsaa151562000/events{/privacy}","received_events_url":"https://api.github.com/users/dsaa151562000/received_events","type":"User","site_admin":false},"repo":{"id":66446850,"name":"dive23","full_name":"dsaa151562000/dive23","owner":{"login":"dsaa151562000","id":905854,"avatar_url":"https://avatars.githubusercontent.com/u/905854?v=3","gravatar_id":"","url":"https://api.github.com/users/dsaa151562000","html_url":"https://github.com/dsaa151562000","followers_url":"https://api.github.com/users/dsaa151562000/followers","following_url":"https://api.github.com/users/dsaa151562000/following{/other_user}","gists_url":"https://api.github.com/users/dsaa151562000/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaa151562000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaa151562000/subscriptions","organizations_url":"https://api.github.com/users/dsaa151562000/orgs","repos_url":"https://api.github.com/users/dsaa151562000/repos","events_url":"https://api.github.com/users/dsaa151562000/events{/privacy}","received_events_url":"https://api.github.com/users/dsaa151562000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsaa151562000/dive23","description":"dive23アプリケーション開発のリポジトリです","fork":false,"url":"https://api.github.com/repos/dsaa151562000/dive23","forks_url":"https://api.github.com/repos/dsaa151562000/dive23/forks","keys_url":"https://api.github.com/repos/dsaa151562000/dive23/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsaa151562000/dive23/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsaa151562000/dive23/teams","hooks_url":"https://api.github.com/repos/dsaa151562000/dive23/hooks","issue_events_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/events{/number}","events_url":"https://api.github.com/repos/dsaa151562000/dive23/events","assignees_url":"https://api.github.com/repos/dsaa151562000/dive23/assignees{/user}","branches_url":"https://api.github.com/repos/dsaa151562000/dive23/branches{/branch}","tags_url":"https://api.github.com/repos/dsaa151562000/dive23/tags","blobs_url":"https://api.github.com/repos/dsaa151562000/dive23/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsaa151562000/dive23/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsaa151562000/dive23/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsaa151562000/dive23/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsaa151562000/dive23/statuses/{sha}","languages_url":"https://api.github.com/repos/dsaa151562000/dive23/languages","stargazers_url":"https://api.github.com/repos/dsaa151562000/dive23/stargazers","contributors_url":"https://api.github.com/repos/dsaa151562000/dive23/contributors","subscribers_url":"https://api.github.com/repos/dsaa151562000/dive23/subscribers","subscription_url":"https://api.github.com/repos/dsaa151562000/dive23/subscription","commits_url":"https://api.github.com/repos/dsaa151562000/dive23/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsaa151562000/dive23/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsaa151562000/dive23/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsaa151562000/dive23/contents/{+path}","compare_url":"https://api.github.com/repos/dsaa151562000/dive23/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsaa151562000/dive23/merges","archive_url":"https://api.github.com/repos/dsaa151562000/dive23/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsaa151562000/dive23/downloads","issues_url":"https://api.github.com/repos/dsaa151562000/dive23/issues{/number}","pulls_url":"https://api.github.com/repos/dsaa151562000/dive23/pulls{/number}","milestones_url":"https://api.github.com/repos/dsaa151562000/dive23/milestones{/number}","notifications_url":"https://api.github.com/repos/dsaa151562000/dive23/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsaa151562000/dive23/labels{/name}","releases_url":"https://api.github.com/repos/dsaa151562000/dive23/releases{/id}","deployments_url":"https://api.github.com/repos/dsaa151562000/dive23/deployments","created_at":"2016-08-24T08:40:44Z","updated_at":"2016-08-24T14:55:20Z","pushed_at":"2016-10-03T00:38:47Z","git_url":"git://github.com/dsaa151562000/dive23.git","ssh_url":"git@github.com:dsaa151562000/dive23.git","clone_url":"https://github.com/dsaa151562000/dive23.git","svn_url":"https://github.com/dsaa151562000/dive23","homepage":null,"size":3017,"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":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"dsaa151562000:master","ref":"master","sha":"21baabd100faa9715be2a46036f825bc9856deb2","user":{"login":"dsaa151562000","id":905854,"avatar_url":"https://avatars.githubusercontent.com/u/905854?v=3","gravatar_id":"","url":"https://api.github.com/users/dsaa151562000","html_url":"https://github.com/dsaa151562000","followers_url":"https://api.github.com/users/dsaa151562000/followers","following_url":"https://api.github.com/users/dsaa151562000/following{/other_user}","gists_url":"https://api.github.com/users/dsaa151562000/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaa151562000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaa151562000/subscriptions","organizations_url":"https://api.github.com/users/dsaa151562000/orgs","repos_url":"https://api.github.com/users/dsaa151562000/repos","events_url":"https://api.github.com/users/dsaa151562000/events{/privacy}","received_events_url":"https://api.github.com/users/dsaa151562000/received_events","type":"User","site_admin":false},"repo":{"id":66446850,"name":"dive23","full_name":"dsaa151562000/dive23","owner":{"login":"dsaa151562000","id":905854,"avatar_url":"https://avatars.githubusercontent.com/u/905854?v=3","gravatar_id":"","url":"https://api.github.com/users/dsaa151562000","html_url":"https://github.com/dsaa151562000","followers_url":"https://api.github.com/users/dsaa151562000/followers","following_url":"https://api.github.com/users/dsaa151562000/following{/other_user}","gists_url":"https://api.github.com/users/dsaa151562000/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaa151562000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaa151562000/subscriptions","organizations_url":"https://api.github.com/users/dsaa151562000/orgs","repos_url":"https://api.github.com/users/dsaa151562000/repos","events_url":"https://api.github.com/users/dsaa151562000/events{/privacy}","received_events_url":"https://api.github.com/users/dsaa151562000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsaa151562000/dive23","description":"dive23アプリケーション開発のリポジトリです","fork":false,"url":"https://api.github.com/repos/dsaa151562000/dive23","forks_url":"https://api.github.com/repos/dsaa151562000/dive23/forks","keys_url":"https://api.github.com/repos/dsaa151562000/dive23/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsaa151562000/dive23/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsaa151562000/dive23/teams","hooks_url":"https://api.github.com/repos/dsaa151562000/dive23/hooks","issue_events_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/events{/number}","events_url":"https://api.github.com/repos/dsaa151562000/dive23/events","assignees_url":"https://api.github.com/repos/dsaa151562000/dive23/assignees{/user}","branches_url":"https://api.github.com/repos/dsaa151562000/dive23/branches{/branch}","tags_url":"https://api.github.com/repos/dsaa151562000/dive23/tags","blobs_url":"https://api.github.com/repos/dsaa151562000/dive23/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsaa151562000/dive23/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsaa151562000/dive23/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsaa151562000/dive23/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsaa151562000/dive23/statuses/{sha}","languages_url":"https://api.github.com/repos/dsaa151562000/dive23/languages","stargazers_url":"https://api.github.com/repos/dsaa151562000/dive23/stargazers","contributors_url":"https://api.github.com/repos/dsaa151562000/dive23/contributors","subscribers_url":"https://api.github.com/repos/dsaa151562000/dive23/subscribers","subscription_url":"https://api.github.com/repos/dsaa151562000/dive23/subscription","commits_url":"https://api.github.com/repos/dsaa151562000/dive23/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsaa151562000/dive23/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsaa151562000/dive23/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsaa151562000/dive23/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsaa151562000/dive23/contents/{+path}","compare_url":"https://api.github.com/repos/dsaa151562000/dive23/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsaa151562000/dive23/merges","archive_url":"https://api.github.com/repos/dsaa151562000/dive23/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsaa151562000/dive23/downloads","issues_url":"https://api.github.com/repos/dsaa151562000/dive23/issues{/number}","pulls_url":"https://api.github.com/repos/dsaa151562000/dive23/pulls{/number}","milestones_url":"https://api.github.com/repos/dsaa151562000/dive23/milestones{/number}","notifications_url":"https://api.github.com/repos/dsaa151562000/dive23/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsaa151562000/dive23/labels{/name}","releases_url":"https://api.github.com/repos/dsaa151562000/dive23/releases{/id}","deployments_url":"https://api.github.com/repos/dsaa151562000/dive23/deployments","created_at":"2016-08-24T08:40:44Z","updated_at":"2016-08-24T14:55:20Z","pushed_at":"2016-10-03T00:38:47Z","git_url":"git://github.com/dsaa151562000/dive23.git","ssh_url":"git@github.com:dsaa151562000/dive23.git","clone_url":"https://github.com/dsaa151562000/dive23.git","svn_url":"https://github.com/dsaa151562000/dive23","homepage":null,"size":3017,"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":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dsaa151562000/dive23/pulls/74"},"html":{"href":"https://github.com/dsaa151562000/dive23/pull/74"},"issue":{"href":"https://api.github.com/repos/dsaa151562000/dive23/issues/74"},"comments":{"href":"https://api.github.com/repos/dsaa151562000/dive23/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/dsaa151562000/dive23/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/dsaa151562000/dive23/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dsaa151562000/dive23/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/dsaa151562000/dive23/statuses/f2df59459bd6d851b1579242135e8cb8ce4788ee"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dsaa151562000","id":905854,"avatar_url":"https://avatars.githubusercontent.com/u/905854?v=3","gravatar_id":"","url":"https://api.github.com/users/dsaa151562000","html_url":"https://github.com/dsaa151562000","followers_url":"https://api.github.com/users/dsaa151562000/followers","following_url":"https://api.github.com/users/dsaa151562000/following{/other_user}","gists_url":"https://api.github.com/users/dsaa151562000/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaa151562000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaa151562000/subscriptions","organizations_url":"https://api.github.com/users/dsaa151562000/orgs","repos_url":"https://api.github.com/users/dsaa151562000/repos","events_url":"https://api.github.com/users/dsaa151562000/events{/privacy}","received_events_url":"https://api.github.com/users/dsaa151562000/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":4,"additions":122,"deletions":5,"changed_files":12}}
{"actor":{"display_login":"dsaa151562000"}}