{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls/5","id":68284489,"html_url":"https://github.com/oscardel13/CSCI-2270-Project/pull/5","diff_url":"https://github.com/oscardel13/CSCI-2270-Project/pull/5.diff","patch_url":"https://github.com/oscardel13/CSCI-2270-Project/pull/5.patch","issue_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/issues/5","number":5,"state":"closed","locked":false,"title":"Checks to user input","user":{"login":"booksforever","id":15216664,"avatar_url":"https://avatars.githubusercontent.com/u/15216664?v=3","gravatar_id":"","url":"https://api.github.com/users/booksforever","html_url":"https://github.com/booksforever","followers_url":"https://api.github.com/users/booksforever/followers","following_url":"https://api.github.com/users/booksforever/following{/other_user}","gists_url":"https://api.github.com/users/booksforever/gists{/gist_id}","starred_url":"https://api.github.com/users/booksforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/booksforever/subscriptions","organizations_url":"https://api.github.com/users/booksforever/orgs","repos_url":"https://api.github.com/users/booksforever/repos","events_url":"https://api.github.com/users/booksforever/events{/privacy}","received_events_url":"https://api.github.com/users/booksforever/received_events","type":"User","site_admin":false},"body":"I added a few checks to make sure there isn't an infinite loop if the user inputs a string instead of an integer for the menu options.","created_at":"2016-04-28T20:25:37Z","updated_at":"2016-05-01T00:57:04Z","closed_at":"2016-05-01T00:57:04Z","merged_at":"2016-05-01T00:57:04Z","merge_commit_sha":"73869d4ee26f8bef0fdc94f32e72b4854438ec9d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls/5/commits","review_comments_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls/5/comments","review_comment_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/issues/5/comments","statuses_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/statuses/7e7e5d2d52f2e6e3703dbb305c429e2dde1c8e26","head":{"label":"booksforever:master","ref":"master","sha":"7e7e5d2d52f2e6e3703dbb305c429e2dde1c8e26","user":{"login":"booksforever","id":15216664,"avatar_url":"https://avatars.githubusercontent.com/u/15216664?v=3","gravatar_id":"","url":"https://api.github.com/users/booksforever","html_url":"https://github.com/booksforever","followers_url":"https://api.github.com/users/booksforever/followers","following_url":"https://api.github.com/users/booksforever/following{/other_user}","gists_url":"https://api.github.com/users/booksforever/gists{/gist_id}","starred_url":"https://api.github.com/users/booksforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/booksforever/subscriptions","organizations_url":"https://api.github.com/users/booksforever/orgs","repos_url":"https://api.github.com/users/booksforever/repos","events_url":"https://api.github.com/users/booksforever/events{/privacy}","received_events_url":"https://api.github.com/users/booksforever/received_events","type":"User","site_admin":false},"repo":{"id":57330438,"name":"CSCI-2270-Project","full_name":"booksforever/CSCI-2270-Project","owner":{"login":"booksforever","id":15216664,"avatar_url":"https://avatars.githubusercontent.com/u/15216664?v=3","gravatar_id":"","url":"https://api.github.com/users/booksforever","html_url":"https://github.com/booksforever","followers_url":"https://api.github.com/users/booksforever/followers","following_url":"https://api.github.com/users/booksforever/following{/other_user}","gists_url":"https://api.github.com/users/booksforever/gists{/gist_id}","starred_url":"https://api.github.com/users/booksforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/booksforever/subscriptions","organizations_url":"https://api.github.com/users/booksforever/orgs","repos_url":"https://api.github.com/users/booksforever/repos","events_url":"https://api.github.com/users/booksforever/events{/privacy}","received_events_url":"https://api.github.com/users/booksforever/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/booksforever/CSCI-2270-Project","description":"","fork":true,"url":"https://api.github.com/repos/booksforever/CSCI-2270-Project","forks_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/forks","keys_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/teams","hooks_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/hooks","issue_events_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/issues/events{/number}","events_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/events","assignees_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/assignees{/user}","branches_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/branches{/branch}","tags_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/tags","blobs_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/statuses/{sha}","languages_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/languages","stargazers_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/stargazers","contributors_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/contributors","subscribers_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/subscribers","subscription_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/subscription","commits_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/contents/{+path}","compare_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/merges","archive_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/downloads","issues_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/issues{/number}","pulls_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/pulls{/number}","milestones_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/milestones{/number}","notifications_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/labels{/name}","releases_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/releases{/id}","deployments_url":"https://api.github.com/repos/booksforever/CSCI-2270-Project/deployments","created_at":"2016-04-28T20:05:47Z","updated_at":"2016-04-28T20:05:48Z","pushed_at":"2016-04-28T20:21:41Z","git_url":"git://github.com/booksforever/CSCI-2270-Project.git","ssh_url":"git@github.com:booksforever/CSCI-2270-Project.git","clone_url":"https://github.com/booksforever/CSCI-2270-Project.git","svn_url":"https://github.com/booksforever/CSCI-2270-Project","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"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":"oscardel13:master","ref":"master","sha":"f7af856235860c9833ca73adea70b6fc929a59c3","user":{"login":"oscardel13","id":18271928,"avatar_url":"https://avatars.githubusercontent.com/u/18271928?v=3","gravatar_id":"","url":"https://api.github.com/users/oscardel13","html_url":"https://github.com/oscardel13","followers_url":"https://api.github.com/users/oscardel13/followers","following_url":"https://api.github.com/users/oscardel13/following{/other_user}","gists_url":"https://api.github.com/users/oscardel13/gists{/gist_id}","starred_url":"https://api.github.com/users/oscardel13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscardel13/subscriptions","organizations_url":"https://api.github.com/users/oscardel13/orgs","repos_url":"https://api.github.com/users/oscardel13/repos","events_url":"https://api.github.com/users/oscardel13/events{/privacy}","received_events_url":"https://api.github.com/users/oscardel13/received_events","type":"User","site_admin":false},"repo":{"id":56104056,"name":"CSCI-2270-Project","full_name":"oscardel13/CSCI-2270-Project","owner":{"login":"oscardel13","id":18271928,"avatar_url":"https://avatars.githubusercontent.com/u/18271928?v=3","gravatar_id":"","url":"https://api.github.com/users/oscardel13","html_url":"https://github.com/oscardel13","followers_url":"https://api.github.com/users/oscardel13/followers","following_url":"https://api.github.com/users/oscardel13/following{/other_user}","gists_url":"https://api.github.com/users/oscardel13/gists{/gist_id}","starred_url":"https://api.github.com/users/oscardel13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscardel13/subscriptions","organizations_url":"https://api.github.com/users/oscardel13/orgs","repos_url":"https://api.github.com/users/oscardel13/repos","events_url":"https://api.github.com/users/oscardel13/events{/privacy}","received_events_url":"https://api.github.com/users/oscardel13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oscardel13/CSCI-2270-Project","description":"","fork":false,"url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project","forks_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/forks","keys_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/teams","hooks_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/hooks","issue_events_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/issues/events{/number}","events_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/events","assignees_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/assignees{/user}","branches_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/branches{/branch}","tags_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/tags","blobs_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/statuses/{sha}","languages_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/languages","stargazers_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/stargazers","contributors_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/contributors","subscribers_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/subscribers","subscription_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/subscription","commits_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/contents/{+path}","compare_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/merges","archive_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/downloads","issues_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/issues{/number}","pulls_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls{/number}","milestones_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/milestones{/number}","notifications_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/labels{/name}","releases_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/releases{/id}","deployments_url":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/deployments","created_at":"2016-04-12T23:08:03Z","updated_at":"2016-04-22T01:13:52Z","pushed_at":"2016-05-01T00:57:04Z","git_url":"git://github.com/oscardel13/CSCI-2270-Project.git","ssh_url":"git@github.com:oscardel13/CSCI-2270-Project.git","clone_url":"https://github.com/oscardel13/CSCI-2270-Project.git","svn_url":"https://github.com/oscardel13/CSCI-2270-Project","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls/5"},"html":{"href":"https://github.com/oscardel13/CSCI-2270-Project/pull/5"},"issue":{"href":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/issues/5"},"comments":{"href":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/oscardel13/CSCI-2270-Project/statuses/7e7e5d2d52f2e6e3703dbb305c429e2dde1c8e26"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jocr5685","id":18430686,"avatar_url":"https://avatars.githubusercontent.com/u/18430686?v=3","gravatar_id":"","url":"https://api.github.com/users/jocr5685","html_url":"https://github.com/jocr5685","followers_url":"https://api.github.com/users/jocr5685/followers","following_url":"https://api.github.com/users/jocr5685/following{/other_user}","gists_url":"https://api.github.com/users/jocr5685/gists{/gist_id}","starred_url":"https://api.github.com/users/jocr5685/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jocr5685/subscriptions","organizations_url":"https://api.github.com/users/jocr5685/orgs","repos_url":"https://api.github.com/users/jocr5685/repos","events_url":"https://api.github.com/users/jocr5685/events{/privacy}","received_events_url":"https://api.github.com/users/jocr5685/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":11,"deletions":0,"changed_files":1}}