{"action":"created","comment":{"url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/comments/155422207","pull_request_review_id":81738248,"id":155422207,"diff_hunk":"@@ -151,7 +150,10 @@ extension MealTableViewController: UIViewControllerPreviewingDelegate {\n extension MealTableViewController: MealViewControllerDelegate {\n \n     func mealViewController(_ viewController: MealViewController, mealDeleteDidTap meal: Meal) {\n-        let i = DataContainer.meals.index { $0.id == meal.id }!\n+        guard let i = (DataContainer.meals.index { $0.id == meal.id }) else {\n+            logger.debug(\"no found meal:\\(meal.id) \\(meal.name)\")","path":"Miso.TrackingMealApp/TrackingMealApp/MealTableViewController.swift","position":null,"original_position":14,"commit_id":"45983bf3a2c181b42b3111ee0d8c3b3d9805c9d7","original_commit_id":"61fe16c9aa4d9f941a5e0e568e08eeccf9b484d7","user":{"login":"mono0926","id":1255062,"avatar_url":"https://avatars0.githubusercontent.com/u/1255062?v=4","gravatar_id":"","url":"https://api.github.com/users/mono0926","html_url":"https://github.com/mono0926","followers_url":"https://api.github.com/users/mono0926/followers","following_url":"https://api.github.com/users/mono0926/following{/other_user}","gists_url":"https://api.github.com/users/mono0926/gists{/gist_id}","starred_url":"https://api.github.com/users/mono0926/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono0926/subscriptions","organizations_url":"https://api.github.com/users/mono0926/orgs","repos_url":"https://api.github.com/users/mono0926/repos","events_url":"https://api.github.com/users/mono0926/events{/privacy}","received_events_url":"https://api.github.com/users/mono0926/received_events","type":"User","site_admin":false},"body":"あるいは、面倒だからとassertionFailure()で済ませることもよくある。\r\n何れにしても、debugログだとミスした時に気づくのが遅れるから、握りつぶしに近い。","created_at":"2017-12-07T03:22:01Z","updated_at":"2017-12-07T03:22:01Z","html_url":"https://github.com/hhyyg/Miso.iOSPractice/pull/4#discussion_r155422207","pull_request_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/4","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/comments/155422207"},"html":{"href":"https://github.com/hhyyg/Miso.iOSPractice/pull/4#discussion_r155422207"},"pull_request":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/4"}},"in_reply_to_id":155422018},"pull_request":{"url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/4","id":156659661,"html_url":"https://github.com/hhyyg/Miso.iOSPractice/pull/4","diff_url":"https://github.com/hhyyg/Miso.iOSPractice/pull/4.diff","patch_url":"https://github.com/hhyyg/Miso.iOSPractice/pull/4.patch","issue_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues/4","number":4,"state":"open","locked":false,"title":"Peek pop 対応","user":{"login":"hhyyg","id":8636660,"avatar_url":"https://avatars0.githubusercontent.com/u/8636660?v=4","gravatar_id":"","url":"https://api.github.com/users/hhyyg","html_url":"https://github.com/hhyyg","followers_url":"https://api.github.com/users/hhyyg/followers","following_url":"https://api.github.com/users/hhyyg/following{/other_user}","gists_url":"https://api.github.com/users/hhyyg/gists{/gist_id}","starred_url":"https://api.github.com/users/hhyyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhyyg/subscriptions","organizations_url":"https://api.github.com/users/hhyyg/orgs","repos_url":"https://api.github.com/users/hhyyg/repos","events_url":"https://api.github.com/users/hhyyg/events{/privacy}","received_events_url":"https://api.github.com/users/hhyyg/received_events","type":"User","site_admin":false},"body":"- Peekで、詳細画面のプレビューを表示するように。そのままPopで詳細画面に遷移。\r\n- puick quick action で、そのアイテムを削除できるように\r\n- 他リファクタ","created_at":"2017-12-06T07:34:59Z","updated_at":"2017-12-07T03:22:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd42cc63e2d37b7fc190e17f4838867e91a7ca40","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/4/commits","review_comments_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/4/comments","review_comment_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues/4/comments","statuses_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/statuses/45983bf3a2c181b42b3111ee0d8c3b3d9805c9d7","head":{"label":"hhyyg:peek-pop","ref":"peek-pop","sha":"45983bf3a2c181b42b3111ee0d8c3b3d9805c9d7","user":{"login":"hhyyg","id":8636660,"avatar_url":"https://avatars0.githubusercontent.com/u/8636660?v=4","gravatar_id":"","url":"https://api.github.com/users/hhyyg","html_url":"https://github.com/hhyyg","followers_url":"https://api.github.com/users/hhyyg/followers","following_url":"https://api.github.com/users/hhyyg/following{/other_user}","gists_url":"https://api.github.com/users/hhyyg/gists{/gist_id}","starred_url":"https://api.github.com/users/hhyyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhyyg/subscriptions","organizations_url":"https://api.github.com/users/hhyyg/orgs","repos_url":"https://api.github.com/users/hhyyg/repos","events_url":"https://api.github.com/users/hhyyg/events{/privacy}","received_events_url":"https://api.github.com/users/hhyyg/received_events","type":"User","site_admin":false},"repo":{"id":112987110,"name":"Miso.iOSPractice","full_name":"hhyyg/Miso.iOSPractice","owner":{"login":"hhyyg","id":8636660,"avatar_url":"https://avatars0.githubusercontent.com/u/8636660?v=4","gravatar_id":"","url":"https://api.github.com/users/hhyyg","html_url":"https://github.com/hhyyg","followers_url":"https://api.github.com/users/hhyyg/followers","following_url":"https://api.github.com/users/hhyyg/following{/other_user}","gists_url":"https://api.github.com/users/hhyyg/gists{/gist_id}","starred_url":"https://api.github.com/users/hhyyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhyyg/subscriptions","organizations_url":"https://api.github.com/users/hhyyg/orgs","repos_url":"https://api.github.com/users/hhyyg/repos","events_url":"https://api.github.com/users/hhyyg/events{/privacy}","received_events_url":"https://api.github.com/users/hhyyg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hhyyg/Miso.iOSPractice","description":null,"fork":false,"url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice","forks_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/forks","keys_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/teams","hooks_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/hooks","issue_events_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues/events{/number}","events_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/events","assignees_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/assignees{/user}","branches_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/branches{/branch}","tags_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/tags","blobs_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/refs{/sha}","trees_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/statuses/{sha}","languages_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/languages","stargazers_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/stargazers","contributors_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/contributors","subscribers_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/subscribers","subscription_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/subscription","commits_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/commits{/sha}","git_commits_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/commits{/sha}","comments_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/comments{/number}","issue_comment_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues/comments{/number}","contents_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/contents/{+path}","compare_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/merges","archive_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/downloads","issues_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues{/number}","pulls_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls{/number}","milestones_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/milestones{/number}","notifications_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/labels{/name}","releases_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/releases{/id}","deployments_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/deployments","created_at":"2017-12-04T02:53:56Z","updated_at":"2017-12-06T02:51:29Z","pushed_at":"2017-12-07T03:17:19Z","git_url":"git://github.com/hhyyg/Miso.iOSPractice.git","ssh_url":"git@github.com:hhyyg/Miso.iOSPractice.git","clone_url":"https://github.com/hhyyg/Miso.iOSPractice.git","svn_url":"https://github.com/hhyyg/Miso.iOSPractice","homepage":null,"size":2412,"stargazers_count":2,"watchers_count":2,"language":"Swift","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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"hhyyg:master","ref":"master","sha":"8e8a04b66f7dc045ec5ea01f8814bf0d7fd0c097","user":{"login":"hhyyg","id":8636660,"avatar_url":"https://avatars0.githubusercontent.com/u/8636660?v=4","gravatar_id":"","url":"https://api.github.com/users/hhyyg","html_url":"https://github.com/hhyyg","followers_url":"https://api.github.com/users/hhyyg/followers","following_url":"https://api.github.com/users/hhyyg/following{/other_user}","gists_url":"https://api.github.com/users/hhyyg/gists{/gist_id}","starred_url":"https://api.github.com/users/hhyyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhyyg/subscriptions","organizations_url":"https://api.github.com/users/hhyyg/orgs","repos_url":"https://api.github.com/users/hhyyg/repos","events_url":"https://api.github.com/users/hhyyg/events{/privacy}","received_events_url":"https://api.github.com/users/hhyyg/received_events","type":"User","site_admin":false},"repo":{"id":112987110,"name":"Miso.iOSPractice","full_name":"hhyyg/Miso.iOSPractice","owner":{"login":"hhyyg","id":8636660,"avatar_url":"https://avatars0.githubusercontent.com/u/8636660?v=4","gravatar_id":"","url":"https://api.github.com/users/hhyyg","html_url":"https://github.com/hhyyg","followers_url":"https://api.github.com/users/hhyyg/followers","following_url":"https://api.github.com/users/hhyyg/following{/other_user}","gists_url":"https://api.github.com/users/hhyyg/gists{/gist_id}","starred_url":"https://api.github.com/users/hhyyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhyyg/subscriptions","organizations_url":"https://api.github.com/users/hhyyg/orgs","repos_url":"https://api.github.com/users/hhyyg/repos","events_url":"https://api.github.com/users/hhyyg/events{/privacy}","received_events_url":"https://api.github.com/users/hhyyg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hhyyg/Miso.iOSPractice","description":null,"fork":false,"url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice","forks_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/forks","keys_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/teams","hooks_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/hooks","issue_events_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues/events{/number}","events_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/events","assignees_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/assignees{/user}","branches_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/branches{/branch}","tags_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/tags","blobs_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/refs{/sha}","trees_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/statuses/{sha}","languages_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/languages","stargazers_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/stargazers","contributors_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/contributors","subscribers_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/subscribers","subscription_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/subscription","commits_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/commits{/sha}","git_commits_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/git/commits{/sha}","comments_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/comments{/number}","issue_comment_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues/comments{/number}","contents_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/contents/{+path}","compare_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/merges","archive_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/downloads","issues_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues{/number}","pulls_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls{/number}","milestones_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/milestones{/number}","notifications_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/labels{/name}","releases_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/releases{/id}","deployments_url":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/deployments","created_at":"2017-12-04T02:53:56Z","updated_at":"2017-12-06T02:51:29Z","pushed_at":"2017-12-07T03:17:19Z","git_url":"git://github.com/hhyyg/Miso.iOSPractice.git","ssh_url":"git@github.com:hhyyg/Miso.iOSPractice.git","clone_url":"https://github.com/hhyyg/Miso.iOSPractice.git","svn_url":"https://github.com/hhyyg/Miso.iOSPractice","homepage":null,"size":2412,"stargazers_count":2,"watchers_count":2,"language":"Swift","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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/4"},"html":{"href":"https://github.com/hhyyg/Miso.iOSPractice/pull/4"},"issue":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues/4"},"comments":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/hhyyg/Miso.iOSPractice/statuses/45983bf3a2c181b42b3111ee0d8c3b3d9805c9d7"}},"author_association":"OWNER"}}
{"actor":{"display_login":"mono0926"}}