{"action":"opened","number":60,"pull_request":{"url":"https://api.github.com/repos/charwking/cwking-api/pulls/60","id":87649621,"html_url":"https://github.com/charwking/cwking-api/pull/60","diff_url":"https://github.com/charwking/cwking-api/pull/60.diff","patch_url":"https://github.com/charwking/cwking-api/pull/60.patch","issue_url":"https://api.github.com/repos/charwking/cwking-api/issues/60","number":60,"state":"open","locked":false,"title":"Reduce code duplication in validation checks","user":{"login":"charwking","id":5176154,"avatar_url":"https://avatars.githubusercontent.com/u/5176154?v=3","gravatar_id":"","url":"https://api.github.com/users/charwking","html_url":"https://github.com/charwking","followers_url":"https://api.github.com/users/charwking/followers","following_url":"https://api.github.com/users/charwking/following{/other_user}","gists_url":"https://api.github.com/users/charwking/gists{/gist_id}","starred_url":"https://api.github.com/users/charwking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charwking/subscriptions","organizations_url":"https://api.github.com/users/charwking/orgs","repos_url":"https://api.github.com/users/charwking/repos","events_url":"https://api.github.com/users/charwking/events{/privacy}","received_events_url":"https://api.github.com/users/charwking/received_events","type":"User","site_admin":false},"body":"Reduces the code duplication in our validation tests by using a loop to iterate over the test cases. This should make it pretty easy to add cases as well as additional fields to the User object.","created_at":"2016-10-02T22:47:26Z","updated_at":"2016-10-02T22:47:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/charwking/cwking-api/pulls/60/commits","review_comments_url":"https://api.github.com/repos/charwking/cwking-api/pulls/60/comments","review_comment_url":"https://api.github.com/repos/charwking/cwking-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/charwking/cwking-api/issues/60/comments","statuses_url":"https://api.github.com/repos/charwking/cwking-api/statuses/fac89f2ea4cf4f3f7dc19646c8bf2c6eb9f542d4","head":{"label":"charwking:chip-dry-tests-2","ref":"chip-dry-tests-2","sha":"fac89f2ea4cf4f3f7dc19646c8bf2c6eb9f542d4","user":{"login":"charwking","id":5176154,"avatar_url":"https://avatars.githubusercontent.com/u/5176154?v=3","gravatar_id":"","url":"https://api.github.com/users/charwking","html_url":"https://github.com/charwking","followers_url":"https://api.github.com/users/charwking/followers","following_url":"https://api.github.com/users/charwking/following{/other_user}","gists_url":"https://api.github.com/users/charwking/gists{/gist_id}","starred_url":"https://api.github.com/users/charwking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charwking/subscriptions","organizations_url":"https://api.github.com/users/charwking/orgs","repos_url":"https://api.github.com/users/charwking/repos","events_url":"https://api.github.com/users/charwking/events{/privacy}","received_events_url":"https://api.github.com/users/charwking/received_events","type":"User","site_admin":false},"repo":{"id":62591940,"name":"cwking-api","full_name":"charwking/cwking-api","owner":{"login":"charwking","id":5176154,"avatar_url":"https://avatars.githubusercontent.com/u/5176154?v=3","gravatar_id":"","url":"https://api.github.com/users/charwking","html_url":"https://github.com/charwking","followers_url":"https://api.github.com/users/charwking/followers","following_url":"https://api.github.com/users/charwking/following{/other_user}","gists_url":"https://api.github.com/users/charwking/gists{/gist_id}","starred_url":"https://api.github.com/users/charwking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charwking/subscriptions","organizations_url":"https://api.github.com/users/charwking/orgs","repos_url":"https://api.github.com/users/charwking/repos","events_url":"https://api.github.com/users/charwking/events{/privacy}","received_events_url":"https://api.github.com/users/charwking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charwking/cwking-api","description":"APIs for cwking.com","fork":false,"url":"https://api.github.com/repos/charwking/cwking-api","forks_url":"https://api.github.com/repos/charwking/cwking-api/forks","keys_url":"https://api.github.com/repos/charwking/cwking-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charwking/cwking-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charwking/cwking-api/teams","hooks_url":"https://api.github.com/repos/charwking/cwking-api/hooks","issue_events_url":"https://api.github.com/repos/charwking/cwking-api/issues/events{/number}","events_url":"https://api.github.com/repos/charwking/cwking-api/events","assignees_url":"https://api.github.com/repos/charwking/cwking-api/assignees{/user}","branches_url":"https://api.github.com/repos/charwking/cwking-api/branches{/branch}","tags_url":"https://api.github.com/repos/charwking/cwking-api/tags","blobs_url":"https://api.github.com/repos/charwking/cwking-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charwking/cwking-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charwking/cwking-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/charwking/cwking-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charwking/cwking-api/statuses/{sha}","languages_url":"https://api.github.com/repos/charwking/cwking-api/languages","stargazers_url":"https://api.github.com/repos/charwking/cwking-api/stargazers","contributors_url":"https://api.github.com/repos/charwking/cwking-api/contributors","subscribers_url":"https://api.github.com/repos/charwking/cwking-api/subscribers","subscription_url":"https://api.github.com/repos/charwking/cwking-api/subscription","commits_url":"https://api.github.com/repos/charwking/cwking-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/charwking/cwking-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/charwking/cwking-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/charwking/cwking-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/charwking/cwking-api/contents/{+path}","compare_url":"https://api.github.com/repos/charwking/cwking-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charwking/cwking-api/merges","archive_url":"https://api.github.com/repos/charwking/cwking-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charwking/cwking-api/downloads","issues_url":"https://api.github.com/repos/charwking/cwking-api/issues{/number}","pulls_url":"https://api.github.com/repos/charwking/cwking-api/pulls{/number}","milestones_url":"https://api.github.com/repos/charwking/cwking-api/milestones{/number}","notifications_url":"https://api.github.com/repos/charwking/cwking-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charwking/cwking-api/labels{/name}","releases_url":"https://api.github.com/repos/charwking/cwking-api/releases{/id}","deployments_url":"https://api.github.com/repos/charwking/cwking-api/deployments","created_at":"2016-07-04T23:01:05Z","updated_at":"2016-08-04T00:35:27Z","pushed_at":"2016-10-02T22:47:26Z","git_url":"git://github.com/charwking/cwking-api.git","ssh_url":"git@github.com:charwking/cwking-api.git","clone_url":"https://github.com/charwking/cwking-api.git","svn_url":"https://github.com/charwking/cwking-api","homepage":null,"size":394,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"charwking:master","ref":"master","sha":"62b7625fc610b48f1cb810ed5f55e94965dad024","user":{"login":"charwking","id":5176154,"avatar_url":"https://avatars.githubusercontent.com/u/5176154?v=3","gravatar_id":"","url":"https://api.github.com/users/charwking","html_url":"https://github.com/charwking","followers_url":"https://api.github.com/users/charwking/followers","following_url":"https://api.github.com/users/charwking/following{/other_user}","gists_url":"https://api.github.com/users/charwking/gists{/gist_id}","starred_url":"https://api.github.com/users/charwking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charwking/subscriptions","organizations_url":"https://api.github.com/users/charwking/orgs","repos_url":"https://api.github.com/users/charwking/repos","events_url":"https://api.github.com/users/charwking/events{/privacy}","received_events_url":"https://api.github.com/users/charwking/received_events","type":"User","site_admin":false},"repo":{"id":62591940,"name":"cwking-api","full_name":"charwking/cwking-api","owner":{"login":"charwking","id":5176154,"avatar_url":"https://avatars.githubusercontent.com/u/5176154?v=3","gravatar_id":"","url":"https://api.github.com/users/charwking","html_url":"https://github.com/charwking","followers_url":"https://api.github.com/users/charwking/followers","following_url":"https://api.github.com/users/charwking/following{/other_user}","gists_url":"https://api.github.com/users/charwking/gists{/gist_id}","starred_url":"https://api.github.com/users/charwking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charwking/subscriptions","organizations_url":"https://api.github.com/users/charwking/orgs","repos_url":"https://api.github.com/users/charwking/repos","events_url":"https://api.github.com/users/charwking/events{/privacy}","received_events_url":"https://api.github.com/users/charwking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charwking/cwking-api","description":"APIs for cwking.com","fork":false,"url":"https://api.github.com/repos/charwking/cwking-api","forks_url":"https://api.github.com/repos/charwking/cwking-api/forks","keys_url":"https://api.github.com/repos/charwking/cwking-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charwking/cwking-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charwking/cwking-api/teams","hooks_url":"https://api.github.com/repos/charwking/cwking-api/hooks","issue_events_url":"https://api.github.com/repos/charwking/cwking-api/issues/events{/number}","events_url":"https://api.github.com/repos/charwking/cwking-api/events","assignees_url":"https://api.github.com/repos/charwking/cwking-api/assignees{/user}","branches_url":"https://api.github.com/repos/charwking/cwking-api/branches{/branch}","tags_url":"https://api.github.com/repos/charwking/cwking-api/tags","blobs_url":"https://api.github.com/repos/charwking/cwking-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charwking/cwking-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charwking/cwking-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/charwking/cwking-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charwking/cwking-api/statuses/{sha}","languages_url":"https://api.github.com/repos/charwking/cwking-api/languages","stargazers_url":"https://api.github.com/repos/charwking/cwking-api/stargazers","contributors_url":"https://api.github.com/repos/charwking/cwking-api/contributors","subscribers_url":"https://api.github.com/repos/charwking/cwking-api/subscribers","subscription_url":"https://api.github.com/repos/charwking/cwking-api/subscription","commits_url":"https://api.github.com/repos/charwking/cwking-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/charwking/cwking-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/charwking/cwking-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/charwking/cwking-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/charwking/cwking-api/contents/{+path}","compare_url":"https://api.github.com/repos/charwking/cwking-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charwking/cwking-api/merges","archive_url":"https://api.github.com/repos/charwking/cwking-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charwking/cwking-api/downloads","issues_url":"https://api.github.com/repos/charwking/cwking-api/issues{/number}","pulls_url":"https://api.github.com/repos/charwking/cwking-api/pulls{/number}","milestones_url":"https://api.github.com/repos/charwking/cwking-api/milestones{/number}","notifications_url":"https://api.github.com/repos/charwking/cwking-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charwking/cwking-api/labels{/name}","releases_url":"https://api.github.com/repos/charwking/cwking-api/releases{/id}","deployments_url":"https://api.github.com/repos/charwking/cwking-api/deployments","created_at":"2016-07-04T23:01:05Z","updated_at":"2016-08-04T00:35:27Z","pushed_at":"2016-10-02T22:47:26Z","git_url":"git://github.com/charwking/cwking-api.git","ssh_url":"git@github.com:charwking/cwking-api.git","clone_url":"https://github.com/charwking/cwking-api.git","svn_url":"https://github.com/charwking/cwking-api","homepage":null,"size":394,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/charwking/cwking-api/pulls/60"},"html":{"href":"https://github.com/charwking/cwking-api/pull/60"},"issue":{"href":"https://api.github.com/repos/charwking/cwking-api/issues/60"},"comments":{"href":"https://api.github.com/repos/charwking/cwking-api/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/charwking/cwking-api/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/charwking/cwking-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/charwking/cwking-api/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/charwking/cwking-api/statuses/fac89f2ea4cf4f3f7dc19646c8bf2c6eb9f542d4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":39,"deletions":197,"changed_files":1}}
{"actor":{"display_login":"charwking"}}