{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls/1","id":166571165,"html_url":"https://github.com/upper-hand/developer-candidate-interview/pull/1","diff_url":"https://github.com/upper-hand/developer-candidate-interview/pull/1.diff","patch_url":"https://github.com/upper-hand/developer-candidate-interview/pull/1.patch","issue_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues/1","number":1,"state":"open","locked":false,"title":"part 1","user":{"login":"christophersansone","id":686233,"avatar_url":"https://avatars0.githubusercontent.com/u/686233?v=4","gravatar_id":"","url":"https://api.github.com/users/christophersansone","html_url":"https://github.com/christophersansone","followers_url":"https://api.github.com/users/christophersansone/followers","following_url":"https://api.github.com/users/christophersansone/following{/other_user}","gists_url":"https://api.github.com/users/christophersansone/gists{/gist_id}","starred_url":"https://api.github.com/users/christophersansone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophersansone/subscriptions","organizations_url":"https://api.github.com/users/christophersansone/orgs","repos_url":"https://api.github.com/users/christophersansone/repos","events_url":"https://api.github.com/users/christophersansone/events{/privacy}","received_events_url":"https://api.github.com/users/christophersansone/received_events","type":"User","site_admin":false},"body":"Did part 1 for reference.  Took about 20 mins, most of the time spent getting the sanitize regex right and trying to get the specs to run (since the repo doesn't have a Gemfile).","created_at":"2018-02-01T15:37:22Z","updated_at":"2018-02-01T15:37:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls/1/commits","review_comments_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls/1/comments","review_comment_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues/1/comments","statuses_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/statuses/44e58b9537736b3ededcbb349da06a07f8f3291a","head":{"label":"upper-hand:chris","ref":"chris","sha":"44e58b9537736b3ededcbb349da06a07f8f3291a","user":{"login":"upper-hand","id":4163393,"avatar_url":"https://avatars3.githubusercontent.com/u/4163393?v=4","gravatar_id":"","url":"https://api.github.com/users/upper-hand","html_url":"https://github.com/upper-hand","followers_url":"https://api.github.com/users/upper-hand/followers","following_url":"https://api.github.com/users/upper-hand/following{/other_user}","gists_url":"https://api.github.com/users/upper-hand/gists{/gist_id}","starred_url":"https://api.github.com/users/upper-hand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper-hand/subscriptions","organizations_url":"https://api.github.com/users/upper-hand/orgs","repos_url":"https://api.github.com/users/upper-hand/repos","events_url":"https://api.github.com/users/upper-hand/events{/privacy}","received_events_url":"https://api.github.com/users/upper-hand/received_events","type":"Organization","site_admin":false},"repo":{"id":116973532,"name":"developer-candidate-interview","full_name":"upper-hand/developer-candidate-interview","owner":{"login":"upper-hand","id":4163393,"avatar_url":"https://avatars3.githubusercontent.com/u/4163393?v=4","gravatar_id":"","url":"https://api.github.com/users/upper-hand","html_url":"https://github.com/upper-hand","followers_url":"https://api.github.com/users/upper-hand/followers","following_url":"https://api.github.com/users/upper-hand/following{/other_user}","gists_url":"https://api.github.com/users/upper-hand/gists{/gist_id}","starred_url":"https://api.github.com/users/upper-hand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper-hand/subscriptions","organizations_url":"https://api.github.com/users/upper-hand/orgs","repos_url":"https://api.github.com/users/upper-hand/repos","events_url":"https://api.github.com/users/upper-hand/events{/privacy}","received_events_url":"https://api.github.com/users/upper-hand/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/upper-hand/developer-candidate-interview","description":null,"fork":false,"url":"https://api.github.com/repos/upper-hand/developer-candidate-interview","forks_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/forks","keys_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/teams","hooks_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/hooks","issue_events_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues/events{/number}","events_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/events","assignees_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/assignees{/user}","branches_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/branches{/branch}","tags_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/tags","blobs_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/refs{/sha}","trees_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/statuses/{sha}","languages_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/languages","stargazers_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/stargazers","contributors_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/contributors","subscribers_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/subscribers","subscription_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/subscription","commits_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/commits{/sha}","git_commits_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/commits{/sha}","comments_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/comments{/number}","issue_comment_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues/comments{/number}","contents_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/contents/{+path}","compare_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/merges","archive_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/downloads","issues_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues{/number}","pulls_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls{/number}","milestones_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/milestones{/number}","notifications_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/labels{/name}","releases_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/releases{/id}","deployments_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/deployments","created_at":"2018-01-10T15:13:24Z","updated_at":"2018-01-10T15:18:06Z","pushed_at":"2018-02-01T15:33:44Z","git_url":"git://github.com/upper-hand/developer-candidate-interview.git","ssh_url":"git@github.com:upper-hand/developer-candidate-interview.git","clone_url":"https://github.com/upper-hand/developer-candidate-interview.git","svn_url":"https://github.com/upper-hand/developer-candidate-interview","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"upper-hand:master","ref":"master","sha":"d5871973ddfe248b895aae32eaa1114002a55d81","user":{"login":"upper-hand","id":4163393,"avatar_url":"https://avatars3.githubusercontent.com/u/4163393?v=4","gravatar_id":"","url":"https://api.github.com/users/upper-hand","html_url":"https://github.com/upper-hand","followers_url":"https://api.github.com/users/upper-hand/followers","following_url":"https://api.github.com/users/upper-hand/following{/other_user}","gists_url":"https://api.github.com/users/upper-hand/gists{/gist_id}","starred_url":"https://api.github.com/users/upper-hand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper-hand/subscriptions","organizations_url":"https://api.github.com/users/upper-hand/orgs","repos_url":"https://api.github.com/users/upper-hand/repos","events_url":"https://api.github.com/users/upper-hand/events{/privacy}","received_events_url":"https://api.github.com/users/upper-hand/received_events","type":"Organization","site_admin":false},"repo":{"id":116973532,"name":"developer-candidate-interview","full_name":"upper-hand/developer-candidate-interview","owner":{"login":"upper-hand","id":4163393,"avatar_url":"https://avatars3.githubusercontent.com/u/4163393?v=4","gravatar_id":"","url":"https://api.github.com/users/upper-hand","html_url":"https://github.com/upper-hand","followers_url":"https://api.github.com/users/upper-hand/followers","following_url":"https://api.github.com/users/upper-hand/following{/other_user}","gists_url":"https://api.github.com/users/upper-hand/gists{/gist_id}","starred_url":"https://api.github.com/users/upper-hand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper-hand/subscriptions","organizations_url":"https://api.github.com/users/upper-hand/orgs","repos_url":"https://api.github.com/users/upper-hand/repos","events_url":"https://api.github.com/users/upper-hand/events{/privacy}","received_events_url":"https://api.github.com/users/upper-hand/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/upper-hand/developer-candidate-interview","description":null,"fork":false,"url":"https://api.github.com/repos/upper-hand/developer-candidate-interview","forks_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/forks","keys_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/teams","hooks_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/hooks","issue_events_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues/events{/number}","events_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/events","assignees_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/assignees{/user}","branches_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/branches{/branch}","tags_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/tags","blobs_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/refs{/sha}","trees_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/statuses/{sha}","languages_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/languages","stargazers_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/stargazers","contributors_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/contributors","subscribers_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/subscribers","subscription_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/subscription","commits_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/commits{/sha}","git_commits_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/git/commits{/sha}","comments_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/comments{/number}","issue_comment_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues/comments{/number}","contents_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/contents/{+path}","compare_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/merges","archive_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/downloads","issues_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues{/number}","pulls_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls{/number}","milestones_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/milestones{/number}","notifications_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/labels{/name}","releases_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/releases{/id}","deployments_url":"https://api.github.com/repos/upper-hand/developer-candidate-interview/deployments","created_at":"2018-01-10T15:13:24Z","updated_at":"2018-01-10T15:18:06Z","pushed_at":"2018-02-01T15:33:44Z","git_url":"git://github.com/upper-hand/developer-candidate-interview.git","ssh_url":"git@github.com:upper-hand/developer-candidate-interview.git","clone_url":"https://github.com/upper-hand/developer-candidate-interview.git","svn_url":"https://github.com/upper-hand/developer-candidate-interview","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls/1"},"html":{"href":"https://github.com/upper-hand/developer-candidate-interview/pull/1"},"issue":{"href":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues/1"},"comments":{"href":"https://api.github.com/repos/upper-hand/developer-candidate-interview/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/upper-hand/developer-candidate-interview/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/upper-hand/developer-candidate-interview/statuses/44e58b9537736b3ededcbb349da06a07f8f3291a"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":30,"deletions":10,"changed_files":2}}
{"actor":{"display_login":"christophersansone"}}