{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls/17","id":33009413,"html_url":"https://github.com/Sparen/RandomSpellcardGenerator/pull/17","diff_url":"https://github.com/Sparen/RandomSpellcardGenerator/pull/17.diff","patch_url":"https://github.com/Sparen/RandomSpellcardGenerator/pull/17.patch","issue_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/issues/17","number":17,"state":"open","locked":false,"title":"Refactored code into some functions","user":{"login":"bluebear94","id":2975203,"avatar_url":"https://avatars.githubusercontent.com/u/2975203?v=3","gravatar_id":"","url":"https://api.github.com/users/bluebear94","html_url":"https://github.com/bluebear94","followers_url":"https://api.github.com/users/bluebear94/followers","following_url":"https://api.github.com/users/bluebear94/following{/other_user}","gists_url":"https://api.github.com/users/bluebear94/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebear94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebear94/subscriptions","organizations_url":"https://api.github.com/users/bluebear94/orgs","repos_url":"https://api.github.com/users/bluebear94/repos","events_url":"https://api.github.com/users/bluebear94/events{/privacy}","received_events_url":"https://api.github.com/users/bluebear94/received_events","type":"User","site_admin":false},"body":"So valgrind can help find the error more easily.","created_at":"2015-04-10T00:35:12Z","updated_at":"2015-04-10T00:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls/17/commits","review_comments_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls/17/comments","review_comment_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/issues/17/comments","statuses_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/statuses/d16dc052a71a9764181f42c367533143a0b7f85a","head":{"label":"bluebear94:master","ref":"master","sha":"d16dc052a71a9764181f42c367533143a0b7f85a","user":{"login":"bluebear94","id":2975203,"avatar_url":"https://avatars.githubusercontent.com/u/2975203?v=3","gravatar_id":"","url":"https://api.github.com/users/bluebear94","html_url":"https://github.com/bluebear94","followers_url":"https://api.github.com/users/bluebear94/followers","following_url":"https://api.github.com/users/bluebear94/following{/other_user}","gists_url":"https://api.github.com/users/bluebear94/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebear94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebear94/subscriptions","organizations_url":"https://api.github.com/users/bluebear94/orgs","repos_url":"https://api.github.com/users/bluebear94/repos","events_url":"https://api.github.com/users/bluebear94/events{/privacy}","received_events_url":"https://api.github.com/users/bluebear94/received_events","type":"User","site_admin":false},"repo":{"id":33331703,"name":"RandomSpellcardGenerator","full_name":"bluebear94/RandomSpellcardGenerator","owner":{"login":"bluebear94","id":2975203,"avatar_url":"https://avatars.githubusercontent.com/u/2975203?v=3","gravatar_id":"","url":"https://api.github.com/users/bluebear94","html_url":"https://github.com/bluebear94","followers_url":"https://api.github.com/users/bluebear94/followers","following_url":"https://api.github.com/users/bluebear94/following{/other_user}","gists_url":"https://api.github.com/users/bluebear94/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebear94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebear94/subscriptions","organizations_url":"https://api.github.com/users/bluebear94/orgs","repos_url":"https://api.github.com/users/bluebear94/repos","events_url":"https://api.github.com/users/bluebear94/events{/privacy}","received_events_url":"https://api.github.com/users/bluebear94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bluebear94/RandomSpellcardGenerator","description":"A C++ program that spits out spell card names.","fork":true,"url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator","forks_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/forks","keys_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/teams","hooks_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/hooks","issue_events_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/issues/events{/number}","events_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/events","assignees_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/assignees{/user}","branches_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/branches{/branch}","tags_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/tags","blobs_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/statuses/{sha}","languages_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/languages","stargazers_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/stargazers","contributors_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/contributors","subscribers_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/subscribers","subscription_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/subscription","commits_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/contents/{+path}","compare_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/merges","archive_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/downloads","issues_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/issues{/number}","pulls_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/pulls{/number}","milestones_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/milestones{/number}","notifications_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/labels{/name}","releases_url":"https://api.github.com/repos/bluebear94/RandomSpellcardGenerator/releases{/id}","created_at":"2015-04-02T21:02:19Z","updated_at":"2015-04-10T00:33:59Z","pushed_at":"2015-04-10T00:33:59Z","git_url":"git://github.com/bluebear94/RandomSpellcardGenerator.git","ssh_url":"git@github.com:bluebear94/RandomSpellcardGenerator.git","clone_url":"https://github.com/bluebear94/RandomSpellcardGenerator.git","svn_url":"https://github.com/bluebear94/RandomSpellcardGenerator","homepage":null,"size":542,"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":"Sparen:master","ref":"master","sha":"67ef30ccf5005a9284c366a5f1548fd1c74aeaf3","user":{"login":"Sparen","id":5430590,"avatar_url":"https://avatars.githubusercontent.com/u/5430590?v=3","gravatar_id":"","url":"https://api.github.com/users/Sparen","html_url":"https://github.com/Sparen","followers_url":"https://api.github.com/users/Sparen/followers","following_url":"https://api.github.com/users/Sparen/following{/other_user}","gists_url":"https://api.github.com/users/Sparen/gists{/gist_id}","starred_url":"https://api.github.com/users/Sparen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sparen/subscriptions","organizations_url":"https://api.github.com/users/Sparen/orgs","repos_url":"https://api.github.com/users/Sparen/repos","events_url":"https://api.github.com/users/Sparen/events{/privacy}","received_events_url":"https://api.github.com/users/Sparen/received_events","type":"User","site_admin":false},"repo":{"id":33267138,"name":"RandomSpellcardGenerator","full_name":"Sparen/RandomSpellcardGenerator","owner":{"login":"Sparen","id":5430590,"avatar_url":"https://avatars.githubusercontent.com/u/5430590?v=3","gravatar_id":"","url":"https://api.github.com/users/Sparen","html_url":"https://github.com/Sparen","followers_url":"https://api.github.com/users/Sparen/followers","following_url":"https://api.github.com/users/Sparen/following{/other_user}","gists_url":"https://api.github.com/users/Sparen/gists{/gist_id}","starred_url":"https://api.github.com/users/Sparen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sparen/subscriptions","organizations_url":"https://api.github.com/users/Sparen/orgs","repos_url":"https://api.github.com/users/Sparen/repos","events_url":"https://api.github.com/users/Sparen/events{/privacy}","received_events_url":"https://api.github.com/users/Sparen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sparen/RandomSpellcardGenerator","description":"A C++ program that spits out spell card names.","fork":false,"url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator","forks_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/forks","keys_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/teams","hooks_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/hooks","issue_events_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/issues/events{/number}","events_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/events","assignees_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/assignees{/user}","branches_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/branches{/branch}","tags_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/tags","blobs_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/statuses/{sha}","languages_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/languages","stargazers_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/stargazers","contributors_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/contributors","subscribers_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/subscribers","subscription_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/subscription","commits_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/contents/{+path}","compare_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/merges","archive_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/downloads","issues_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/issues{/number}","pulls_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls{/number}","milestones_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/milestones{/number}","notifications_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/labels{/name}","releases_url":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/releases{/id}","created_at":"2015-04-01T19:10:17Z","updated_at":"2015-04-10T00:31:24Z","pushed_at":"2015-04-10T00:35:12Z","git_url":"git://github.com/Sparen/RandomSpellcardGenerator.git","ssh_url":"git@github.com:Sparen/RandomSpellcardGenerator.git","clone_url":"https://github.com/Sparen/RandomSpellcardGenerator.git","svn_url":"https://github.com/Sparen/RandomSpellcardGenerator","homepage":null,"size":752,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls/17"},"html":{"href":"https://github.com/Sparen/RandomSpellcardGenerator/pull/17"},"issue":{"href":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/issues/17"},"comments":{"href":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/Sparen/RandomSpellcardGenerator/statuses/d16dc052a71a9764181f42c367533143a0b7f85a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":82,"deletions":69,"changed_files":1}}