{"action":"created","comment":{"url":"https://api.github.com/repos/netguru/reminders/pulls/comments/53602076","id":53602076,"diff_hunk":"@@ -19,7 +19,7 @@ def latest_assignment(project_check, completed: false)\n   def from_last_n_days_for_users(number_of_days, user_ids)\n     all.where(\"completion_date >= ? OR completion_date IS NULL\",\n               number_of_days.days.ago)\n-      .where(user_id: user_ids)\n+       .where(user_id: user_ids)","path":"app/repositories/check_assignments_repository.rb","position":5,"original_position":5,"commit_id":"e445d6c6febdaee79c213d18d2462ed20d55fd3f","original_commit_id":"e445d6c6febdaee79c213d18d2462ed20d55fd3f","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","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":"Place the . on the previous line, together with the method call receiver.","created_at":"2016-02-22T09:33:36Z","updated_at":"2016-02-22T09:33:36Z","html_url":"https://github.com/netguru/reminders/pull/28#discussion_r53602076","pull_request_url":"https://api.github.com/repos/netguru/reminders/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/netguru/reminders/pulls/comments/53602076"},"html":{"href":"https://github.com/netguru/reminders/pull/28#discussion_r53602076"},"pull_request":{"href":"https://api.github.com/repos/netguru/reminders/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/netguru/reminders/pulls/28","id":59805741,"html_url":"https://github.com/netguru/reminders/pull/28","diff_url":"https://github.com/netguru/reminders/pull/28.diff","patch_url":"https://github.com/netguru/reminders/pull/28.patch","issue_url":"https://api.github.com/repos/netguru/reminders/issues/28","number":28,"state":"open","locked":false,"title":"Gems update","user":{"login":"szymonbaranowski","id":6731008,"avatar_url":"https://avatars.githubusercontent.com/u/6731008?v=3","gravatar_id":"","url":"https://api.github.com/users/szymonbaranowski","html_url":"https://github.com/szymonbaranowski","followers_url":"https://api.github.com/users/szymonbaranowski/followers","following_url":"https://api.github.com/users/szymonbaranowski/following{/other_user}","gists_url":"https://api.github.com/users/szymonbaranowski/gists{/gist_id}","starred_url":"https://api.github.com/users/szymonbaranowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szymonbaranowski/subscriptions","organizations_url":"https://api.github.com/users/szymonbaranowski/orgs","repos_url":"https://api.github.com/users/szymonbaranowski/repos","events_url":"https://api.github.com/users/szymonbaranowski/events{/privacy}","received_events_url":"https://api.github.com/users/szymonbaranowski/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-18T14:27:30Z","updated_at":"2016-02-22T09:33:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ddb6767d9e24bda847242bc6acc8e83463a17877","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/netguru/reminders/pulls/28/commits","review_comments_url":"https://api.github.com/repos/netguru/reminders/pulls/28/comments","review_comment_url":"https://api.github.com/repos/netguru/reminders/pulls/comments{/number}","comments_url":"https://api.github.com/repos/netguru/reminders/issues/28/comments","statuses_url":"https://api.github.com/repos/netguru/reminders/statuses/e445d6c6febdaee79c213d18d2462ed20d55fd3f","head":{"label":"netguru:gems-update","ref":"gems-update","sha":"e445d6c6febdaee79c213d18d2462ed20d55fd3f","user":{"login":"netguru","id":1146,"avatar_url":"https://avatars.githubusercontent.com/u/1146?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru","html_url":"https://github.com/netguru","followers_url":"https://api.github.com/users/netguru/followers","following_url":"https://api.github.com/users/netguru/following{/other_user}","gists_url":"https://api.github.com/users/netguru/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru/subscriptions","organizations_url":"https://api.github.com/users/netguru/orgs","repos_url":"https://api.github.com/users/netguru/repos","events_url":"https://api.github.com/users/netguru/events{/privacy}","received_events_url":"https://api.github.com/users/netguru/received_events","type":"Organization","site_admin":false},"repo":{"id":34285834,"name":"reminders","full_name":"netguru/reminders","owner":{"login":"netguru","id":1146,"avatar_url":"https://avatars.githubusercontent.com/u/1146?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru","html_url":"https://github.com/netguru","followers_url":"https://api.github.com/users/netguru/followers","following_url":"https://api.github.com/users/netguru/following{/other_user}","gists_url":"https://api.github.com/users/netguru/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru/subscriptions","organizations_url":"https://api.github.com/users/netguru/orgs","repos_url":"https://api.github.com/users/netguru/repos","events_url":"https://api.github.com/users/netguru/events{/privacy}","received_events_url":"https://api.github.com/users/netguru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netguru/reminders","description":"you won't forget to get things done anymore - we will remind you!","fork":false,"url":"https://api.github.com/repos/netguru/reminders","forks_url":"https://api.github.com/repos/netguru/reminders/forks","keys_url":"https://api.github.com/repos/netguru/reminders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netguru/reminders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netguru/reminders/teams","hooks_url":"https://api.github.com/repos/netguru/reminders/hooks","issue_events_url":"https://api.github.com/repos/netguru/reminders/issues/events{/number}","events_url":"https://api.github.com/repos/netguru/reminders/events","assignees_url":"https://api.github.com/repos/netguru/reminders/assignees{/user}","branches_url":"https://api.github.com/repos/netguru/reminders/branches{/branch}","tags_url":"https://api.github.com/repos/netguru/reminders/tags","blobs_url":"https://api.github.com/repos/netguru/reminders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netguru/reminders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netguru/reminders/git/refs{/sha}","trees_url":"https://api.github.com/repos/netguru/reminders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netguru/reminders/statuses/{sha}","languages_url":"https://api.github.com/repos/netguru/reminders/languages","stargazers_url":"https://api.github.com/repos/netguru/reminders/stargazers","contributors_url":"https://api.github.com/repos/netguru/reminders/contributors","subscribers_url":"https://api.github.com/repos/netguru/reminders/subscribers","subscription_url":"https://api.github.com/repos/netguru/reminders/subscription","commits_url":"https://api.github.com/repos/netguru/reminders/commits{/sha}","git_commits_url":"https://api.github.com/repos/netguru/reminders/git/commits{/sha}","comments_url":"https://api.github.com/repos/netguru/reminders/comments{/number}","issue_comment_url":"https://api.github.com/repos/netguru/reminders/issues/comments{/number}","contents_url":"https://api.github.com/repos/netguru/reminders/contents/{+path}","compare_url":"https://api.github.com/repos/netguru/reminders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netguru/reminders/merges","archive_url":"https://api.github.com/repos/netguru/reminders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netguru/reminders/downloads","issues_url":"https://api.github.com/repos/netguru/reminders/issues{/number}","pulls_url":"https://api.github.com/repos/netguru/reminders/pulls{/number}","milestones_url":"https://api.github.com/repos/netguru/reminders/milestones{/number}","notifications_url":"https://api.github.com/repos/netguru/reminders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netguru/reminders/labels{/name}","releases_url":"https://api.github.com/repos/netguru/reminders/releases{/id}","deployments_url":"https://api.github.com/repos/netguru/reminders/deployments","created_at":"2015-04-20T20:52:46Z","updated_at":"2016-02-11T17:24:56Z","pushed_at":"2016-02-22T09:33:25Z","git_url":"git://github.com/netguru/reminders.git","ssh_url":"git@github.com:netguru/reminders.git","clone_url":"https://github.com/netguru/reminders.git","svn_url":"https://github.com/netguru/reminders","homepage":"https://netguru.co/opensource","size":665,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"netguru:master","ref":"master","sha":"34a6a99e4566af72f7d43604843d17ffa536d9ee","user":{"login":"netguru","id":1146,"avatar_url":"https://avatars.githubusercontent.com/u/1146?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru","html_url":"https://github.com/netguru","followers_url":"https://api.github.com/users/netguru/followers","following_url":"https://api.github.com/users/netguru/following{/other_user}","gists_url":"https://api.github.com/users/netguru/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru/subscriptions","organizations_url":"https://api.github.com/users/netguru/orgs","repos_url":"https://api.github.com/users/netguru/repos","events_url":"https://api.github.com/users/netguru/events{/privacy}","received_events_url":"https://api.github.com/users/netguru/received_events","type":"Organization","site_admin":false},"repo":{"id":34285834,"name":"reminders","full_name":"netguru/reminders","owner":{"login":"netguru","id":1146,"avatar_url":"https://avatars.githubusercontent.com/u/1146?v=3","gravatar_id":"","url":"https://api.github.com/users/netguru","html_url":"https://github.com/netguru","followers_url":"https://api.github.com/users/netguru/followers","following_url":"https://api.github.com/users/netguru/following{/other_user}","gists_url":"https://api.github.com/users/netguru/gists{/gist_id}","starred_url":"https://api.github.com/users/netguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netguru/subscriptions","organizations_url":"https://api.github.com/users/netguru/orgs","repos_url":"https://api.github.com/users/netguru/repos","events_url":"https://api.github.com/users/netguru/events{/privacy}","received_events_url":"https://api.github.com/users/netguru/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netguru/reminders","description":"you won't forget to get things done anymore - we will remind you!","fork":false,"url":"https://api.github.com/repos/netguru/reminders","forks_url":"https://api.github.com/repos/netguru/reminders/forks","keys_url":"https://api.github.com/repos/netguru/reminders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netguru/reminders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netguru/reminders/teams","hooks_url":"https://api.github.com/repos/netguru/reminders/hooks","issue_events_url":"https://api.github.com/repos/netguru/reminders/issues/events{/number}","events_url":"https://api.github.com/repos/netguru/reminders/events","assignees_url":"https://api.github.com/repos/netguru/reminders/assignees{/user}","branches_url":"https://api.github.com/repos/netguru/reminders/branches{/branch}","tags_url":"https://api.github.com/repos/netguru/reminders/tags","blobs_url":"https://api.github.com/repos/netguru/reminders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netguru/reminders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netguru/reminders/git/refs{/sha}","trees_url":"https://api.github.com/repos/netguru/reminders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netguru/reminders/statuses/{sha}","languages_url":"https://api.github.com/repos/netguru/reminders/languages","stargazers_url":"https://api.github.com/repos/netguru/reminders/stargazers","contributors_url":"https://api.github.com/repos/netguru/reminders/contributors","subscribers_url":"https://api.github.com/repos/netguru/reminders/subscribers","subscription_url":"https://api.github.com/repos/netguru/reminders/subscription","commits_url":"https://api.github.com/repos/netguru/reminders/commits{/sha}","git_commits_url":"https://api.github.com/repos/netguru/reminders/git/commits{/sha}","comments_url":"https://api.github.com/repos/netguru/reminders/comments{/number}","issue_comment_url":"https://api.github.com/repos/netguru/reminders/issues/comments{/number}","contents_url":"https://api.github.com/repos/netguru/reminders/contents/{+path}","compare_url":"https://api.github.com/repos/netguru/reminders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netguru/reminders/merges","archive_url":"https://api.github.com/repos/netguru/reminders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netguru/reminders/downloads","issues_url":"https://api.github.com/repos/netguru/reminders/issues{/number}","pulls_url":"https://api.github.com/repos/netguru/reminders/pulls{/number}","milestones_url":"https://api.github.com/repos/netguru/reminders/milestones{/number}","notifications_url":"https://api.github.com/repos/netguru/reminders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netguru/reminders/labels{/name}","releases_url":"https://api.github.com/repos/netguru/reminders/releases{/id}","deployments_url":"https://api.github.com/repos/netguru/reminders/deployments","created_at":"2015-04-20T20:52:46Z","updated_at":"2016-02-11T17:24:56Z","pushed_at":"2016-02-22T09:33:25Z","git_url":"git://github.com/netguru/reminders.git","ssh_url":"git@github.com:netguru/reminders.git","clone_url":"https://github.com/netguru/reminders.git","svn_url":"https://github.com/netguru/reminders","homepage":"https://netguru.co/opensource","size":665,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/netguru/reminders/pulls/28"},"html":{"href":"https://github.com/netguru/reminders/pull/28"},"issue":{"href":"https://api.github.com/repos/netguru/reminders/issues/28"},"comments":{"href":"https://api.github.com/repos/netguru/reminders/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/netguru/reminders/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/netguru/reminders/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/netguru/reminders/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/netguru/reminders/statuses/e445d6c6febdaee79c213d18d2462ed20d55fd3f"}}}}