{"action":"created","comment":{"url":"https://api.github.com/repos/haruka-mura/todo-app/pulls/comments/198021079","pull_request_review_id":131873302,"id":198021079,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODAyMTA3OQ==","diff_hunk":"@@ -4,5 +4,16 @@\n     sequence(:email) { |n| \"TEST#{n}@example.com\" }\n     password \"TEST_PASSWORD\"\n     password_confirmation \"TEST_PASSWORD\"\n+\n+    factory :user_with_team_and_tasks do\n+      transient do\n+        tasks_count 1\n+      end\n+\n+      after(:create) do |user, evaluator|\n+        team = create(:team)\n+        create_list(:task, evaluator.tasks_count, user: user, team: team)","path":"spec/factories/user_factory.rb","position":12,"original_position":12,"commit_id":"62c7275ba4893eef62ab0417745415cb110301b7","original_commit_id":"62c7275ba4893eef62ab0417745415cb110301b7","user":{"login":"haruka-mura","id":25021777,"node_id":"MDQ6VXNlcjI1MDIxNzc3","avatar_url":"https://avatars3.githubusercontent.com/u/25021777?v=4","gravatar_id":"","url":"https://api.github.com/users/haruka-mura","html_url":"https://github.com/haruka-mura","followers_url":"https://api.github.com/users/haruka-mura/followers","following_url":"https://api.github.com/users/haruka-mura/following{/other_user}","gists_url":"https://api.github.com/users/haruka-mura/gists{/gist_id}","starred_url":"https://api.github.com/users/haruka-mura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haruka-mura/subscriptions","organizations_url":"https://api.github.com/users/haruka-mura/orgs","repos_url":"https://api.github.com/users/haruka-mura/repos","events_url":"https://api.github.com/users/haruka-mura/events{/privacy}","received_events_url":"https://api.github.com/users/haruka-mura/received_events","type":"User","site_admin":false},"body":"OK.","created_at":"2018-06-26T05:56:44Z","updated_at":"2018-06-26T05:56:45Z","html_url":"https://github.com/haruka-mura/todo-app/pull/30#discussion_r198021079","pull_request_url":"https://api.github.com/repos/haruka-mura/todo-app/pulls/30","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/haruka-mura/todo-app/pulls/comments/198021079"},"html":{"href":"https://github.com/haruka-mura/todo-app/pull/30#discussion_r198021079"},"pull_request":{"href":"https://api.github.com/repos/haruka-mura/todo-app/pulls/30"}},"in_reply_to_id":198020514},"pull_request":{"url":"https://api.github.com/repos/haruka-mura/todo-app/pulls/30","id":197013440,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MDEzNDQw","html_url":"https://github.com/haruka-mura/todo-app/pull/30","diff_url":"https://github.com/haruka-mura/todo-app/pull/30.diff","patch_url":"https://github.com/haruka-mura/todo-app/pull/30.patch","issue_url":"https://api.github.com/repos/haruka-mura/todo-app/issues/30","number":30,"state":"open","locked":false,"title":"task登録時にログインユーザーのIDを取得する＆チームを選択できるようにする","user":{"login":"haruka-mura","id":25021777,"node_id":"MDQ6VXNlcjI1MDIxNzc3","avatar_url":"https://avatars3.githubusercontent.com/u/25021777?v=4","gravatar_id":"","url":"https://api.github.com/users/haruka-mura","html_url":"https://github.com/haruka-mura","followers_url":"https://api.github.com/users/haruka-mura/followers","following_url":"https://api.github.com/users/haruka-mura/following{/other_user}","gists_url":"https://api.github.com/users/haruka-mura/gists{/gist_id}","starred_url":"https://api.github.com/users/haruka-mura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haruka-mura/subscriptions","organizations_url":"https://api.github.com/users/haruka-mura/orgs","repos_url":"https://api.github.com/users/haruka-mura/repos","events_url":"https://api.github.com/users/haruka-mura/events{/privacy}","received_events_url":"https://api.github.com/users/haruka-mura/received_events","type":"User","site_admin":false},"body":"## 目的\r\n- task登録時にログインユーザーのIDを手入力していたのを、カレントユーザーから取得する\r\n- task登録時にユーザーに紐づいているチームから選択できるようにする\r\n\r\n## 内容\r\ntaskの `user_id`を `current_user.id`で取得する","created_at":"2018-06-25T06:31:33Z","updated_at":"2018-06-26T05:56:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f28271e8e75dcd285432c8b6ffece1bb7ec46ab4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/haruka-mura/todo-app/pulls/30/commits","review_comments_url":"https://api.github.com/repos/haruka-mura/todo-app/pulls/30/comments","review_comment_url":"https://api.github.com/repos/haruka-mura/todo-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haruka-mura/todo-app/issues/30/comments","statuses_url":"https://api.github.com/repos/haruka-mura/todo-app/statuses/62c7275ba4893eef62ab0417745415cb110301b7","head":{"label":"haruka-mura:add_task_with_userid","ref":"add_task_with_userid","sha":"62c7275ba4893eef62ab0417745415cb110301b7","user":{"login":"haruka-mura","id":25021777,"node_id":"MDQ6VXNlcjI1MDIxNzc3","avatar_url":"https://avatars3.githubusercontent.com/u/25021777?v=4","gravatar_id":"","url":"https://api.github.com/users/haruka-mura","html_url":"https://github.com/haruka-mura","followers_url":"https://api.github.com/users/haruka-mura/followers","following_url":"https://api.github.com/users/haruka-mura/following{/other_user}","gists_url":"https://api.github.com/users/haruka-mura/gists{/gist_id}","starred_url":"https://api.github.com/users/haruka-mura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haruka-mura/subscriptions","organizations_url":"https://api.github.com/users/haruka-mura/orgs","repos_url":"https://api.github.com/users/haruka-mura/repos","events_url":"https://api.github.com/users/haruka-mura/events{/privacy}","received_events_url":"https://api.github.com/users/haruka-mura/received_events","type":"User","site_admin":false},"repo":{"id":136138447,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxMzg0NDc=","name":"todo-app","full_name":"haruka-mura/todo-app","owner":{"login":"haruka-mura","id":25021777,"node_id":"MDQ6VXNlcjI1MDIxNzc3","avatar_url":"https://avatars3.githubusercontent.com/u/25021777?v=4","gravatar_id":"","url":"https://api.github.com/users/haruka-mura","html_url":"https://github.com/haruka-mura","followers_url":"https://api.github.com/users/haruka-mura/followers","following_url":"https://api.github.com/users/haruka-mura/following{/other_user}","gists_url":"https://api.github.com/users/haruka-mura/gists{/gist_id}","starred_url":"https://api.github.com/users/haruka-mura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haruka-mura/subscriptions","organizations_url":"https://api.github.com/users/haruka-mura/orgs","repos_url":"https://api.github.com/users/haruka-mura/repos","events_url":"https://api.github.com/users/haruka-mura/events{/privacy}","received_events_url":"https://api.github.com/users/haruka-mura/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haruka-mura/todo-app","description":"パイロットプロジェクトのTODOアプリケーションを作ります","fork":false,"url":"https://api.github.com/repos/haruka-mura/todo-app","forks_url":"https://api.github.com/repos/haruka-mura/todo-app/forks","keys_url":"https://api.github.com/repos/haruka-mura/todo-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haruka-mura/todo-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haruka-mura/todo-app/teams","hooks_url":"https://api.github.com/repos/haruka-mura/todo-app/hooks","issue_events_url":"https://api.github.com/repos/haruka-mura/todo-app/issues/events{/number}","events_url":"https://api.github.com/repos/haruka-mura/todo-app/events","assignees_url":"https://api.github.com/repos/haruka-mura/todo-app/assignees{/user}","branches_url":"https://api.github.com/repos/haruka-mura/todo-app/branches{/branch}","tags_url":"https://api.github.com/repos/haruka-mura/todo-app/tags","blobs_url":"https://api.github.com/repos/haruka-mura/todo-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haruka-mura/todo-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haruka-mura/todo-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/haruka-mura/todo-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haruka-mura/todo-app/statuses/{sha}","languages_url":"https://api.github.com/repos/haruka-mura/todo-app/languages","stargazers_url":"https://api.github.com/repos/haruka-mura/todo-app/stargazers","contributors_url":"https://api.github.com/repos/haruka-mura/todo-app/contributors","subscribers_url":"https://api.github.com/repos/haruka-mura/todo-app/subscribers","subscription_url":"https://api.github.com/repos/haruka-mura/todo-app/subscription","commits_url":"https://api.github.com/repos/haruka-mura/todo-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/haruka-mura/todo-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/haruka-mura/todo-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/haruka-mura/todo-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/haruka-mura/todo-app/contents/{+path}","compare_url":"https://api.github.com/repos/haruka-mura/todo-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haruka-mura/todo-app/merges","archive_url":"https://api.github.com/repos/haruka-mura/todo-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haruka-mura/todo-app/downloads","issues_url":"https://api.github.com/repos/haruka-mura/todo-app/issues{/number}","pulls_url":"https://api.github.com/repos/haruka-mura/todo-app/pulls{/number}","milestones_url":"https://api.github.com/repos/haruka-mura/todo-app/milestones{/number}","notifications_url":"https://api.github.com/repos/haruka-mura/todo-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haruka-mura/todo-app/labels{/name}","releases_url":"https://api.github.com/repos/haruka-mura/todo-app/releases{/id}","deployments_url":"https://api.github.com/repos/haruka-mura/todo-app/deployments","created_at":"2018-06-05T07:35:33Z","updated_at":"2018-06-26T00:06:07Z","pushed_at":"2018-06-26T05:49:49Z","git_url":"git://github.com/haruka-mura/todo-app.git","ssh_url":"git@github.com:haruka-mura/todo-app.git","clone_url":"https://github.com/haruka-mura/todo-app.git","svn_url":"https://github.com/haruka-mura/todo-app","homepage":null,"size":170,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"haruka-mura:master","ref":"master","sha":"3593c8f4c63d67dc276726c443ceaa64c4a7c68c","user":{"login":"haruka-mura","id":25021777,"node_id":"MDQ6VXNlcjI1MDIxNzc3","avatar_url":"https://avatars3.githubusercontent.com/u/25021777?v=4","gravatar_id":"","url":"https://api.github.com/users/haruka-mura","html_url":"https://github.com/haruka-mura","followers_url":"https://api.github.com/users/haruka-mura/followers","following_url":"https://api.github.com/users/haruka-mura/following{/other_user}","gists_url":"https://api.github.com/users/haruka-mura/gists{/gist_id}","starred_url":"https://api.github.com/users/haruka-mura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haruka-mura/subscriptions","organizations_url":"https://api.github.com/users/haruka-mura/orgs","repos_url":"https://api.github.com/users/haruka-mura/repos","events_url":"https://api.github.com/users/haruka-mura/events{/privacy}","received_events_url":"https://api.github.com/users/haruka-mura/received_events","type":"User","site_admin":false},"repo":{"id":136138447,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxMzg0NDc=","name":"todo-app","full_name":"haruka-mura/todo-app","owner":{"login":"haruka-mura","id":25021777,"node_id":"MDQ6VXNlcjI1MDIxNzc3","avatar_url":"https://avatars3.githubusercontent.com/u/25021777?v=4","gravatar_id":"","url":"https://api.github.com/users/haruka-mura","html_url":"https://github.com/haruka-mura","followers_url":"https://api.github.com/users/haruka-mura/followers","following_url":"https://api.github.com/users/haruka-mura/following{/other_user}","gists_url":"https://api.github.com/users/haruka-mura/gists{/gist_id}","starred_url":"https://api.github.com/users/haruka-mura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haruka-mura/subscriptions","organizations_url":"https://api.github.com/users/haruka-mura/orgs","repos_url":"https://api.github.com/users/haruka-mura/repos","events_url":"https://api.github.com/users/haruka-mura/events{/privacy}","received_events_url":"https://api.github.com/users/haruka-mura/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haruka-mura/todo-app","description":"パイロットプロジェクトのTODOアプリケーションを作ります","fork":false,"url":"https://api.github.com/repos/haruka-mura/todo-app","forks_url":"https://api.github.com/repos/haruka-mura/todo-app/forks","keys_url":"https://api.github.com/repos/haruka-mura/todo-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haruka-mura/todo-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haruka-mura/todo-app/teams","hooks_url":"https://api.github.com/repos/haruka-mura/todo-app/hooks","issue_events_url":"https://api.github.com/repos/haruka-mura/todo-app/issues/events{/number}","events_url":"https://api.github.com/repos/haruka-mura/todo-app/events","assignees_url":"https://api.github.com/repos/haruka-mura/todo-app/assignees{/user}","branches_url":"https://api.github.com/repos/haruka-mura/todo-app/branches{/branch}","tags_url":"https://api.github.com/repos/haruka-mura/todo-app/tags","blobs_url":"https://api.github.com/repos/haruka-mura/todo-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haruka-mura/todo-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haruka-mura/todo-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/haruka-mura/todo-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haruka-mura/todo-app/statuses/{sha}","languages_url":"https://api.github.com/repos/haruka-mura/todo-app/languages","stargazers_url":"https://api.github.com/repos/haruka-mura/todo-app/stargazers","contributors_url":"https://api.github.com/repos/haruka-mura/todo-app/contributors","subscribers_url":"https://api.github.com/repos/haruka-mura/todo-app/subscribers","subscription_url":"https://api.github.com/repos/haruka-mura/todo-app/subscription","commits_url":"https://api.github.com/repos/haruka-mura/todo-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/haruka-mura/todo-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/haruka-mura/todo-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/haruka-mura/todo-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/haruka-mura/todo-app/contents/{+path}","compare_url":"https://api.github.com/repos/haruka-mura/todo-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haruka-mura/todo-app/merges","archive_url":"https://api.github.com/repos/haruka-mura/todo-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haruka-mura/todo-app/downloads","issues_url":"https://api.github.com/repos/haruka-mura/todo-app/issues{/number}","pulls_url":"https://api.github.com/repos/haruka-mura/todo-app/pulls{/number}","milestones_url":"https://api.github.com/repos/haruka-mura/todo-app/milestones{/number}","notifications_url":"https://api.github.com/repos/haruka-mura/todo-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haruka-mura/todo-app/labels{/name}","releases_url":"https://api.github.com/repos/haruka-mura/todo-app/releases{/id}","deployments_url":"https://api.github.com/repos/haruka-mura/todo-app/deployments","created_at":"2018-06-05T07:35:33Z","updated_at":"2018-06-26T00:06:07Z","pushed_at":"2018-06-26T05:49:49Z","git_url":"git://github.com/haruka-mura/todo-app.git","ssh_url":"git@github.com:haruka-mura/todo-app.git","clone_url":"https://github.com/haruka-mura/todo-app.git","svn_url":"https://github.com/haruka-mura/todo-app","homepage":null,"size":170,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haruka-mura/todo-app/pulls/30"},"html":{"href":"https://github.com/haruka-mura/todo-app/pull/30"},"issue":{"href":"https://api.github.com/repos/haruka-mura/todo-app/issues/30"},"comments":{"href":"https://api.github.com/repos/haruka-mura/todo-app/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/haruka-mura/todo-app/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/haruka-mura/todo-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haruka-mura/todo-app/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/haruka-mura/todo-app/statuses/62c7275ba4893eef62ab0417745415cb110301b7"}},"author_association":"OWNER"}}
{"actor":{"display_login":"haruka-mura"}}