{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/andela-hmasila/buclist/pulls/8","id":91356758,"html_url":"https://github.com/andela-hmasila/buclist/pull/8","diff_url":"https://github.com/andela-hmasila/buclist/pull/8.diff","patch_url":"https://github.com/andela-hmasila/buclist/pull/8.patch","issue_url":"https://api.github.com/repos/andela-hmasila/buclist/issues/8","number":8,"state":"closed","locked":false,"title":"[132965059] add validations for user model","user":{"login":"andela-hmasila","id":20906768,"avatar_url":"https://avatars.githubusercontent.com/u/20906768?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-hmasila","html_url":"https://github.com/andela-hmasila","followers_url":"https://api.github.com/users/andela-hmasila/followers","following_url":"https://api.github.com/users/andela-hmasila/following{/other_user}","gists_url":"https://api.github.com/users/andela-hmasila/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-hmasila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-hmasila/subscriptions","organizations_url":"https://api.github.com/users/andela-hmasila/orgs","repos_url":"https://api.github.com/users/andela-hmasila/repos","events_url":"https://api.github.com/users/andela-hmasila/events{/privacy}","received_events_url":"https://api.github.com/users/andela-hmasila/received_events","type":"User","site_admin":false},"body":"## what does this PR do?\r\n- adds validations for user model\r\n- adds associations to user model\r\n\r\n\r\ncloses `132965059`","created_at":"2016-10-28T10:19:04Z","updated_at":"2016-10-28T10:19:12Z","closed_at":"2016-10-28T10:19:12Z","merged_at":"2016-10-28T10:19:12Z","merge_commit_sha":"8cf0c3c2dd65603631db92fbbfc53e22b938af06","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-hmasila/buclist/pulls/8/commits","review_comments_url":"https://api.github.com/repos/andela-hmasila/buclist/pulls/8/comments","review_comment_url":"https://api.github.com/repos/andela-hmasila/buclist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-hmasila/buclist/issues/8/comments","statuses_url":"https://api.github.com/repos/andela-hmasila/buclist/statuses/e770ed8549af308f66ed0022ff89e48a57f6d800","head":{"label":"andela-hmasila:ft-create-user-model-132965059","ref":"ft-create-user-model-132965059","sha":"e770ed8549af308f66ed0022ff89e48a57f6d800","user":{"login":"andela-hmasila","id":20906768,"avatar_url":"https://avatars.githubusercontent.com/u/20906768?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-hmasila","html_url":"https://github.com/andela-hmasila","followers_url":"https://api.github.com/users/andela-hmasila/followers","following_url":"https://api.github.com/users/andela-hmasila/following{/other_user}","gists_url":"https://api.github.com/users/andela-hmasila/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-hmasila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-hmasila/subscriptions","organizations_url":"https://api.github.com/users/andela-hmasila/orgs","repos_url":"https://api.github.com/users/andela-hmasila/repos","events_url":"https://api.github.com/users/andela-hmasila/events{/privacy}","received_events_url":"https://api.github.com/users/andela-hmasila/received_events","type":"User","site_admin":false},"repo":{"id":71655671,"name":"buclist","full_name":"andela-hmasila/buclist","owner":{"login":"andela-hmasila","id":20906768,"avatar_url":"https://avatars.githubusercontent.com/u/20906768?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-hmasila","html_url":"https://github.com/andela-hmasila","followers_url":"https://api.github.com/users/andela-hmasila/followers","following_url":"https://api.github.com/users/andela-hmasila/following{/other_user}","gists_url":"https://api.github.com/users/andela-hmasila/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-hmasila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-hmasila/subscriptions","organizations_url":"https://api.github.com/users/andela-hmasila/orgs","repos_url":"https://api.github.com/users/andela-hmasila/repos","events_url":"https://api.github.com/users/andela-hmasila/events{/privacy}","received_events_url":"https://api.github.com/users/andela-hmasila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-hmasila/buclist","description":"A bucket list API in ruby","fork":false,"url":"https://api.github.com/repos/andela-hmasila/buclist","forks_url":"https://api.github.com/repos/andela-hmasila/buclist/forks","keys_url":"https://api.github.com/repos/andela-hmasila/buclist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-hmasila/buclist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-hmasila/buclist/teams","hooks_url":"https://api.github.com/repos/andela-hmasila/buclist/hooks","issue_events_url":"https://api.github.com/repos/andela-hmasila/buclist/issues/events{/number}","events_url":"https://api.github.com/repos/andela-hmasila/buclist/events","assignees_url":"https://api.github.com/repos/andela-hmasila/buclist/assignees{/user}","branches_url":"https://api.github.com/repos/andela-hmasila/buclist/branches{/branch}","tags_url":"https://api.github.com/repos/andela-hmasila/buclist/tags","blobs_url":"https://api.github.com/repos/andela-hmasila/buclist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-hmasila/buclist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-hmasila/buclist/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-hmasila/buclist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-hmasila/buclist/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-hmasila/buclist/languages","stargazers_url":"https://api.github.com/repos/andela-hmasila/buclist/stargazers","contributors_url":"https://api.github.com/repos/andela-hmasila/buclist/contributors","subscribers_url":"https://api.github.com/repos/andela-hmasila/buclist/subscribers","subscription_url":"https://api.github.com/repos/andela-hmasila/buclist/subscription","commits_url":"https://api.github.com/repos/andela-hmasila/buclist/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-hmasila/buclist/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-hmasila/buclist/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-hmasila/buclist/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-hmasila/buclist/contents/{+path}","compare_url":"https://api.github.com/repos/andela-hmasila/buclist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-hmasila/buclist/merges","archive_url":"https://api.github.com/repos/andela-hmasila/buclist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-hmasila/buclist/downloads","issues_url":"https://api.github.com/repos/andela-hmasila/buclist/issues{/number}","pulls_url":"https://api.github.com/repos/andela-hmasila/buclist/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-hmasila/buclist/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-hmasila/buclist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-hmasila/buclist/labels{/name}","releases_url":"https://api.github.com/repos/andela-hmasila/buclist/releases{/id}","deployments_url":"https://api.github.com/repos/andela-hmasila/buclist/deployments","created_at":"2016-10-22T17:46:43Z","updated_at":"2016-10-22T17:47:39Z","pushed_at":"2016-10-28T10:19:12Z","git_url":"git://github.com/andela-hmasila/buclist.git","ssh_url":"git@github.com:andela-hmasila/buclist.git","clone_url":"https://github.com/andela-hmasila/buclist.git","svn_url":"https://github.com/andela-hmasila/buclist","homepage":null,"size":35,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"develop"}},"base":{"label":"andela-hmasila:develop","ref":"develop","sha":"3cb4dad26f2159702982eb1ec68b6691b77759a7","user":{"login":"andela-hmasila","id":20906768,"avatar_url":"https://avatars.githubusercontent.com/u/20906768?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-hmasila","html_url":"https://github.com/andela-hmasila","followers_url":"https://api.github.com/users/andela-hmasila/followers","following_url":"https://api.github.com/users/andela-hmasila/following{/other_user}","gists_url":"https://api.github.com/users/andela-hmasila/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-hmasila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-hmasila/subscriptions","organizations_url":"https://api.github.com/users/andela-hmasila/orgs","repos_url":"https://api.github.com/users/andela-hmasila/repos","events_url":"https://api.github.com/users/andela-hmasila/events{/privacy}","received_events_url":"https://api.github.com/users/andela-hmasila/received_events","type":"User","site_admin":false},"repo":{"id":71655671,"name":"buclist","full_name":"andela-hmasila/buclist","owner":{"login":"andela-hmasila","id":20906768,"avatar_url":"https://avatars.githubusercontent.com/u/20906768?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-hmasila","html_url":"https://github.com/andela-hmasila","followers_url":"https://api.github.com/users/andela-hmasila/followers","following_url":"https://api.github.com/users/andela-hmasila/following{/other_user}","gists_url":"https://api.github.com/users/andela-hmasila/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-hmasila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-hmasila/subscriptions","organizations_url":"https://api.github.com/users/andela-hmasila/orgs","repos_url":"https://api.github.com/users/andela-hmasila/repos","events_url":"https://api.github.com/users/andela-hmasila/events{/privacy}","received_events_url":"https://api.github.com/users/andela-hmasila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-hmasila/buclist","description":"A bucket list API in ruby","fork":false,"url":"https://api.github.com/repos/andela-hmasila/buclist","forks_url":"https://api.github.com/repos/andela-hmasila/buclist/forks","keys_url":"https://api.github.com/repos/andela-hmasila/buclist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-hmasila/buclist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-hmasila/buclist/teams","hooks_url":"https://api.github.com/repos/andela-hmasila/buclist/hooks","issue_events_url":"https://api.github.com/repos/andela-hmasila/buclist/issues/events{/number}","events_url":"https://api.github.com/repos/andela-hmasila/buclist/events","assignees_url":"https://api.github.com/repos/andela-hmasila/buclist/assignees{/user}","branches_url":"https://api.github.com/repos/andela-hmasila/buclist/branches{/branch}","tags_url":"https://api.github.com/repos/andela-hmasila/buclist/tags","blobs_url":"https://api.github.com/repos/andela-hmasila/buclist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-hmasila/buclist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-hmasila/buclist/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-hmasila/buclist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-hmasila/buclist/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-hmasila/buclist/languages","stargazers_url":"https://api.github.com/repos/andela-hmasila/buclist/stargazers","contributors_url":"https://api.github.com/repos/andela-hmasila/buclist/contributors","subscribers_url":"https://api.github.com/repos/andela-hmasila/buclist/subscribers","subscription_url":"https://api.github.com/repos/andela-hmasila/buclist/subscription","commits_url":"https://api.github.com/repos/andela-hmasila/buclist/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-hmasila/buclist/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-hmasila/buclist/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-hmasila/buclist/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-hmasila/buclist/contents/{+path}","compare_url":"https://api.github.com/repos/andela-hmasila/buclist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-hmasila/buclist/merges","archive_url":"https://api.github.com/repos/andela-hmasila/buclist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-hmasila/buclist/downloads","issues_url":"https://api.github.com/repos/andela-hmasila/buclist/issues{/number}","pulls_url":"https://api.github.com/repos/andela-hmasila/buclist/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-hmasila/buclist/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-hmasila/buclist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-hmasila/buclist/labels{/name}","releases_url":"https://api.github.com/repos/andela-hmasila/buclist/releases{/id}","deployments_url":"https://api.github.com/repos/andela-hmasila/buclist/deployments","created_at":"2016-10-22T17:46:43Z","updated_at":"2016-10-22T17:47:39Z","pushed_at":"2016-10-28T10:19:12Z","git_url":"git://github.com/andela-hmasila/buclist.git","ssh_url":"git@github.com:andela-hmasila/buclist.git","clone_url":"https://github.com/andela-hmasila/buclist.git","svn_url":"https://github.com/andela-hmasila/buclist","homepage":null,"size":35,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-hmasila/buclist/pulls/8"},"html":{"href":"https://github.com/andela-hmasila/buclist/pull/8"},"issue":{"href":"https://api.github.com/repos/andela-hmasila/buclist/issues/8"},"comments":{"href":"https://api.github.com/repos/andela-hmasila/buclist/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-hmasila/buclist/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-hmasila/buclist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-hmasila/buclist/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/andela-hmasila/buclist/statuses/e770ed8549af308f66ed0022ff89e48a57f6d800"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"andela-hmasila","id":20906768,"avatar_url":"https://avatars.githubusercontent.com/u/20906768?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-hmasila","html_url":"https://github.com/andela-hmasila","followers_url":"https://api.github.com/users/andela-hmasila/followers","following_url":"https://api.github.com/users/andela-hmasila/following{/other_user}","gists_url":"https://api.github.com/users/andela-hmasila/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-hmasila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-hmasila/subscriptions","organizations_url":"https://api.github.com/users/andela-hmasila/orgs","repos_url":"https://api.github.com/users/andela-hmasila/repos","events_url":"https://api.github.com/users/andela-hmasila/events{/privacy}","received_events_url":"https://api.github.com/users/andela-hmasila/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":13,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"andela-hmasila"}}