{"action":"created","comment":{"url":"https://api.github.com/repos/ssaurbier/todo/pulls/comments/42039111","id":42039111,"diff_hunk":"@@ -6,4 +6,16 @@ class List < ActiveRecord::Base\n   validates :title, uniqueness: true\n   validates :user_id, presence: true\n \n+def today\n+  Date.today\n+end\n+\n+def tomorrow\n+  Date.tomorrow\n+end\n+\n+def next_day\n+  Date.tomorrow + 1\n+end\n+","path":"app/models/list.rb","position":15,"original_position":15,"commit_id":"049fd0000fab4e40b2bdca866172afb240c9af81","original_commit_id":"049fd0000fab4e40b2bdca866172afb240c9af81","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":"Extra empty line detected at class body end.","created_at":"2015-10-14T19:14:36Z","updated_at":"2015-10-14T19:14:36Z","html_url":"https://github.com/ssaurbier/todo/pull/10#discussion_r42039111","pull_request_url":"https://api.github.com/repos/ssaurbier/todo/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/ssaurbier/todo/pulls/comments/42039111"},"html":{"href":"https://github.com/ssaurbier/todo/pull/10#discussion_r42039111"},"pull_request":{"href":"https://api.github.com/repos/ssaurbier/todo/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/ssaurbier/todo/pulls/10","id":47702083,"html_url":"https://github.com/ssaurbier/todo/pull/10","diff_url":"https://github.com/ssaurbier/todo/pull/10.diff","patch_url":"https://github.com/ssaurbier/todo/pull/10.patch","issue_url":"https://api.github.com/repos/ssaurbier/todo/issues/10","number":10,"state":"open","locked":false,"title":"Add date list","user":{"login":"ssaurbier","id":12602047,"avatar_url":"https://avatars.githubusercontent.com/u/12602047?v=3","gravatar_id":"","url":"https://api.github.com/users/ssaurbier","html_url":"https://github.com/ssaurbier","followers_url":"https://api.github.com/users/ssaurbier/followers","following_url":"https://api.github.com/users/ssaurbier/following{/other_user}","gists_url":"https://api.github.com/users/ssaurbier/gists{/gist_id}","starred_url":"https://api.github.com/users/ssaurbier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssaurbier/subscriptions","organizations_url":"https://api.github.com/users/ssaurbier/orgs","repos_url":"https://api.github.com/users/ssaurbier/repos","events_url":"https://api.github.com/users/ssaurbier/events{/privacy}","received_events_url":"https://api.github.com/users/ssaurbier/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-14T19:14:29Z","updated_at":"2015-10-14T19:14:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"392ac54250791705778a48107e579ae87a224b11","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ssaurbier/todo/pulls/10/commits","review_comments_url":"https://api.github.com/repos/ssaurbier/todo/pulls/10/comments","review_comment_url":"https://api.github.com/repos/ssaurbier/todo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ssaurbier/todo/issues/10/comments","statuses_url":"https://api.github.com/repos/ssaurbier/todo/statuses/049fd0000fab4e40b2bdca866172afb240c9af81","head":{"label":"ssaurbier:add_date_list","ref":"add_date_list","sha":"049fd0000fab4e40b2bdca866172afb240c9af81","user":{"login":"ssaurbier","id":12602047,"avatar_url":"https://avatars.githubusercontent.com/u/12602047?v=3","gravatar_id":"","url":"https://api.github.com/users/ssaurbier","html_url":"https://github.com/ssaurbier","followers_url":"https://api.github.com/users/ssaurbier/followers","following_url":"https://api.github.com/users/ssaurbier/following{/other_user}","gists_url":"https://api.github.com/users/ssaurbier/gists{/gist_id}","starred_url":"https://api.github.com/users/ssaurbier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssaurbier/subscriptions","organizations_url":"https://api.github.com/users/ssaurbier/orgs","repos_url":"https://api.github.com/users/ssaurbier/repos","events_url":"https://api.github.com/users/ssaurbier/events{/privacy}","received_events_url":"https://api.github.com/users/ssaurbier/received_events","type":"User","site_admin":false},"repo":{"id":43575665,"name":"todo","full_name":"ssaurbier/todo","owner":{"login":"ssaurbier","id":12602047,"avatar_url":"https://avatars.githubusercontent.com/u/12602047?v=3","gravatar_id":"","url":"https://api.github.com/users/ssaurbier","html_url":"https://github.com/ssaurbier","followers_url":"https://api.github.com/users/ssaurbier/followers","following_url":"https://api.github.com/users/ssaurbier/following{/other_user}","gists_url":"https://api.github.com/users/ssaurbier/gists{/gist_id}","starred_url":"https://api.github.com/users/ssaurbier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssaurbier/subscriptions","organizations_url":"https://api.github.com/users/ssaurbier/orgs","repos_url":"https://api.github.com/users/ssaurbier/repos","events_url":"https://api.github.com/users/ssaurbier/events{/privacy}","received_events_url":"https://api.github.com/users/ssaurbier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssaurbier/todo","description":"to-do app","fork":false,"url":"https://api.github.com/repos/ssaurbier/todo","forks_url":"https://api.github.com/repos/ssaurbier/todo/forks","keys_url":"https://api.github.com/repos/ssaurbier/todo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssaurbier/todo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssaurbier/todo/teams","hooks_url":"https://api.github.com/repos/ssaurbier/todo/hooks","issue_events_url":"https://api.github.com/repos/ssaurbier/todo/issues/events{/number}","events_url":"https://api.github.com/repos/ssaurbier/todo/events","assignees_url":"https://api.github.com/repos/ssaurbier/todo/assignees{/user}","branches_url":"https://api.github.com/repos/ssaurbier/todo/branches{/branch}","tags_url":"https://api.github.com/repos/ssaurbier/todo/tags","blobs_url":"https://api.github.com/repos/ssaurbier/todo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssaurbier/todo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssaurbier/todo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssaurbier/todo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssaurbier/todo/statuses/{sha}","languages_url":"https://api.github.com/repos/ssaurbier/todo/languages","stargazers_url":"https://api.github.com/repos/ssaurbier/todo/stargazers","contributors_url":"https://api.github.com/repos/ssaurbier/todo/contributors","subscribers_url":"https://api.github.com/repos/ssaurbier/todo/subscribers","subscription_url":"https://api.github.com/repos/ssaurbier/todo/subscription","commits_url":"https://api.github.com/repos/ssaurbier/todo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssaurbier/todo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssaurbier/todo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssaurbier/todo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssaurbier/todo/contents/{+path}","compare_url":"https://api.github.com/repos/ssaurbier/todo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssaurbier/todo/merges","archive_url":"https://api.github.com/repos/ssaurbier/todo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssaurbier/todo/downloads","issues_url":"https://api.github.com/repos/ssaurbier/todo/issues{/number}","pulls_url":"https://api.github.com/repos/ssaurbier/todo/pulls{/number}","milestones_url":"https://api.github.com/repos/ssaurbier/todo/milestones{/number}","notifications_url":"https://api.github.com/repos/ssaurbier/todo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssaurbier/todo/labels{/name}","releases_url":"https://api.github.com/repos/ssaurbier/todo/releases{/id}","created_at":"2015-10-02T20:50:19Z","updated_at":"2015-10-07T23:58:14Z","pushed_at":"2015-10-14T19:14:29Z","git_url":"git://github.com/ssaurbier/todo.git","ssh_url":"git@github.com:ssaurbier/todo.git","clone_url":"https://github.com/ssaurbier/todo.git","svn_url":"https://github.com/ssaurbier/todo","homepage":null,"size":308,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ssaurbier:master","ref":"master","sha":"3eed329e79a47054a3e380e0deecfda8cf6cb189","user":{"login":"ssaurbier","id":12602047,"avatar_url":"https://avatars.githubusercontent.com/u/12602047?v=3","gravatar_id":"","url":"https://api.github.com/users/ssaurbier","html_url":"https://github.com/ssaurbier","followers_url":"https://api.github.com/users/ssaurbier/followers","following_url":"https://api.github.com/users/ssaurbier/following{/other_user}","gists_url":"https://api.github.com/users/ssaurbier/gists{/gist_id}","starred_url":"https://api.github.com/users/ssaurbier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssaurbier/subscriptions","organizations_url":"https://api.github.com/users/ssaurbier/orgs","repos_url":"https://api.github.com/users/ssaurbier/repos","events_url":"https://api.github.com/users/ssaurbier/events{/privacy}","received_events_url":"https://api.github.com/users/ssaurbier/received_events","type":"User","site_admin":false},"repo":{"id":43575665,"name":"todo","full_name":"ssaurbier/todo","owner":{"login":"ssaurbier","id":12602047,"avatar_url":"https://avatars.githubusercontent.com/u/12602047?v=3","gravatar_id":"","url":"https://api.github.com/users/ssaurbier","html_url":"https://github.com/ssaurbier","followers_url":"https://api.github.com/users/ssaurbier/followers","following_url":"https://api.github.com/users/ssaurbier/following{/other_user}","gists_url":"https://api.github.com/users/ssaurbier/gists{/gist_id}","starred_url":"https://api.github.com/users/ssaurbier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssaurbier/subscriptions","organizations_url":"https://api.github.com/users/ssaurbier/orgs","repos_url":"https://api.github.com/users/ssaurbier/repos","events_url":"https://api.github.com/users/ssaurbier/events{/privacy}","received_events_url":"https://api.github.com/users/ssaurbier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssaurbier/todo","description":"to-do app","fork":false,"url":"https://api.github.com/repos/ssaurbier/todo","forks_url":"https://api.github.com/repos/ssaurbier/todo/forks","keys_url":"https://api.github.com/repos/ssaurbier/todo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssaurbier/todo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssaurbier/todo/teams","hooks_url":"https://api.github.com/repos/ssaurbier/todo/hooks","issue_events_url":"https://api.github.com/repos/ssaurbier/todo/issues/events{/number}","events_url":"https://api.github.com/repos/ssaurbier/todo/events","assignees_url":"https://api.github.com/repos/ssaurbier/todo/assignees{/user}","branches_url":"https://api.github.com/repos/ssaurbier/todo/branches{/branch}","tags_url":"https://api.github.com/repos/ssaurbier/todo/tags","blobs_url":"https://api.github.com/repos/ssaurbier/todo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssaurbier/todo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssaurbier/todo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssaurbier/todo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssaurbier/todo/statuses/{sha}","languages_url":"https://api.github.com/repos/ssaurbier/todo/languages","stargazers_url":"https://api.github.com/repos/ssaurbier/todo/stargazers","contributors_url":"https://api.github.com/repos/ssaurbier/todo/contributors","subscribers_url":"https://api.github.com/repos/ssaurbier/todo/subscribers","subscription_url":"https://api.github.com/repos/ssaurbier/todo/subscription","commits_url":"https://api.github.com/repos/ssaurbier/todo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssaurbier/todo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssaurbier/todo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssaurbier/todo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssaurbier/todo/contents/{+path}","compare_url":"https://api.github.com/repos/ssaurbier/todo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssaurbier/todo/merges","archive_url":"https://api.github.com/repos/ssaurbier/todo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssaurbier/todo/downloads","issues_url":"https://api.github.com/repos/ssaurbier/todo/issues{/number}","pulls_url":"https://api.github.com/repos/ssaurbier/todo/pulls{/number}","milestones_url":"https://api.github.com/repos/ssaurbier/todo/milestones{/number}","notifications_url":"https://api.github.com/repos/ssaurbier/todo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssaurbier/todo/labels{/name}","releases_url":"https://api.github.com/repos/ssaurbier/todo/releases{/id}","created_at":"2015-10-02T20:50:19Z","updated_at":"2015-10-07T23:58:14Z","pushed_at":"2015-10-14T19:14:29Z","git_url":"git://github.com/ssaurbier/todo.git","ssh_url":"git@github.com:ssaurbier/todo.git","clone_url":"https://github.com/ssaurbier/todo.git","svn_url":"https://github.com/ssaurbier/todo","homepage":null,"size":308,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ssaurbier/todo/pulls/10"},"html":{"href":"https://github.com/ssaurbier/todo/pull/10"},"issue":{"href":"https://api.github.com/repos/ssaurbier/todo/issues/10"},"comments":{"href":"https://api.github.com/repos/ssaurbier/todo/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/ssaurbier/todo/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/ssaurbier/todo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ssaurbier/todo/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/ssaurbier/todo/statuses/049fd0000fab4e40b2bdca866172afb240c9af81"}}}}