{"action":"created","comment":{"url":"https://api.github.com/repos/willxfeng/iSpy/pulls/comments/48791049","id":48791049,"diff_hunk":"@@ -0,0 +1,12 @@\n+class User < ActiveRecord::Base\n+  # Include default devise modules. Others available are:\n+  # :confirmable, :lockable, :timeoutable and :omniauthable\n+  validates :first_name, presence: true\n+  validates :last_name, presence: true\n+  devise  :database_authenticatable,\n+          :registerable,\n+          :recoverable,\n+          :rememberable,\n+          :trackable,\n+          :validatable","path":"app/models/user.rb","position":11,"original_position":11,"commit_id":"ff4b28fecaa83184cca21fad029ae816d4b0ac34","original_commit_id":"ff4b28fecaa83184cca21fad029ae816d4b0ac34","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":"Align the parameters of a method call if they span more than one line.","created_at":"2016-01-04T22:31:13Z","updated_at":"2016-01-04T22:31:13Z","html_url":"https://github.com/willxfeng/iSpy/pull/2#discussion_r48791049","pull_request_url":"https://api.github.com/repos/willxfeng/iSpy/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/willxfeng/iSpy/pulls/comments/48791049"},"html":{"href":"https://github.com/willxfeng/iSpy/pull/2#discussion_r48791049"},"pull_request":{"href":"https://api.github.com/repos/willxfeng/iSpy/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/willxfeng/iSpy/pulls/2","id":55026595,"html_url":"https://github.com/willxfeng/iSpy/pull/2","diff_url":"https://github.com/willxfeng/iSpy/pull/2.diff","patch_url":"https://github.com/willxfeng/iSpy/pull/2.patch","issue_url":"https://api.github.com/repos/willxfeng/iSpy/issues/2","number":2,"state":"open","locked":false,"title":"Add user authentication","user":{"login":"lilybarrett","id":14283667,"avatar_url":"https://avatars.githubusercontent.com/u/14283667?v=3","gravatar_id":"","url":"https://api.github.com/users/lilybarrett","html_url":"https://github.com/lilybarrett","followers_url":"https://api.github.com/users/lilybarrett/followers","following_url":"https://api.github.com/users/lilybarrett/following{/other_user}","gists_url":"https://api.github.com/users/lilybarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/lilybarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilybarrett/subscriptions","organizations_url":"https://api.github.com/users/lilybarrett/orgs","repos_url":"https://api.github.com/users/lilybarrett/repos","events_url":"https://api.github.com/users/lilybarrett/events{/privacy}","received_events_url":"https://api.github.com/users/lilybarrett/received_events","type":"User","site_admin":false},"body":"We wrote user tests for user account creation, sign-in, and sign-out, and implemented the code with Devise.","created_at":"2016-01-04T21:48:23Z","updated_at":"2016-01-04T22:31:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b44384a30111676302ad1d1715b3fe634e1659db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/willxfeng/iSpy/pulls/2/commits","review_comments_url":"https://api.github.com/repos/willxfeng/iSpy/pulls/2/comments","review_comment_url":"https://api.github.com/repos/willxfeng/iSpy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/willxfeng/iSpy/issues/2/comments","statuses_url":"https://api.github.com/repos/willxfeng/iSpy/statuses/ff4b28fecaa83184cca21fad029ae816d4b0ac34","head":{"label":"willxfeng:add_user_authentication","ref":"add_user_authentication","sha":"ff4b28fecaa83184cca21fad029ae816d4b0ac34","user":{"login":"willxfeng","id":12139283,"avatar_url":"https://avatars.githubusercontent.com/u/12139283?v=3","gravatar_id":"","url":"https://api.github.com/users/willxfeng","html_url":"https://github.com/willxfeng","followers_url":"https://api.github.com/users/willxfeng/followers","following_url":"https://api.github.com/users/willxfeng/following{/other_user}","gists_url":"https://api.github.com/users/willxfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/willxfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willxfeng/subscriptions","organizations_url":"https://api.github.com/users/willxfeng/orgs","repos_url":"https://api.github.com/users/willxfeng/repos","events_url":"https://api.github.com/users/willxfeng/events{/privacy}","received_events_url":"https://api.github.com/users/willxfeng/received_events","type":"User","site_admin":false},"repo":{"id":49006432,"name":"iSpy","full_name":"willxfeng/iSpy","owner":{"login":"willxfeng","id":12139283,"avatar_url":"https://avatars.githubusercontent.com/u/12139283?v=3","gravatar_id":"","url":"https://api.github.com/users/willxfeng","html_url":"https://github.com/willxfeng","followers_url":"https://api.github.com/users/willxfeng/followers","following_url":"https://api.github.com/users/willxfeng/following{/other_user}","gists_url":"https://api.github.com/users/willxfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/willxfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willxfeng/subscriptions","organizations_url":"https://api.github.com/users/willxfeng/orgs","repos_url":"https://api.github.com/users/willxfeng/repos","events_url":"https://api.github.com/users/willxfeng/events{/privacy}","received_events_url":"https://api.github.com/users/willxfeng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/willxfeng/iSpy","description":"Launch Academy Winter 2015 Cohort Group project","fork":false,"url":"https://api.github.com/repos/willxfeng/iSpy","forks_url":"https://api.github.com/repos/willxfeng/iSpy/forks","keys_url":"https://api.github.com/repos/willxfeng/iSpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willxfeng/iSpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willxfeng/iSpy/teams","hooks_url":"https://api.github.com/repos/willxfeng/iSpy/hooks","issue_events_url":"https://api.github.com/repos/willxfeng/iSpy/issues/events{/number}","events_url":"https://api.github.com/repos/willxfeng/iSpy/events","assignees_url":"https://api.github.com/repos/willxfeng/iSpy/assignees{/user}","branches_url":"https://api.github.com/repos/willxfeng/iSpy/branches{/branch}","tags_url":"https://api.github.com/repos/willxfeng/iSpy/tags","blobs_url":"https://api.github.com/repos/willxfeng/iSpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willxfeng/iSpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willxfeng/iSpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/willxfeng/iSpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willxfeng/iSpy/statuses/{sha}","languages_url":"https://api.github.com/repos/willxfeng/iSpy/languages","stargazers_url":"https://api.github.com/repos/willxfeng/iSpy/stargazers","contributors_url":"https://api.github.com/repos/willxfeng/iSpy/contributors","subscribers_url":"https://api.github.com/repos/willxfeng/iSpy/subscribers","subscription_url":"https://api.github.com/repos/willxfeng/iSpy/subscription","commits_url":"https://api.github.com/repos/willxfeng/iSpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/willxfeng/iSpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/willxfeng/iSpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/willxfeng/iSpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/willxfeng/iSpy/contents/{+path}","compare_url":"https://api.github.com/repos/willxfeng/iSpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willxfeng/iSpy/merges","archive_url":"https://api.github.com/repos/willxfeng/iSpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willxfeng/iSpy/downloads","issues_url":"https://api.github.com/repos/willxfeng/iSpy/issues{/number}","pulls_url":"https://api.github.com/repos/willxfeng/iSpy/pulls{/number}","milestones_url":"https://api.github.com/repos/willxfeng/iSpy/milestones{/number}","notifications_url":"https://api.github.com/repos/willxfeng/iSpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willxfeng/iSpy/labels{/name}","releases_url":"https://api.github.com/repos/willxfeng/iSpy/releases{/id}","created_at":"2016-01-04T15:45:40Z","updated_at":"2016-01-04T16:23:13Z","pushed_at":"2016-01-04T22:31:05Z","git_url":"git://github.com/willxfeng/iSpy.git","ssh_url":"git@github.com:willxfeng/iSpy.git","clone_url":"https://github.com/willxfeng/iSpy.git","svn_url":"https://github.com/willxfeng/iSpy","homepage":null,"size":87,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"willxfeng:master","ref":"master","sha":"3361add71e7d52bfa722bcd787dd05a7089e567d","user":{"login":"willxfeng","id":12139283,"avatar_url":"https://avatars.githubusercontent.com/u/12139283?v=3","gravatar_id":"","url":"https://api.github.com/users/willxfeng","html_url":"https://github.com/willxfeng","followers_url":"https://api.github.com/users/willxfeng/followers","following_url":"https://api.github.com/users/willxfeng/following{/other_user}","gists_url":"https://api.github.com/users/willxfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/willxfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willxfeng/subscriptions","organizations_url":"https://api.github.com/users/willxfeng/orgs","repos_url":"https://api.github.com/users/willxfeng/repos","events_url":"https://api.github.com/users/willxfeng/events{/privacy}","received_events_url":"https://api.github.com/users/willxfeng/received_events","type":"User","site_admin":false},"repo":{"id":49006432,"name":"iSpy","full_name":"willxfeng/iSpy","owner":{"login":"willxfeng","id":12139283,"avatar_url":"https://avatars.githubusercontent.com/u/12139283?v=3","gravatar_id":"","url":"https://api.github.com/users/willxfeng","html_url":"https://github.com/willxfeng","followers_url":"https://api.github.com/users/willxfeng/followers","following_url":"https://api.github.com/users/willxfeng/following{/other_user}","gists_url":"https://api.github.com/users/willxfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/willxfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willxfeng/subscriptions","organizations_url":"https://api.github.com/users/willxfeng/orgs","repos_url":"https://api.github.com/users/willxfeng/repos","events_url":"https://api.github.com/users/willxfeng/events{/privacy}","received_events_url":"https://api.github.com/users/willxfeng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/willxfeng/iSpy","description":"Launch Academy Winter 2015 Cohort Group project","fork":false,"url":"https://api.github.com/repos/willxfeng/iSpy","forks_url":"https://api.github.com/repos/willxfeng/iSpy/forks","keys_url":"https://api.github.com/repos/willxfeng/iSpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willxfeng/iSpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willxfeng/iSpy/teams","hooks_url":"https://api.github.com/repos/willxfeng/iSpy/hooks","issue_events_url":"https://api.github.com/repos/willxfeng/iSpy/issues/events{/number}","events_url":"https://api.github.com/repos/willxfeng/iSpy/events","assignees_url":"https://api.github.com/repos/willxfeng/iSpy/assignees{/user}","branches_url":"https://api.github.com/repos/willxfeng/iSpy/branches{/branch}","tags_url":"https://api.github.com/repos/willxfeng/iSpy/tags","blobs_url":"https://api.github.com/repos/willxfeng/iSpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willxfeng/iSpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willxfeng/iSpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/willxfeng/iSpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willxfeng/iSpy/statuses/{sha}","languages_url":"https://api.github.com/repos/willxfeng/iSpy/languages","stargazers_url":"https://api.github.com/repos/willxfeng/iSpy/stargazers","contributors_url":"https://api.github.com/repos/willxfeng/iSpy/contributors","subscribers_url":"https://api.github.com/repos/willxfeng/iSpy/subscribers","subscription_url":"https://api.github.com/repos/willxfeng/iSpy/subscription","commits_url":"https://api.github.com/repos/willxfeng/iSpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/willxfeng/iSpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/willxfeng/iSpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/willxfeng/iSpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/willxfeng/iSpy/contents/{+path}","compare_url":"https://api.github.com/repos/willxfeng/iSpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willxfeng/iSpy/merges","archive_url":"https://api.github.com/repos/willxfeng/iSpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willxfeng/iSpy/downloads","issues_url":"https://api.github.com/repos/willxfeng/iSpy/issues{/number}","pulls_url":"https://api.github.com/repos/willxfeng/iSpy/pulls{/number}","milestones_url":"https://api.github.com/repos/willxfeng/iSpy/milestones{/number}","notifications_url":"https://api.github.com/repos/willxfeng/iSpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willxfeng/iSpy/labels{/name}","releases_url":"https://api.github.com/repos/willxfeng/iSpy/releases{/id}","created_at":"2016-01-04T15:45:40Z","updated_at":"2016-01-04T16:23:13Z","pushed_at":"2016-01-04T22:31:05Z","git_url":"git://github.com/willxfeng/iSpy.git","ssh_url":"git@github.com:willxfeng/iSpy.git","clone_url":"https://github.com/willxfeng/iSpy.git","svn_url":"https://github.com/willxfeng/iSpy","homepage":null,"size":87,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/willxfeng/iSpy/pulls/2"},"html":{"href":"https://github.com/willxfeng/iSpy/pull/2"},"issue":{"href":"https://api.github.com/repos/willxfeng/iSpy/issues/2"},"comments":{"href":"https://api.github.com/repos/willxfeng/iSpy/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/willxfeng/iSpy/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/willxfeng/iSpy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/willxfeng/iSpy/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/willxfeng/iSpy/statuses/ff4b28fecaa83184cca21fad029ae816d4b0ac34"}}}}