{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/214541729","pull_request_review_id":151621935,"id":214541729,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDU0MTcyOQ==","diff_hunk":"@@ -0,0 +1,29 @@\n+require 'sinatra/base'\n+require './lib/peep.rb'\n+require \"./lib/select_database.rb\"\n+require \"./lib/user.rb\"\n+\n+class Chitter < Sinatra::Base\n+  enable :sessions\n+\n+  get \"/\" do\n+    @peeps = Peep.all\n+    @user = User.find(session[:user_id])\n+    erb :index\n+  end\n+\n+  post \"/peep/:user_id/new\" do\n+    Peep.add(params[:new_peep], params[:user_id])\n+    redirect \"/\"\n+  end\n+\n+  get \"/users/new\" do \n+    erb :\"users/new\"\n+  end\n+\n+  post \"/users\" do\n+    user = User.create(email: params[\"email\"], username: params[\"username\"], name: params[\"name\"], password: params[\"password\"])","path":"app.rb","position":25,"original_position":25,"commit_id":"daab30d82e0b5b6637d50c903e4639da20590172","original_commit_id":"daab30d82e0b5b6637d50c903e4639da20590172","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. [128/80]","created_at":"2018-09-02T13:54:55Z","updated_at":"2018-09-02T13:54:56Z","html_url":"https://github.com/makersacademy/chitter-challenge/pull/960#discussion_r214541729","pull_request_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/960","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/214541729"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/960#discussion_r214541729"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/960"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/960","id":212593974,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNTkzOTc0","html_url":"https://github.com/makersacademy/chitter-challenge/pull/960","diff_url":"https://github.com/makersacademy/chitter-challenge/pull/960.diff","patch_url":"https://github.com/makersacademy/chitter-challenge/pull/960.patch","issue_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/960","number":960,"state":"open","locked":false,"title":"Esam's Chitter Challenge","user":{"login":"EsamAl-Dabagh","id":21338562,"node_id":"MDQ6VXNlcjIxMzM4NTYy","avatar_url":"https://avatars2.githubusercontent.com/u/21338562?v=4","gravatar_id":"","url":"https://api.github.com/users/EsamAl-Dabagh","html_url":"https://github.com/EsamAl-Dabagh","followers_url":"https://api.github.com/users/EsamAl-Dabagh/followers","following_url":"https://api.github.com/users/EsamAl-Dabagh/following{/other_user}","gists_url":"https://api.github.com/users/EsamAl-Dabagh/gists{/gist_id}","starred_url":"https://api.github.com/users/EsamAl-Dabagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EsamAl-Dabagh/subscriptions","organizations_url":"https://api.github.com/users/EsamAl-Dabagh/orgs","repos_url":"https://api.github.com/users/EsamAl-Dabagh/repos","events_url":"https://api.github.com/users/EsamAl-Dabagh/events{/privacy}","received_events_url":"https://api.github.com/users/EsamAl-Dabagh/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-02T13:54:39Z","updated_at":"2018-09-02T13:54:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b108c12355356d21d01efeefeda513c8176e6ba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/960/commits","review_comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/960/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/960/comments","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/daab30d82e0b5b6637d50c903e4639da20590172","head":{"label":"EsamAl-Dabagh:master","ref":"master","sha":"daab30d82e0b5b6637d50c903e4639da20590172","user":{"login":"EsamAl-Dabagh","id":21338562,"node_id":"MDQ6VXNlcjIxMzM4NTYy","avatar_url":"https://avatars2.githubusercontent.com/u/21338562?v=4","gravatar_id":"","url":"https://api.github.com/users/EsamAl-Dabagh","html_url":"https://github.com/EsamAl-Dabagh","followers_url":"https://api.github.com/users/EsamAl-Dabagh/followers","following_url":"https://api.github.com/users/EsamAl-Dabagh/following{/other_user}","gists_url":"https://api.github.com/users/EsamAl-Dabagh/gists{/gist_id}","starred_url":"https://api.github.com/users/EsamAl-Dabagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EsamAl-Dabagh/subscriptions","organizations_url":"https://api.github.com/users/EsamAl-Dabagh/orgs","repos_url":"https://api.github.com/users/EsamAl-Dabagh/repos","events_url":"https://api.github.com/users/EsamAl-Dabagh/events{/privacy}","received_events_url":"https://api.github.com/users/EsamAl-Dabagh/received_events","type":"User","site_admin":false},"repo":{"id":146977171,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5NzcxNzE=","name":"chitter-challenge","full_name":"EsamAl-Dabagh/chitter-challenge","owner":{"login":"EsamAl-Dabagh","id":21338562,"node_id":"MDQ6VXNlcjIxMzM4NTYy","avatar_url":"https://avatars2.githubusercontent.com/u/21338562?v=4","gravatar_id":"","url":"https://api.github.com/users/EsamAl-Dabagh","html_url":"https://github.com/EsamAl-Dabagh","followers_url":"https://api.github.com/users/EsamAl-Dabagh/followers","following_url":"https://api.github.com/users/EsamAl-Dabagh/following{/other_user}","gists_url":"https://api.github.com/users/EsamAl-Dabagh/gists{/gist_id}","starred_url":"https://api.github.com/users/EsamAl-Dabagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EsamAl-Dabagh/subscriptions","organizations_url":"https://api.github.com/users/EsamAl-Dabagh/orgs","repos_url":"https://api.github.com/users/EsamAl-Dabagh/repos","events_url":"https://api.github.com/users/EsamAl-Dabagh/events{/privacy}","received_events_url":"https://api.github.com/users/EsamAl-Dabagh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EsamAl-Dabagh/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge","forks_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/forks","keys_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/events","assignees_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/merges","archive_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/EsamAl-Dabagh/chitter-challenge/deployments","created_at":"2018-09-01T07:18:01Z","updated_at":"2018-09-02T12:41:46Z","pushed_at":"2018-09-02T12:41:44Z","git_url":"git://github.com/EsamAl-Dabagh/chitter-challenge.git","ssh_url":"git@github.com:EsamAl-Dabagh/chitter-challenge.git","clone_url":"https://github.com/EsamAl-Dabagh/chitter-challenge.git","svn_url":"https://github.com/EsamAl-Dabagh/chitter-challenge","homepage":null,"size":413,"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-02T13:54:40Z","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":102,"license":null,"forks":954,"open_issues":102,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/960"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/960"},"issue":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/960"},"comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/960/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/960/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/960/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/daab30d82e0b5b6637d50c903e4639da20590172"}},"author_association":"NONE"}}
{"actor":{"display_login":"houndci-bot"}}