{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/214650350","pull_request_review_id":151750883,"id":214650350,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDY1MDM1MA==","diff_hunk":"@@ -0,0 +1,43 @@\n+require_relative 'database_connection'\n+require 'bcrypt'\n+\n+class User\n+\n+  include BCrypt\n+\n+  attr_reader :username, :name, :email, :id, :password\n+\n+  def self.create(username, name, email, password)\n+    password_hash = Password.create(password)\n+    rs = DatabaseConnection.query(\"INSERT INTO users (username, name, email, password) VALUES ('#{username}', '#{name}', '#{email}', '#{password_hash}') RETURNING id, username, name, email, password;\")","path":"lib/user.rb","position":12,"original_position":12,"commit_id":"4f6abd07586b4201b669838a639e513ead2e32ea","original_commit_id":"4f6abd07586b4201b669838a639e513ead2e32ea","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Metrics/LineLength: Line is too long. [201/80]","created_at":"2018-09-03T10:59:21Z","updated_at":"2018-09-03T10:59:21Z","html_url":"https://github.com/makersacademy/chitter-challenge/pull/969#discussion_r214650350","pull_request_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/969","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/214650350"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/969#discussion_r214650350"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/969"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/969","id":212656036,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNjU2MDM2","html_url":"https://github.com/makersacademy/chitter-challenge/pull/969","diff_url":"https://github.com/makersacademy/chitter-challenge/pull/969.diff","patch_url":"https://github.com/makersacademy/chitter-challenge/pull/969.patch","issue_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/969","number":969,"state":"open","locked":false,"title":"Weekend challenge","user":{"login":"andrewwood2","id":31482029,"node_id":"MDQ6VXNlcjMxNDgyMDI5","avatar_url":"https://avatars1.githubusercontent.com/u/31482029?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewwood2","html_url":"https://github.com/andrewwood2","followers_url":"https://api.github.com/users/andrewwood2/followers","following_url":"https://api.github.com/users/andrewwood2/following{/other_user}","gists_url":"https://api.github.com/users/andrewwood2/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewwood2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewwood2/subscriptions","organizations_url":"https://api.github.com/users/andrewwood2/orgs","repos_url":"https://api.github.com/users/andrewwood2/repos","events_url":"https://api.github.com/users/andrewwood2/events{/privacy}","received_events_url":"https://api.github.com/users/andrewwood2/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-03T06:56:07Z","updated_at":"2018-09-03T10:59:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f2a50a476b4c9203bb79aaad269b897e6bcd3e3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/969/commits","review_comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/969/comments","review_comment_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/969/comments","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/4f6abd07586b4201b669838a639e513ead2e32ea","head":{"label":"andrewwood2:master","ref":"master","sha":"4f6abd07586b4201b669838a639e513ead2e32ea","user":{"login":"andrewwood2","id":31482029,"node_id":"MDQ6VXNlcjMxNDgyMDI5","avatar_url":"https://avatars1.githubusercontent.com/u/31482029?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewwood2","html_url":"https://github.com/andrewwood2","followers_url":"https://api.github.com/users/andrewwood2/followers","following_url":"https://api.github.com/users/andrewwood2/following{/other_user}","gists_url":"https://api.github.com/users/andrewwood2/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewwood2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewwood2/subscriptions","organizations_url":"https://api.github.com/users/andrewwood2/orgs","repos_url":"https://api.github.com/users/andrewwood2/repos","events_url":"https://api.github.com/users/andrewwood2/events{/privacy}","received_events_url":"https://api.github.com/users/andrewwood2/received_events","type":"User","site_admin":false},"repo":{"id":147074577,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcwNzQ1Nzc=","name":"chitter-challenge","full_name":"andrewwood2/chitter-challenge","owner":{"login":"andrewwood2","id":31482029,"node_id":"MDQ6VXNlcjMxNDgyMDI5","avatar_url":"https://avatars1.githubusercontent.com/u/31482029?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewwood2","html_url":"https://github.com/andrewwood2","followers_url":"https://api.github.com/users/andrewwood2/followers","following_url":"https://api.github.com/users/andrewwood2/following{/other_user}","gists_url":"https://api.github.com/users/andrewwood2/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewwood2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewwood2/subscriptions","organizations_url":"https://api.github.com/users/andrewwood2/orgs","repos_url":"https://api.github.com/users/andrewwood2/repos","events_url":"https://api.github.com/users/andrewwood2/events{/privacy}","received_events_url":"https://api.github.com/users/andrewwood2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrewwood2/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/andrewwood2/chitter-challenge","forks_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/forks","keys_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/events","assignees_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/merges","archive_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/andrewwood2/chitter-challenge/deployments","created_at":"2018-09-02T10:13:36Z","updated_at":"2018-09-03T10:59:04Z","pushed_at":"2018-09-03T10:59:02Z","git_url":"git://github.com/andrewwood2/chitter-challenge.git","ssh_url":"git@github.com:andrewwood2/chitter-challenge.git","clone_url":"https://github.com/andrewwood2/chitter-challenge.git","svn_url":"https://github.com/andrewwood2/chitter-challenge","homepage":null,"size":407,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"4170113959ca59863a86b22504c02d0d81dd622a","user":{"login":"makersacademy","id":3636186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzYxODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3636186?v=4","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":26954706,"node_id":"MDEwOlJlcG9zaXRvcnkyNjk1NDcwNg==","name":"chitter-challenge","full_name":"makersacademy/chitter-challenge","owner":{"login":"makersacademy","id":3636186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzYxODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3636186?v=4","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/chitter-challenge","description":"Build a Twitter Clone!","fork":false,"url":"https://api.github.com/repos/makersacademy/chitter-challenge","forks_url":"https://api.github.com/repos/makersacademy/chitter-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/chitter-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/chitter-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/chitter-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/deployments","created_at":"2014-11-21T09:53:31Z","updated_at":"2018-05-21T09:38:01Z","pushed_at":"2018-09-03T10:59:03Z","git_url":"git://github.com/makersacademy/chitter-challenge.git","ssh_url":"git@github.com:makersacademy/chitter-challenge.git","clone_url":"https://github.com/makersacademy/chitter-challenge.git","svn_url":"https://github.com/makersacademy/chitter-challenge","homepage":null,"size":394,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":954,"mirror_url":null,"archived":false,"open_issues_count":114,"license":null,"forks":954,"open_issues":114,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/969"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/969"},"issue":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/969"},"comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/969/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/969/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/969/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/4f6abd07586b4201b669838a639e513ead2e32ea"}},"author_association":"NONE"}}
{"actor":{"display_login":"houndci-bot"}}