{"action":"created","comment":{"url":"https://api.github.com/repos/BuddiX/orbit-app/pulls/comments/229562578","pull_request_review_id":170091300,"id":229562578,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTU2MjU3OA==","diff_hunk":"@@ -28,8 +28,11 @@ class Assignment < ApplicationRecord\n   validates :orbit_pos,   presence: true\n   validates :project_id,  presence: true\n \n-  enum planet_type: [:Uranus, :Mercury, :Pluto, :Saturn, :Earth, :Moon, :Love, :Mars,\n-                     :Neptune, :Jupiter, :Sun, :Venus, :Takoyaki, :Ball, :Egg]\n+  scope :fetch_revolving, -> (project_id) {\n+    where(project_id: project_id).where(destroyed_flag: false)\n+  }\n+\n+  enum planet_type: [:Uranus, :Mercury, :Pluto, :Jupitar, :Earth, :Moon, :Neputune, :Sirius, :Love, :Mars, :Sun, :Venus, :Takoyaki, :Ball, :Egg]\n   enum planet_size: [:small, :medium, :large]","path":"app/models/assignment.rb","position":11,"original_position":11,"commit_id":"554dee261504109217a7c19f0f64f0c23ea658da","original_commit_id":"9c23356df567b8498632c251b326b34421439c33","user":{"login":"Taishi-M-UTMafia","id":39128496,"node_id":"MDQ6VXNlcjM5MTI4NDk2","avatar_url":"https://avatars3.githubusercontent.com/u/39128496?v=4","gravatar_id":"","url":"https://api.github.com/users/Taishi-M-UTMafia","html_url":"https://github.com/Taishi-M-UTMafia","followers_url":"https://api.github.com/users/Taishi-M-UTMafia/followers","following_url":"https://api.github.com/users/Taishi-M-UTMafia/following{/other_user}","gists_url":"https://api.github.com/users/Taishi-M-UTMafia/gists{/gist_id}","starred_url":"https://api.github.com/users/Taishi-M-UTMafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taishi-M-UTMafia/subscriptions","organizations_url":"https://api.github.com/users/Taishi-M-UTMafia/orgs","repos_url":"https://api.github.com/users/Taishi-M-UTMafia/repos","events_url":"https://api.github.com/users/Taishi-M-UTMafia/events{/privacy}","received_events_url":"https://api.github.com/users/Taishi-M-UTMafia/received_events","type":"User","site_admin":false},"body":"constants.jsで定義してるPlanetImgを配列ではなくオブジェクトにするのはどうだろう？\r\n`const PlanetImgs = { Uranus: ImgStar1, ,Takoyaki: ImgStar2, ...}`的な\r\nPlaneImgs.Uranusとかで取って来るイメージ","created_at":"2018-10-31T04:45:32Z","updated_at":"2018-10-31T04:47:48Z","html_url":"https://github.com/BuddiX/orbit-app/pull/56#discussion_r229562578","pull_request_url":"https://api.github.com/repos/BuddiX/orbit-app/pulls/56","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/BuddiX/orbit-app/pulls/comments/229562578"},"html":{"href":"https://github.com/BuddiX/orbit-app/pull/56#discussion_r229562578"},"pull_request":{"href":"https://api.github.com/repos/BuddiX/orbit-app/pulls/56"}},"in_reply_to_id":229560820},"pull_request":{"url":"https://api.github.com/repos/BuddiX/orbit-app/pulls/56","id":227152761,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MTUyNzYx","html_url":"https://github.com/BuddiX/orbit-app/pull/56","diff_url":"https://github.com/BuddiX/orbit-app/pull/56.diff","patch_url":"https://github.com/BuddiX/orbit-app/pull/56.patch","issue_url":"https://api.github.com/repos/BuddiX/orbit-app/issues/56","number":56,"state":"open","locked":false,"title":"[WIP] Add destroy animation","user":{"login":"yuki-s-utmafia","id":39118010,"node_id":"MDQ6VXNlcjM5MTE4MDEw","avatar_url":"https://avatars0.githubusercontent.com/u/39118010?v=4","gravatar_id":"","url":"https://api.github.com/users/yuki-s-utmafia","html_url":"https://github.com/yuki-s-utmafia","followers_url":"https://api.github.com/users/yuki-s-utmafia/followers","following_url":"https://api.github.com/users/yuki-s-utmafia/following{/other_user}","gists_url":"https://api.github.com/users/yuki-s-utmafia/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki-s-utmafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki-s-utmafia/subscriptions","organizations_url":"https://api.github.com/users/yuki-s-utmafia/orgs","repos_url":"https://api.github.com/users/yuki-s-utmafia/repos","events_url":"https://api.github.com/users/yuki-s-utmafia/events{/privacy}","received_events_url":"https://api.github.com/users/yuki-s-utmafia/received_events","type":"User","site_admin":false},"body":"## 関連Issue\r\n\r\n\r\n## 要件\r\n破壊モーションをつける\r\n\r\n\r\n## 詳細\r\nそれに付随して、project-pageのリコンストラクト\r\n\r\norbit_pos を変更したのは、firstはご存知の通り、ActiveRecordにすでに存在するからです。\r\nこれらを同意のラテン語に変更しました。\r\nそれに伴い、システム内の全nameをそれに統一しました。\r\n\r\n\r\n## 対象ページ\r\n\r\n## 特にレビューしてほしいところ\r\n・stateの使い方\r\n・ライフサイクル関数内での処理\r\n・コンポーネント化した部分（/molecules配下）\r\n\r\n\r\n## その他\r\n","created_at":"2018-10-31T04:03:36Z","updated_at":"2018-10-31T04:47:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1272bcb291e450c8168dd0a00d0e3925dbb65198","assignee":{"login":"yuki-s-utmafia","id":39118010,"node_id":"MDQ6VXNlcjM5MTE4MDEw","avatar_url":"https://avatars0.githubusercontent.com/u/39118010?v=4","gravatar_id":"","url":"https://api.github.com/users/yuki-s-utmafia","html_url":"https://github.com/yuki-s-utmafia","followers_url":"https://api.github.com/users/yuki-s-utmafia/followers","following_url":"https://api.github.com/users/yuki-s-utmafia/following{/other_user}","gists_url":"https://api.github.com/users/yuki-s-utmafia/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki-s-utmafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki-s-utmafia/subscriptions","organizations_url":"https://api.github.com/users/yuki-s-utmafia/orgs","repos_url":"https://api.github.com/users/yuki-s-utmafia/repos","events_url":"https://api.github.com/users/yuki-s-utmafia/events{/privacy}","received_events_url":"https://api.github.com/users/yuki-s-utmafia/received_events","type":"User","site_admin":false},"assignees":[{"login":"yuki-s-utmafia","id":39118010,"node_id":"MDQ6VXNlcjM5MTE4MDEw","avatar_url":"https://avatars0.githubusercontent.com/u/39118010?v=4","gravatar_id":"","url":"https://api.github.com/users/yuki-s-utmafia","html_url":"https://github.com/yuki-s-utmafia","followers_url":"https://api.github.com/users/yuki-s-utmafia/followers","following_url":"https://api.github.com/users/yuki-s-utmafia/following{/other_user}","gists_url":"https://api.github.com/users/yuki-s-utmafia/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki-s-utmafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki-s-utmafia/subscriptions","organizations_url":"https://api.github.com/users/yuki-s-utmafia/orgs","repos_url":"https://api.github.com/users/yuki-s-utmafia/repos","events_url":"https://api.github.com/users/yuki-s-utmafia/events{/privacy}","received_events_url":"https://api.github.com/users/yuki-s-utmafia/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1102984802,"node_id":"MDU6TGFiZWwxMTAyOTg0ODAy","url":"https://api.github.com/repos/BuddiX/orbit-app/labels/In%20progress","name":"In progress","color":"00BB00","default":false},{"id":1102981908,"node_id":"MDU6TGFiZWwxMTAyOTgxOTA4","url":"https://api.github.com/repos/BuddiX/orbit-app/labels/design","name":"design","color":"FF6600","default":false},{"id":1081274297,"node_id":"MDU6TGFiZWwxMDgxMjc0Mjk3","url":"https://api.github.com/repos/BuddiX/orbit-app/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/BuddiX/orbit-app/pulls/56/commits","review_comments_url":"https://api.github.com/repos/BuddiX/orbit-app/pulls/56/comments","review_comment_url":"https://api.github.com/repos/BuddiX/orbit-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BuddiX/orbit-app/issues/56/comments","statuses_url":"https://api.github.com/repos/BuddiX/orbit-app/statuses/554dee261504109217a7c19f0f64f0c23ea658da","head":{"label":"BuddiX:add_destroy_animation","ref":"add_destroy_animation","sha":"554dee261504109217a7c19f0f64f0c23ea658da","user":{"login":"BuddiX","id":39566780,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NTY2Nzgw","avatar_url":"https://avatars3.githubusercontent.com/u/39566780?v=4","gravatar_id":"","url":"https://api.github.com/users/BuddiX","html_url":"https://github.com/BuddiX","followers_url":"https://api.github.com/users/BuddiX/followers","following_url":"https://api.github.com/users/BuddiX/following{/other_user}","gists_url":"https://api.github.com/users/BuddiX/gists{/gist_id}","starred_url":"https://api.github.com/users/BuddiX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuddiX/subscriptions","organizations_url":"https://api.github.com/users/BuddiX/orgs","repos_url":"https://api.github.com/users/BuddiX/repos","events_url":"https://api.github.com/users/BuddiX/events{/privacy}","received_events_url":"https://api.github.com/users/BuddiX/received_events","type":"Organization","site_admin":false},"repo":{"id":151818674,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE4MTg2NzQ=","name":"orbit-app","full_name":"BuddiX/orbit-app","private":false,"owner":{"login":"BuddiX","id":39566780,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NTY2Nzgw","avatar_url":"https://avatars3.githubusercontent.com/u/39566780?v=4","gravatar_id":"","url":"https://api.github.com/users/BuddiX","html_url":"https://github.com/BuddiX","followers_url":"https://api.github.com/users/BuddiX/followers","following_url":"https://api.github.com/users/BuddiX/following{/other_user}","gists_url":"https://api.github.com/users/BuddiX/gists{/gist_id}","starred_url":"https://api.github.com/users/BuddiX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuddiX/subscriptions","organizations_url":"https://api.github.com/users/BuddiX/orgs","repos_url":"https://api.github.com/users/BuddiX/repos","events_url":"https://api.github.com/users/BuddiX/events{/privacy}","received_events_url":"https://api.github.com/users/BuddiX/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BuddiX/orbit-app","description":"Modern Todo Application","fork":false,"url":"https://api.github.com/repos/BuddiX/orbit-app","forks_url":"https://api.github.com/repos/BuddiX/orbit-app/forks","keys_url":"https://api.github.com/repos/BuddiX/orbit-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BuddiX/orbit-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BuddiX/orbit-app/teams","hooks_url":"https://api.github.com/repos/BuddiX/orbit-app/hooks","issue_events_url":"https://api.github.com/repos/BuddiX/orbit-app/issues/events{/number}","events_url":"https://api.github.com/repos/BuddiX/orbit-app/events","assignees_url":"https://api.github.com/repos/BuddiX/orbit-app/assignees{/user}","branches_url":"https://api.github.com/repos/BuddiX/orbit-app/branches{/branch}","tags_url":"https://api.github.com/repos/BuddiX/orbit-app/tags","blobs_url":"https://api.github.com/repos/BuddiX/orbit-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BuddiX/orbit-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BuddiX/orbit-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/BuddiX/orbit-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BuddiX/orbit-app/statuses/{sha}","languages_url":"https://api.github.com/repos/BuddiX/orbit-app/languages","stargazers_url":"https://api.github.com/repos/BuddiX/orbit-app/stargazers","contributors_url":"https://api.github.com/repos/BuddiX/orbit-app/contributors","subscribers_url":"https://api.github.com/repos/BuddiX/orbit-app/subscribers","subscription_url":"https://api.github.com/repos/BuddiX/orbit-app/subscription","commits_url":"https://api.github.com/repos/BuddiX/orbit-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/BuddiX/orbit-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/BuddiX/orbit-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/BuddiX/orbit-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/BuddiX/orbit-app/contents/{+path}","compare_url":"https://api.github.com/repos/BuddiX/orbit-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BuddiX/orbit-app/merges","archive_url":"https://api.github.com/repos/BuddiX/orbit-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BuddiX/orbit-app/downloads","issues_url":"https://api.github.com/repos/BuddiX/orbit-app/issues{/number}","pulls_url":"https://api.github.com/repos/BuddiX/orbit-app/pulls{/number}","milestones_url":"https://api.github.com/repos/BuddiX/orbit-app/milestones{/number}","notifications_url":"https://api.github.com/repos/BuddiX/orbit-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BuddiX/orbit-app/labels{/name}","releases_url":"https://api.github.com/repos/BuddiX/orbit-app/releases{/id}","deployments_url":"https://api.github.com/repos/BuddiX/orbit-app/deployments","created_at":"2018-10-06T08:12:37Z","updated_at":"2018-10-30T08:53:48Z","pushed_at":"2018-10-31T04:41:14Z","git_url":"git://github.com/BuddiX/orbit-app.git","ssh_url":"git@github.com:BuddiX/orbit-app.git","clone_url":"https://github.com/BuddiX/orbit-app.git","svn_url":"https://github.com/BuddiX/orbit-app","homepage":"https://orbit7.herokuapp.com/","size":3270,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":0,"open_issues":22,"watchers":0,"default_branch":"master"}},"base":{"label":"BuddiX:master","ref":"master","sha":"7f2151cd512b0bb079841149c83337a2ed38b591","user":{"login":"BuddiX","id":39566780,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NTY2Nzgw","avatar_url":"https://avatars3.githubusercontent.com/u/39566780?v=4","gravatar_id":"","url":"https://api.github.com/users/BuddiX","html_url":"https://github.com/BuddiX","followers_url":"https://api.github.com/users/BuddiX/followers","following_url":"https://api.github.com/users/BuddiX/following{/other_user}","gists_url":"https://api.github.com/users/BuddiX/gists{/gist_id}","starred_url":"https://api.github.com/users/BuddiX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuddiX/subscriptions","organizations_url":"https://api.github.com/users/BuddiX/orgs","repos_url":"https://api.github.com/users/BuddiX/repos","events_url":"https://api.github.com/users/BuddiX/events{/privacy}","received_events_url":"https://api.github.com/users/BuddiX/received_events","type":"Organization","site_admin":false},"repo":{"id":151818674,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE4MTg2NzQ=","name":"orbit-app","full_name":"BuddiX/orbit-app","private":false,"owner":{"login":"BuddiX","id":39566780,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NTY2Nzgw","avatar_url":"https://avatars3.githubusercontent.com/u/39566780?v=4","gravatar_id":"","url":"https://api.github.com/users/BuddiX","html_url":"https://github.com/BuddiX","followers_url":"https://api.github.com/users/BuddiX/followers","following_url":"https://api.github.com/users/BuddiX/following{/other_user}","gists_url":"https://api.github.com/users/BuddiX/gists{/gist_id}","starred_url":"https://api.github.com/users/BuddiX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuddiX/subscriptions","organizations_url":"https://api.github.com/users/BuddiX/orgs","repos_url":"https://api.github.com/users/BuddiX/repos","events_url":"https://api.github.com/users/BuddiX/events{/privacy}","received_events_url":"https://api.github.com/users/BuddiX/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BuddiX/orbit-app","description":"Modern Todo Application","fork":false,"url":"https://api.github.com/repos/BuddiX/orbit-app","forks_url":"https://api.github.com/repos/BuddiX/orbit-app/forks","keys_url":"https://api.github.com/repos/BuddiX/orbit-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BuddiX/orbit-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BuddiX/orbit-app/teams","hooks_url":"https://api.github.com/repos/BuddiX/orbit-app/hooks","issue_events_url":"https://api.github.com/repos/BuddiX/orbit-app/issues/events{/number}","events_url":"https://api.github.com/repos/BuddiX/orbit-app/events","assignees_url":"https://api.github.com/repos/BuddiX/orbit-app/assignees{/user}","branches_url":"https://api.github.com/repos/BuddiX/orbit-app/branches{/branch}","tags_url":"https://api.github.com/repos/BuddiX/orbit-app/tags","blobs_url":"https://api.github.com/repos/BuddiX/orbit-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BuddiX/orbit-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BuddiX/orbit-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/BuddiX/orbit-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BuddiX/orbit-app/statuses/{sha}","languages_url":"https://api.github.com/repos/BuddiX/orbit-app/languages","stargazers_url":"https://api.github.com/repos/BuddiX/orbit-app/stargazers","contributors_url":"https://api.github.com/repos/BuddiX/orbit-app/contributors","subscribers_url":"https://api.github.com/repos/BuddiX/orbit-app/subscribers","subscription_url":"https://api.github.com/repos/BuddiX/orbit-app/subscription","commits_url":"https://api.github.com/repos/BuddiX/orbit-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/BuddiX/orbit-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/BuddiX/orbit-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/BuddiX/orbit-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/BuddiX/orbit-app/contents/{+path}","compare_url":"https://api.github.com/repos/BuddiX/orbit-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BuddiX/orbit-app/merges","archive_url":"https://api.github.com/repos/BuddiX/orbit-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BuddiX/orbit-app/downloads","issues_url":"https://api.github.com/repos/BuddiX/orbit-app/issues{/number}","pulls_url":"https://api.github.com/repos/BuddiX/orbit-app/pulls{/number}","milestones_url":"https://api.github.com/repos/BuddiX/orbit-app/milestones{/number}","notifications_url":"https://api.github.com/repos/BuddiX/orbit-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BuddiX/orbit-app/labels{/name}","releases_url":"https://api.github.com/repos/BuddiX/orbit-app/releases{/id}","deployments_url":"https://api.github.com/repos/BuddiX/orbit-app/deployments","created_at":"2018-10-06T08:12:37Z","updated_at":"2018-10-30T08:53:48Z","pushed_at":"2018-10-31T04:41:14Z","git_url":"git://github.com/BuddiX/orbit-app.git","ssh_url":"git@github.com:BuddiX/orbit-app.git","clone_url":"https://github.com/BuddiX/orbit-app.git","svn_url":"https://github.com/BuddiX/orbit-app","homepage":"https://orbit7.herokuapp.com/","size":3270,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":0,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BuddiX/orbit-app/pulls/56"},"html":{"href":"https://github.com/BuddiX/orbit-app/pull/56"},"issue":{"href":"https://api.github.com/repos/BuddiX/orbit-app/issues/56"},"comments":{"href":"https://api.github.com/repos/BuddiX/orbit-app/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/BuddiX/orbit-app/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/BuddiX/orbit-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BuddiX/orbit-app/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/BuddiX/orbit-app/statuses/554dee261504109217a7c19f0f64f0c23ea658da"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Taishi-M-UTMafia"}}