{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/enygma/gauth/pulls/3","id":27642526,"html_url":"https://github.com/enygma/gauth/pull/3","diff_url":"https://github.com/enygma/gauth/pull/3.diff","patch_url":"https://github.com/enygma/gauth/pull/3.patch","issue_url":"https://api.github.com/repos/enygma/gauth/issues/3","number":3,"state":"open","locked":false,"title":"Some unit tests covering the main API","user":{"login":"mattparker","id":112342,"avatar_url":"https://avatars.githubusercontent.com/u/112342?v=3","gravatar_id":"","url":"https://api.github.com/users/mattparker","html_url":"https://github.com/mattparker","followers_url":"https://api.github.com/users/mattparker/followers","following_url":"https://api.github.com/users/mattparker/following{/other_user}","gists_url":"https://api.github.com/users/mattparker/gists{/gist_id}","starred_url":"https://api.github.com/users/mattparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattparker/subscriptions","organizations_url":"https://api.github.com/users/mattparker/orgs","repos_url":"https://api.github.com/users/mattparker/repos","events_url":"https://api.github.com/users/mattparker/events{/privacy}","received_events_url":"https://api.github.com/users/mattparker/received_events","type":"User","site_admin":false},"body":"An initial set of unit tests that cover:\r\n\r\n- the main getters and setters and validation\r\n- code generation\r\n- code validation\r\n\r\nThere's also a small bugfix for issue #2, discovered while writing the tests.\r\n\r\n(This is in response to your email newsletter this week, btw!)","created_at":"2015-01-19T23:11:50Z","updated_at":"2015-01-19T23:11:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enygma/gauth/pulls/3/commits","review_comments_url":"https://api.github.com/repos/enygma/gauth/pulls/3/comments","review_comment_url":"https://api.github.com/repos/enygma/gauth/pulls/comments/{number}","comments_url":"https://api.github.com/repos/enygma/gauth/issues/3/comments","statuses_url":"https://api.github.com/repos/enygma/gauth/statuses/ce25098bbc866ad20151f8f408a486250ed6c124","head":{"label":"mattparker:unittests","ref":"unittests","sha":"ce25098bbc866ad20151f8f408a486250ed6c124","user":{"login":"mattparker","id":112342,"avatar_url":"https://avatars.githubusercontent.com/u/112342?v=3","gravatar_id":"","url":"https://api.github.com/users/mattparker","html_url":"https://github.com/mattparker","followers_url":"https://api.github.com/users/mattparker/followers","following_url":"https://api.github.com/users/mattparker/following{/other_user}","gists_url":"https://api.github.com/users/mattparker/gists{/gist_id}","starred_url":"https://api.github.com/users/mattparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattparker/subscriptions","organizations_url":"https://api.github.com/users/mattparker/orgs","repos_url":"https://api.github.com/users/mattparker/repos","events_url":"https://api.github.com/users/mattparker/events{/privacy}","received_events_url":"https://api.github.com/users/mattparker/received_events","type":"User","site_admin":false},"repo":{"id":29498722,"name":"gauth","full_name":"mattparker/gauth","owner":{"login":"mattparker","id":112342,"avatar_url":"https://avatars.githubusercontent.com/u/112342?v=3","gravatar_id":"","url":"https://api.github.com/users/mattparker","html_url":"https://github.com/mattparker","followers_url":"https://api.github.com/users/mattparker/followers","following_url":"https://api.github.com/users/mattparker/following{/other_user}","gists_url":"https://api.github.com/users/mattparker/gists{/gist_id}","starred_url":"https://api.github.com/users/mattparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattparker/subscriptions","organizations_url":"https://api.github.com/users/mattparker/orgs","repos_url":"https://api.github.com/users/mattparker/repos","events_url":"https://api.github.com/users/mattparker/events{/privacy}","received_events_url":"https://api.github.com/users/mattparker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattparker/gauth","description":"Google Authenticator Code Validation and Generation","fork":true,"url":"https://api.github.com/repos/mattparker/gauth","forks_url":"https://api.github.com/repos/mattparker/gauth/forks","keys_url":"https://api.github.com/repos/mattparker/gauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattparker/gauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattparker/gauth/teams","hooks_url":"https://api.github.com/repos/mattparker/gauth/hooks","issue_events_url":"https://api.github.com/repos/mattparker/gauth/issues/events{/number}","events_url":"https://api.github.com/repos/mattparker/gauth/events","assignees_url":"https://api.github.com/repos/mattparker/gauth/assignees{/user}","branches_url":"https://api.github.com/repos/mattparker/gauth/branches{/branch}","tags_url":"https://api.github.com/repos/mattparker/gauth/tags","blobs_url":"https://api.github.com/repos/mattparker/gauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattparker/gauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattparker/gauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattparker/gauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattparker/gauth/statuses/{sha}","languages_url":"https://api.github.com/repos/mattparker/gauth/languages","stargazers_url":"https://api.github.com/repos/mattparker/gauth/stargazers","contributors_url":"https://api.github.com/repos/mattparker/gauth/contributors","subscribers_url":"https://api.github.com/repos/mattparker/gauth/subscribers","subscription_url":"https://api.github.com/repos/mattparker/gauth/subscription","commits_url":"https://api.github.com/repos/mattparker/gauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattparker/gauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattparker/gauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattparker/gauth/issues/comments/{number}","contents_url":"https://api.github.com/repos/mattparker/gauth/contents/{+path}","compare_url":"https://api.github.com/repos/mattparker/gauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattparker/gauth/merges","archive_url":"https://api.github.com/repos/mattparker/gauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattparker/gauth/downloads","issues_url":"https://api.github.com/repos/mattparker/gauth/issues{/number}","pulls_url":"https://api.github.com/repos/mattparker/gauth/pulls{/number}","milestones_url":"https://api.github.com/repos/mattparker/gauth/milestones{/number}","notifications_url":"https://api.github.com/repos/mattparker/gauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattparker/gauth/labels{/name}","releases_url":"https://api.github.com/repos/mattparker/gauth/releases{/id}","created_at":"2015-01-19T21:57:46Z","updated_at":"2015-01-19T21:57:47Z","pushed_at":"2015-01-19T23:06:41Z","git_url":"git://github.com/mattparker/gauth.git","ssh_url":"git@github.com:mattparker/gauth.git","clone_url":"https://github.com/mattparker/gauth.git","svn_url":"https://github.com/mattparker/gauth","homepage":null,"size":88,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"enygma:master","ref":"master","sha":"22f4c80f1da90b0db864504bc76269665a4c7411","user":{"login":"enygma","id":66796,"avatar_url":"https://avatars.githubusercontent.com/u/66796?v=3","gravatar_id":"","url":"https://api.github.com/users/enygma","html_url":"https://github.com/enygma","followers_url":"https://api.github.com/users/enygma/followers","following_url":"https://api.github.com/users/enygma/following{/other_user}","gists_url":"https://api.github.com/users/enygma/gists{/gist_id}","starred_url":"https://api.github.com/users/enygma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enygma/subscriptions","organizations_url":"https://api.github.com/users/enygma/orgs","repos_url":"https://api.github.com/users/enygma/repos","events_url":"https://api.github.com/users/enygma/events{/privacy}","received_events_url":"https://api.github.com/users/enygma/received_events","type":"User","site_admin":false},"repo":{"id":7489755,"name":"gauth","full_name":"enygma/gauth","owner":{"login":"enygma","id":66796,"avatar_url":"https://avatars.githubusercontent.com/u/66796?v=3","gravatar_id":"","url":"https://api.github.com/users/enygma","html_url":"https://github.com/enygma","followers_url":"https://api.github.com/users/enygma/followers","following_url":"https://api.github.com/users/enygma/following{/other_user}","gists_url":"https://api.github.com/users/enygma/gists{/gist_id}","starred_url":"https://api.github.com/users/enygma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enygma/subscriptions","organizations_url":"https://api.github.com/users/enygma/orgs","repos_url":"https://api.github.com/users/enygma/repos","events_url":"https://api.github.com/users/enygma/events{/privacy}","received_events_url":"https://api.github.com/users/enygma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enygma/gauth","description":"Google Authenticator Code Validation and Generation","fork":false,"url":"https://api.github.com/repos/enygma/gauth","forks_url":"https://api.github.com/repos/enygma/gauth/forks","keys_url":"https://api.github.com/repos/enygma/gauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enygma/gauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enygma/gauth/teams","hooks_url":"https://api.github.com/repos/enygma/gauth/hooks","issue_events_url":"https://api.github.com/repos/enygma/gauth/issues/events{/number}","events_url":"https://api.github.com/repos/enygma/gauth/events","assignees_url":"https://api.github.com/repos/enygma/gauth/assignees{/user}","branches_url":"https://api.github.com/repos/enygma/gauth/branches{/branch}","tags_url":"https://api.github.com/repos/enygma/gauth/tags","blobs_url":"https://api.github.com/repos/enygma/gauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enygma/gauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enygma/gauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/enygma/gauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enygma/gauth/statuses/{sha}","languages_url":"https://api.github.com/repos/enygma/gauth/languages","stargazers_url":"https://api.github.com/repos/enygma/gauth/stargazers","contributors_url":"https://api.github.com/repos/enygma/gauth/contributors","subscribers_url":"https://api.github.com/repos/enygma/gauth/subscribers","subscription_url":"https://api.github.com/repos/enygma/gauth/subscription","commits_url":"https://api.github.com/repos/enygma/gauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/enygma/gauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/enygma/gauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/enygma/gauth/issues/comments/{number}","contents_url":"https://api.github.com/repos/enygma/gauth/contents/{+path}","compare_url":"https://api.github.com/repos/enygma/gauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enygma/gauth/merges","archive_url":"https://api.github.com/repos/enygma/gauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enygma/gauth/downloads","issues_url":"https://api.github.com/repos/enygma/gauth/issues{/number}","pulls_url":"https://api.github.com/repos/enygma/gauth/pulls{/number}","milestones_url":"https://api.github.com/repos/enygma/gauth/milestones{/number}","notifications_url":"https://api.github.com/repos/enygma/gauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enygma/gauth/labels{/name}","releases_url":"https://api.github.com/repos/enygma/gauth/releases{/id}","created_at":"2013-01-07T20:58:20Z","updated_at":"2015-01-05T22:02:30Z","pushed_at":"2013-07-22T16:11:13Z","git_url":"git://github.com/enygma/gauth.git","ssh_url":"git@github.com:enygma/gauth.git","clone_url":"https://github.com/enygma/gauth.git","svn_url":"https://github.com/enygma/gauth","homepage":null,"size":65,"stargazers_count":39,"watchers_count":39,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enygma/gauth/pulls/3"},"html":{"href":"https://github.com/enygma/gauth/pull/3"},"issue":{"href":"https://api.github.com/repos/enygma/gauth/issues/3"},"comments":{"href":"https://api.github.com/repos/enygma/gauth/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/enygma/gauth/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/enygma/gauth/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/enygma/gauth/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/enygma/gauth/statuses/ce25098bbc866ad20151f8f408a486250ed6c124"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":210,"deletions":1,"changed_files":4}}