{"action":"closed","number":163,"pull_request":{"url":"https://api.github.com/repos/codefordurham/food-inspector/pulls/163","id":92267674,"html_url":"https://github.com/codefordurham/food-inspector/pull/163","diff_url":"https://github.com/codefordurham/food-inspector/pull/163.diff","patch_url":"https://github.com/codefordurham/food-inspector/pull/163.patch","issue_url":"https://api.github.com/repos/codefordurham/food-inspector/issues/163","number":163,"state":"closed","locked":false,"title":"Enhancement/has risk data","user":{"login":"JonathanFrederick","id":11638659,"avatar_url":"https://avatars.githubusercontent.com/u/11638659?v=3","gravatar_id":"","url":"https://api.github.com/users/JonathanFrederick","html_url":"https://github.com/JonathanFrederick","followers_url":"https://api.github.com/users/JonathanFrederick/followers","following_url":"https://api.github.com/users/JonathanFrederick/following{/other_user}","gists_url":"https://api.github.com/users/JonathanFrederick/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanFrederick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanFrederick/subscriptions","organizations_url":"https://api.github.com/users/JonathanFrederick/orgs","repos_url":"https://api.github.com/users/JonathanFrederick/repos","events_url":"https://api.github.com/users/JonathanFrederick/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanFrederick/received_events","type":"User","site_admin":false},"body":"- Changes _count fields to default to -1 in Establishment and Inspection models\r\n- Adds has_risk_data method to Establishment and Inspection\r\n- Removes _deduction columns","created_at":"2016-11-04T00:53:38Z","updated_at":"2016-11-08T21:17:51Z","closed_at":"2016-11-08T21:17:51Z","merged_at":"2016-11-08T21:17:51Z","merge_commit_sha":"eb9a0353731b96dc6b4b7b6af7ee361a19e834c2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/codefordurham/food-inspector/pulls/163/commits","review_comments_url":"https://api.github.com/repos/codefordurham/food-inspector/pulls/163/comments","review_comment_url":"https://api.github.com/repos/codefordurham/food-inspector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codefordurham/food-inspector/issues/163/comments","statuses_url":"https://api.github.com/repos/codefordurham/food-inspector/statuses/6d54ffb34987a16fff2232a121a8d5c0e9022b7e","head":{"label":"codefordurham:enhancement/has-risk-data","ref":"enhancement/has-risk-data","sha":"6d54ffb34987a16fff2232a121a8d5c0e9022b7e","user":{"login":"codefordurham","id":5732447,"avatar_url":"https://avatars.githubusercontent.com/u/5732447?v=3","gravatar_id":"","url":"https://api.github.com/users/codefordurham","html_url":"https://github.com/codefordurham","followers_url":"https://api.github.com/users/codefordurham/followers","following_url":"https://api.github.com/users/codefordurham/following{/other_user}","gists_url":"https://api.github.com/users/codefordurham/gists{/gist_id}","starred_url":"https://api.github.com/users/codefordurham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefordurham/subscriptions","organizations_url":"https://api.github.com/users/codefordurham/orgs","repos_url":"https://api.github.com/users/codefordurham/repos","events_url":"https://api.github.com/users/codefordurham/events{/privacy}","received_events_url":"https://api.github.com/users/codefordurham/received_events","type":"Organization","site_admin":false},"repo":{"id":14453288,"name":"food-inspector","full_name":"codefordurham/food-inspector","owner":{"login":"codefordurham","id":5732447,"avatar_url":"https://avatars.githubusercontent.com/u/5732447?v=3","gravatar_id":"","url":"https://api.github.com/users/codefordurham","html_url":"https://github.com/codefordurham","followers_url":"https://api.github.com/users/codefordurham/followers","following_url":"https://api.github.com/users/codefordurham/following{/other_user}","gists_url":"https://api.github.com/users/codefordurham/gists{/gist_id}","starred_url":"https://api.github.com/users/codefordurham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefordurham/subscriptions","organizations_url":"https://api.github.com/users/codefordurham/orgs","repos_url":"https://api.github.com/users/codefordurham/repos","events_url":"https://api.github.com/users/codefordurham/events{/privacy}","received_events_url":"https://api.github.com/users/codefordurham/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codefordurham/food-inspector","description":"Our health rating restaurant application","fork":false,"url":"https://api.github.com/repos/codefordurham/food-inspector","forks_url":"https://api.github.com/repos/codefordurham/food-inspector/forks","keys_url":"https://api.github.com/repos/codefordurham/food-inspector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codefordurham/food-inspector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codefordurham/food-inspector/teams","hooks_url":"https://api.github.com/repos/codefordurham/food-inspector/hooks","issue_events_url":"https://api.github.com/repos/codefordurham/food-inspector/issues/events{/number}","events_url":"https://api.github.com/repos/codefordurham/food-inspector/events","assignees_url":"https://api.github.com/repos/codefordurham/food-inspector/assignees{/user}","branches_url":"https://api.github.com/repos/codefordurham/food-inspector/branches{/branch}","tags_url":"https://api.github.com/repos/codefordurham/food-inspector/tags","blobs_url":"https://api.github.com/repos/codefordurham/food-inspector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codefordurham/food-inspector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codefordurham/food-inspector/git/refs{/sha}","trees_url":"https://api.github.com/repos/codefordurham/food-inspector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codefordurham/food-inspector/statuses/{sha}","languages_url":"https://api.github.com/repos/codefordurham/food-inspector/languages","stargazers_url":"https://api.github.com/repos/codefordurham/food-inspector/stargazers","contributors_url":"https://api.github.com/repos/codefordurham/food-inspector/contributors","subscribers_url":"https://api.github.com/repos/codefordurham/food-inspector/subscribers","subscription_url":"https://api.github.com/repos/codefordurham/food-inspector/subscription","commits_url":"https://api.github.com/repos/codefordurham/food-inspector/commits{/sha}","git_commits_url":"https://api.github.com/repos/codefordurham/food-inspector/git/commits{/sha}","comments_url":"https://api.github.com/repos/codefordurham/food-inspector/comments{/number}","issue_comment_url":"https://api.github.com/repos/codefordurham/food-inspector/issues/comments{/number}","contents_url":"https://api.github.com/repos/codefordurham/food-inspector/contents/{+path}","compare_url":"https://api.github.com/repos/codefordurham/food-inspector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codefordurham/food-inspector/merges","archive_url":"https://api.github.com/repos/codefordurham/food-inspector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codefordurham/food-inspector/downloads","issues_url":"https://api.github.com/repos/codefordurham/food-inspector/issues{/number}","pulls_url":"https://api.github.com/repos/codefordurham/food-inspector/pulls{/number}","milestones_url":"https://api.github.com/repos/codefordurham/food-inspector/milestones{/number}","notifications_url":"https://api.github.com/repos/codefordurham/food-inspector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codefordurham/food-inspector/labels{/name}","releases_url":"https://api.github.com/repos/codefordurham/food-inspector/releases{/id}","deployments_url":"https://api.github.com/repos/codefordurham/food-inspector/deployments","created_at":"2013-11-16T19:29:46Z","updated_at":"2016-10-26T01:59:37Z","pushed_at":"2016-11-08T21:17:51Z","git_url":"git://github.com/codefordurham/food-inspector.git","ssh_url":"git@github.com:codefordurham/food-inspector.git","clone_url":"https://github.com/codefordurham/food-inspector.git","svn_url":"https://github.com/codefordurham/food-inspector","homepage":"http://ncfoodinspector.com/","size":1388,"stargazers_count":14,"watchers_count":14,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":32,"forks":8,"open_issues":32,"watchers":14,"default_branch":"develop"}},"base":{"label":"codefordurham:develop","ref":"develop","sha":"bfc1422a3aea2a1a6a49b9a39bc0ae72da1fdbd1","user":{"login":"codefordurham","id":5732447,"avatar_url":"https://avatars.githubusercontent.com/u/5732447?v=3","gravatar_id":"","url":"https://api.github.com/users/codefordurham","html_url":"https://github.com/codefordurham","followers_url":"https://api.github.com/users/codefordurham/followers","following_url":"https://api.github.com/users/codefordurham/following{/other_user}","gists_url":"https://api.github.com/users/codefordurham/gists{/gist_id}","starred_url":"https://api.github.com/users/codefordurham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefordurham/subscriptions","organizations_url":"https://api.github.com/users/codefordurham/orgs","repos_url":"https://api.github.com/users/codefordurham/repos","events_url":"https://api.github.com/users/codefordurham/events{/privacy}","received_events_url":"https://api.github.com/users/codefordurham/received_events","type":"Organization","site_admin":false},"repo":{"id":14453288,"name":"food-inspector","full_name":"codefordurham/food-inspector","owner":{"login":"codefordurham","id":5732447,"avatar_url":"https://avatars.githubusercontent.com/u/5732447?v=3","gravatar_id":"","url":"https://api.github.com/users/codefordurham","html_url":"https://github.com/codefordurham","followers_url":"https://api.github.com/users/codefordurham/followers","following_url":"https://api.github.com/users/codefordurham/following{/other_user}","gists_url":"https://api.github.com/users/codefordurham/gists{/gist_id}","starred_url":"https://api.github.com/users/codefordurham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefordurham/subscriptions","organizations_url":"https://api.github.com/users/codefordurham/orgs","repos_url":"https://api.github.com/users/codefordurham/repos","events_url":"https://api.github.com/users/codefordurham/events{/privacy}","received_events_url":"https://api.github.com/users/codefordurham/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codefordurham/food-inspector","description":"Our health rating restaurant application","fork":false,"url":"https://api.github.com/repos/codefordurham/food-inspector","forks_url":"https://api.github.com/repos/codefordurham/food-inspector/forks","keys_url":"https://api.github.com/repos/codefordurham/food-inspector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codefordurham/food-inspector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codefordurham/food-inspector/teams","hooks_url":"https://api.github.com/repos/codefordurham/food-inspector/hooks","issue_events_url":"https://api.github.com/repos/codefordurham/food-inspector/issues/events{/number}","events_url":"https://api.github.com/repos/codefordurham/food-inspector/events","assignees_url":"https://api.github.com/repos/codefordurham/food-inspector/assignees{/user}","branches_url":"https://api.github.com/repos/codefordurham/food-inspector/branches{/branch}","tags_url":"https://api.github.com/repos/codefordurham/food-inspector/tags","blobs_url":"https://api.github.com/repos/codefordurham/food-inspector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codefordurham/food-inspector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codefordurham/food-inspector/git/refs{/sha}","trees_url":"https://api.github.com/repos/codefordurham/food-inspector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codefordurham/food-inspector/statuses/{sha}","languages_url":"https://api.github.com/repos/codefordurham/food-inspector/languages","stargazers_url":"https://api.github.com/repos/codefordurham/food-inspector/stargazers","contributors_url":"https://api.github.com/repos/codefordurham/food-inspector/contributors","subscribers_url":"https://api.github.com/repos/codefordurham/food-inspector/subscribers","subscription_url":"https://api.github.com/repos/codefordurham/food-inspector/subscription","commits_url":"https://api.github.com/repos/codefordurham/food-inspector/commits{/sha}","git_commits_url":"https://api.github.com/repos/codefordurham/food-inspector/git/commits{/sha}","comments_url":"https://api.github.com/repos/codefordurham/food-inspector/comments{/number}","issue_comment_url":"https://api.github.com/repos/codefordurham/food-inspector/issues/comments{/number}","contents_url":"https://api.github.com/repos/codefordurham/food-inspector/contents/{+path}","compare_url":"https://api.github.com/repos/codefordurham/food-inspector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codefordurham/food-inspector/merges","archive_url":"https://api.github.com/repos/codefordurham/food-inspector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codefordurham/food-inspector/downloads","issues_url":"https://api.github.com/repos/codefordurham/food-inspector/issues{/number}","pulls_url":"https://api.github.com/repos/codefordurham/food-inspector/pulls{/number}","milestones_url":"https://api.github.com/repos/codefordurham/food-inspector/milestones{/number}","notifications_url":"https://api.github.com/repos/codefordurham/food-inspector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codefordurham/food-inspector/labels{/name}","releases_url":"https://api.github.com/repos/codefordurham/food-inspector/releases{/id}","deployments_url":"https://api.github.com/repos/codefordurham/food-inspector/deployments","created_at":"2013-11-16T19:29:46Z","updated_at":"2016-10-26T01:59:37Z","pushed_at":"2016-11-08T21:17:51Z","git_url":"git://github.com/codefordurham/food-inspector.git","ssh_url":"git@github.com:codefordurham/food-inspector.git","clone_url":"https://github.com/codefordurham/food-inspector.git","svn_url":"https://github.com/codefordurham/food-inspector","homepage":"http://ncfoodinspector.com/","size":1388,"stargazers_count":14,"watchers_count":14,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":32,"forks":8,"open_issues":32,"watchers":14,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/codefordurham/food-inspector/pulls/163"},"html":{"href":"https://github.com/codefordurham/food-inspector/pull/163"},"issue":{"href":"https://api.github.com/repos/codefordurham/food-inspector/issues/163"},"comments":{"href":"https://api.github.com/repos/codefordurham/food-inspector/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/codefordurham/food-inspector/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/codefordurham/food-inspector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codefordurham/food-inspector/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/codefordurham/food-inspector/statuses/6d54ffb34987a16fff2232a121a8d5c0e9022b7e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"JonathanFrederick","id":11638659,"avatar_url":"https://avatars.githubusercontent.com/u/11638659?v=3","gravatar_id":"","url":"https://api.github.com/users/JonathanFrederick","html_url":"https://github.com/JonathanFrederick","followers_url":"https://api.github.com/users/JonathanFrederick/followers","following_url":"https://api.github.com/users/JonathanFrederick/following{/other_user}","gists_url":"https://api.github.com/users/JonathanFrederick/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanFrederick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanFrederick/subscriptions","organizations_url":"https://api.github.com/users/JonathanFrederick/orgs","repos_url":"https://api.github.com/users/JonathanFrederick/repos","events_url":"https://api.github.com/users/JonathanFrederick/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanFrederick/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":6,"additions":130,"deletions":36,"changed_files":3}}
{"actor":{"display_login":"JonathanFrederick"}}