{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/34617961","id":34617961,"diff_hunk":"@@ -0,0 +1,89 @@\n+require 'sinatra/base'\n+require 'sinatra/flash'\n+require_relative '../datamapper_setup.rb'\n+require_relative './models/user'\n+require_relative './models/peep'\n+\n+class App < Sinatra::Base\n+\n+  set :views, proc { File.join(root, '..', 'views') }\n+  enable :sessions\n+  set :session_secret, 'super secret'\n+  register Sinatra::Flash\n+  use Rack::MethodOverride\n+\n+  get '/' do\n+    erb :index\n+  end\n+\n+  get '/users/new' do\n+    @user = User.new\n+    erb :'users/new'\n+  end\n+\n+  post '/users' do\n+    @user = User.create(email: params[:email], password: params[:password], password_confirmation: params[:password_confirmation], name: params[:name], username: params[:username])","path":"app/chitter.rb","position":25,"original_position":25,"commit_id":"bb7182797b93e5feef897a9ed3302ab77d98a54e","original_commit_id":"bb7182797b93e5feef897a9ed3302ab77d98a54e","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [180/80]","created_at":"2015-07-14T20:52:52Z","updated_at":"2015-07-14T20:52:52Z","html_url":"https://github.com/makersacademy/chitter-challenge/pull/96#discussion_r34617961","pull_request_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/34617961"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/96#discussion_r34617961"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/96","id":39961218,"html_url":"https://github.com/makersacademy/chitter-challenge/pull/96","diff_url":"https://github.com/makersacademy/chitter-challenge/pull/96.diff","patch_url":"https://github.com/makersacademy/chitter-challenge/pull/96.patch","issue_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/96","number":96,"state":"open","locked":false,"title":"Challenge updated - fixed minor issues","user":{"login":"natstar93","id":10135250,"avatar_url":"https://avatars.githubusercontent.com/u/10135250?v=3","gravatar_id":"","url":"https://api.github.com/users/natstar93","html_url":"https://github.com/natstar93","followers_url":"https://api.github.com/users/natstar93/followers","following_url":"https://api.github.com/users/natstar93/following{/other_user}","gists_url":"https://api.github.com/users/natstar93/gists{/gist_id}","starred_url":"https://api.github.com/users/natstar93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natstar93/subscriptions","organizations_url":"https://api.github.com/users/natstar93/orgs","repos_url":"https://api.github.com/users/natstar93/repos","events_url":"https://api.github.com/users/natstar93/events{/privacy}","received_events_url":"https://api.github.com/users/natstar93/received_events","type":"User","site_admin":false},"body":"I have amended my code based on feedback from @silvabox ","created_at":"2015-07-14T20:52:45Z","updated_at":"2015-07-14T20:52:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d2ff6be7cd642db537c97491f3cfe4c5c6e5ded","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/96/commits","review_comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/96/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/96/comments","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/bb7182797b93e5feef897a9ed3302ab77d98a54e","head":{"label":"natstar93:master","ref":"master","sha":"bb7182797b93e5feef897a9ed3302ab77d98a54e","user":{"login":"natstar93","id":10135250,"avatar_url":"https://avatars.githubusercontent.com/u/10135250?v=3","gravatar_id":"","url":"https://api.github.com/users/natstar93","html_url":"https://github.com/natstar93","followers_url":"https://api.github.com/users/natstar93/followers","following_url":"https://api.github.com/users/natstar93/following{/other_user}","gists_url":"https://api.github.com/users/natstar93/gists{/gist_id}","starred_url":"https://api.github.com/users/natstar93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natstar93/subscriptions","organizations_url":"https://api.github.com/users/natstar93/orgs","repos_url":"https://api.github.com/users/natstar93/repos","events_url":"https://api.github.com/users/natstar93/events{/privacy}","received_events_url":"https://api.github.com/users/natstar93/received_events","type":"User","site_admin":false},"repo":{"id":38485824,"name":"chitter-challenge","full_name":"natstar93/chitter-challenge","owner":{"login":"natstar93","id":10135250,"avatar_url":"https://avatars.githubusercontent.com/u/10135250?v=3","gravatar_id":"","url":"https://api.github.com/users/natstar93","html_url":"https://github.com/natstar93","followers_url":"https://api.github.com/users/natstar93/followers","following_url":"https://api.github.com/users/natstar93/following{/other_user}","gists_url":"https://api.github.com/users/natstar93/gists{/gist_id}","starred_url":"https://api.github.com/users/natstar93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natstar93/subscriptions","organizations_url":"https://api.github.com/users/natstar93/orgs","repos_url":"https://api.github.com/users/natstar93/repos","events_url":"https://api.github.com/users/natstar93/events{/privacy}","received_events_url":"https://api.github.com/users/natstar93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/natstar93/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/natstar93/chitter-challenge","forks_url":"https://api.github.com/repos/natstar93/chitter-challenge/forks","keys_url":"https://api.github.com/repos/natstar93/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natstar93/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natstar93/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/natstar93/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/natstar93/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/natstar93/chitter-challenge/events","assignees_url":"https://api.github.com/repos/natstar93/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/natstar93/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/natstar93/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/natstar93/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natstar93/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natstar93/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/natstar93/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natstar93/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/natstar93/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/natstar93/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/natstar93/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/natstar93/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/natstar93/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/natstar93/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/natstar93/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/natstar93/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/natstar93/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/natstar93/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/natstar93/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natstar93/chitter-challenge/merges","archive_url":"https://api.github.com/repos/natstar93/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natstar93/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/natstar93/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/natstar93/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/natstar93/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/natstar93/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natstar93/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/natstar93/chitter-challenge/releases{/id}","created_at":"2015-07-03T09:53:56Z","updated_at":"2015-07-03T09:53:57Z","pushed_at":"2015-07-06T09:38:31Z","git_url":"git://github.com/natstar93/chitter-challenge.git","ssh_url":"git@github.com:natstar93/chitter-challenge.git","clone_url":"https://github.com/natstar93/chitter-challenge.git","svn_url":"https://github.com/natstar93/chitter-challenge","homepage":null,"size":135,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"makersacademy:master","ref":"master","sha":"659601f1961207b23a200a123b2db060582be39e","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","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,"name":"chitter-challenge","full_name":"makersacademy/chitter-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","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}","created_at":"2014-11-21T09:53:31Z","updated_at":"2015-04-10T05:48:20Z","pushed_at":"2015-07-14T20:52:45Z","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":27829,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"open_issues_count":14,"forks":98,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/96"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/96"},"issue":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/96"},"comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/96/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/96/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/bb7182797b93e5feef897a9ed3302ab77d98a54e"}}}}