{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/taddison92/fridge/pulls/14","id":58549448,"html_url":"https://github.com/taddison92/fridge/pull/14","diff_url":"https://github.com/taddison92/fridge/pull/14.diff","patch_url":"https://github.com/taddison92/fridge/pull/14.patch","issue_url":"https://api.github.com/repos/taddison92/fridge/issues/14","number":14,"state":"closed","locked":false,"title":"Refactor item model","user":{"login":"taddison92","id":8651142,"avatar_url":"https://avatars.githubusercontent.com/u/8651142?v=3","gravatar_id":"","url":"https://api.github.com/users/taddison92","html_url":"https://github.com/taddison92","followers_url":"https://api.github.com/users/taddison92/followers","following_url":"https://api.github.com/users/taddison92/following{/other_user}","gists_url":"https://api.github.com/users/taddison92/gists{/gist_id}","starred_url":"https://api.github.com/users/taddison92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taddison92/subscriptions","organizations_url":"https://api.github.com/users/taddison92/orgs","repos_url":"https://api.github.com/users/taddison92/repos","events_url":"https://api.github.com/users/taddison92/events{/privacy}","received_events_url":"https://api.github.com/users/taddison92/received_events","type":"User","site_admin":false},"body":"This PR simplified the database by using embedded documents. \n\nThe item model is now subsumed in the fridge model.","created_at":"2016-02-07T15:57:59Z","updated_at":"2016-02-07T15:59:33Z","closed_at":"2016-02-07T15:59:33Z","merged_at":"2016-02-07T15:59:33Z","merge_commit_sha":"19e64523a1e2da70f036b83a7eca4525a56b320e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/taddison92/fridge/pulls/14/commits","review_comments_url":"https://api.github.com/repos/taddison92/fridge/pulls/14/comments","review_comment_url":"https://api.github.com/repos/taddison92/fridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taddison92/fridge/issues/14/comments","statuses_url":"https://api.github.com/repos/taddison92/fridge/statuses/20e18893d1651ba49a73aa158227b6c82beea61e","head":{"label":"taddison92:refactor-item-model","ref":"refactor-item-model","sha":"20e18893d1651ba49a73aa158227b6c82beea61e","user":{"login":"taddison92","id":8651142,"avatar_url":"https://avatars.githubusercontent.com/u/8651142?v=3","gravatar_id":"","url":"https://api.github.com/users/taddison92","html_url":"https://github.com/taddison92","followers_url":"https://api.github.com/users/taddison92/followers","following_url":"https://api.github.com/users/taddison92/following{/other_user}","gists_url":"https://api.github.com/users/taddison92/gists{/gist_id}","starred_url":"https://api.github.com/users/taddison92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taddison92/subscriptions","organizations_url":"https://api.github.com/users/taddison92/orgs","repos_url":"https://api.github.com/users/taddison92/repos","events_url":"https://api.github.com/users/taddison92/events{/privacy}","received_events_url":"https://api.github.com/users/taddison92/received_events","type":"User","site_admin":false},"repo":{"id":46627657,"name":"fridge","full_name":"taddison92/fridge","owner":{"login":"taddison92","id":8651142,"avatar_url":"https://avatars.githubusercontent.com/u/8651142?v=3","gravatar_id":"","url":"https://api.github.com/users/taddison92","html_url":"https://github.com/taddison92","followers_url":"https://api.github.com/users/taddison92/followers","following_url":"https://api.github.com/users/taddison92/following{/other_user}","gists_url":"https://api.github.com/users/taddison92/gists{/gist_id}","starred_url":"https://api.github.com/users/taddison92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taddison92/subscriptions","organizations_url":"https://api.github.com/users/taddison92/orgs","repos_url":"https://api.github.com/users/taddison92/repos","events_url":"https://api.github.com/users/taddison92/events{/privacy}","received_events_url":"https://api.github.com/users/taddison92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taddison92/fridge","description":"keep track of the stuff in your fridge","fork":false,"url":"https://api.github.com/repos/taddison92/fridge","forks_url":"https://api.github.com/repos/taddison92/fridge/forks","keys_url":"https://api.github.com/repos/taddison92/fridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taddison92/fridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taddison92/fridge/teams","hooks_url":"https://api.github.com/repos/taddison92/fridge/hooks","issue_events_url":"https://api.github.com/repos/taddison92/fridge/issues/events{/number}","events_url":"https://api.github.com/repos/taddison92/fridge/events","assignees_url":"https://api.github.com/repos/taddison92/fridge/assignees{/user}","branches_url":"https://api.github.com/repos/taddison92/fridge/branches{/branch}","tags_url":"https://api.github.com/repos/taddison92/fridge/tags","blobs_url":"https://api.github.com/repos/taddison92/fridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taddison92/fridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taddison92/fridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/taddison92/fridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taddison92/fridge/statuses/{sha}","languages_url":"https://api.github.com/repos/taddison92/fridge/languages","stargazers_url":"https://api.github.com/repos/taddison92/fridge/stargazers","contributors_url":"https://api.github.com/repos/taddison92/fridge/contributors","subscribers_url":"https://api.github.com/repos/taddison92/fridge/subscribers","subscription_url":"https://api.github.com/repos/taddison92/fridge/subscription","commits_url":"https://api.github.com/repos/taddison92/fridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/taddison92/fridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/taddison92/fridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/taddison92/fridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/taddison92/fridge/contents/{+path}","compare_url":"https://api.github.com/repos/taddison92/fridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taddison92/fridge/merges","archive_url":"https://api.github.com/repos/taddison92/fridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taddison92/fridge/downloads","issues_url":"https://api.github.com/repos/taddison92/fridge/issues{/number}","pulls_url":"https://api.github.com/repos/taddison92/fridge/pulls{/number}","milestones_url":"https://api.github.com/repos/taddison92/fridge/milestones{/number}","notifications_url":"https://api.github.com/repos/taddison92/fridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taddison92/fridge/labels{/name}","releases_url":"https://api.github.com/repos/taddison92/fridge/releases{/id}","deployments_url":"https://api.github.com/repos/taddison92/fridge/deployments","created_at":"2015-11-21T18:21:16Z","updated_at":"2016-01-29T21:53:36Z","pushed_at":"2016-02-07T15:59:33Z","git_url":"git://github.com/taddison92/fridge.git","ssh_url":"git@github.com:taddison92/fridge.git","clone_url":"https://github.com/taddison92/fridge.git","svn_url":"https://github.com/taddison92/fridge","homepage":null,"size":60,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"taddison92:develop","ref":"develop","sha":"347a6f3e1fed6328abe511a8209bfe2aa9cd66a8","user":{"login":"taddison92","id":8651142,"avatar_url":"https://avatars.githubusercontent.com/u/8651142?v=3","gravatar_id":"","url":"https://api.github.com/users/taddison92","html_url":"https://github.com/taddison92","followers_url":"https://api.github.com/users/taddison92/followers","following_url":"https://api.github.com/users/taddison92/following{/other_user}","gists_url":"https://api.github.com/users/taddison92/gists{/gist_id}","starred_url":"https://api.github.com/users/taddison92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taddison92/subscriptions","organizations_url":"https://api.github.com/users/taddison92/orgs","repos_url":"https://api.github.com/users/taddison92/repos","events_url":"https://api.github.com/users/taddison92/events{/privacy}","received_events_url":"https://api.github.com/users/taddison92/received_events","type":"User","site_admin":false},"repo":{"id":46627657,"name":"fridge","full_name":"taddison92/fridge","owner":{"login":"taddison92","id":8651142,"avatar_url":"https://avatars.githubusercontent.com/u/8651142?v=3","gravatar_id":"","url":"https://api.github.com/users/taddison92","html_url":"https://github.com/taddison92","followers_url":"https://api.github.com/users/taddison92/followers","following_url":"https://api.github.com/users/taddison92/following{/other_user}","gists_url":"https://api.github.com/users/taddison92/gists{/gist_id}","starred_url":"https://api.github.com/users/taddison92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taddison92/subscriptions","organizations_url":"https://api.github.com/users/taddison92/orgs","repos_url":"https://api.github.com/users/taddison92/repos","events_url":"https://api.github.com/users/taddison92/events{/privacy}","received_events_url":"https://api.github.com/users/taddison92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taddison92/fridge","description":"keep track of the stuff in your fridge","fork":false,"url":"https://api.github.com/repos/taddison92/fridge","forks_url":"https://api.github.com/repos/taddison92/fridge/forks","keys_url":"https://api.github.com/repos/taddison92/fridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taddison92/fridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taddison92/fridge/teams","hooks_url":"https://api.github.com/repos/taddison92/fridge/hooks","issue_events_url":"https://api.github.com/repos/taddison92/fridge/issues/events{/number}","events_url":"https://api.github.com/repos/taddison92/fridge/events","assignees_url":"https://api.github.com/repos/taddison92/fridge/assignees{/user}","branches_url":"https://api.github.com/repos/taddison92/fridge/branches{/branch}","tags_url":"https://api.github.com/repos/taddison92/fridge/tags","blobs_url":"https://api.github.com/repos/taddison92/fridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taddison92/fridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taddison92/fridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/taddison92/fridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taddison92/fridge/statuses/{sha}","languages_url":"https://api.github.com/repos/taddison92/fridge/languages","stargazers_url":"https://api.github.com/repos/taddison92/fridge/stargazers","contributors_url":"https://api.github.com/repos/taddison92/fridge/contributors","subscribers_url":"https://api.github.com/repos/taddison92/fridge/subscribers","subscription_url":"https://api.github.com/repos/taddison92/fridge/subscription","commits_url":"https://api.github.com/repos/taddison92/fridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/taddison92/fridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/taddison92/fridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/taddison92/fridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/taddison92/fridge/contents/{+path}","compare_url":"https://api.github.com/repos/taddison92/fridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taddison92/fridge/merges","archive_url":"https://api.github.com/repos/taddison92/fridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taddison92/fridge/downloads","issues_url":"https://api.github.com/repos/taddison92/fridge/issues{/number}","pulls_url":"https://api.github.com/repos/taddison92/fridge/pulls{/number}","milestones_url":"https://api.github.com/repos/taddison92/fridge/milestones{/number}","notifications_url":"https://api.github.com/repos/taddison92/fridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taddison92/fridge/labels{/name}","releases_url":"https://api.github.com/repos/taddison92/fridge/releases{/id}","deployments_url":"https://api.github.com/repos/taddison92/fridge/deployments","created_at":"2015-11-21T18:21:16Z","updated_at":"2016-01-29T21:53:36Z","pushed_at":"2016-02-07T15:59:33Z","git_url":"git://github.com/taddison92/fridge.git","ssh_url":"git@github.com:taddison92/fridge.git","clone_url":"https://github.com/taddison92/fridge.git","svn_url":"https://github.com/taddison92/fridge","homepage":null,"size":60,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/taddison92/fridge/pulls/14"},"html":{"href":"https://github.com/taddison92/fridge/pull/14"},"issue":{"href":"https://api.github.com/repos/taddison92/fridge/issues/14"},"comments":{"href":"https://api.github.com/repos/taddison92/fridge/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/taddison92/fridge/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/taddison92/fridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taddison92/fridge/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/taddison92/fridge/statuses/20e18893d1651ba49a73aa158227b6c82beea61e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"taddison92","id":8651142,"avatar_url":"https://avatars.githubusercontent.com/u/8651142?v=3","gravatar_id":"","url":"https://api.github.com/users/taddison92","html_url":"https://github.com/taddison92","followers_url":"https://api.github.com/users/taddison92/followers","following_url":"https://api.github.com/users/taddison92/following{/other_user}","gists_url":"https://api.github.com/users/taddison92/gists{/gist_id}","starred_url":"https://api.github.com/users/taddison92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taddison92/subscriptions","organizations_url":"https://api.github.com/users/taddison92/orgs","repos_url":"https://api.github.com/users/taddison92/repos","events_url":"https://api.github.com/users/taddison92/events{/privacy}","received_events_url":"https://api.github.com/users/taddison92/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":6,"additions":13,"deletions":194,"changed_files":7}}