{"action":"created","comment":{"url":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/comments/91843930","pull_request_review_id":12356325,"id":91843930,"diff_hunk":"@@ -161,6 +161,11 @@ def vote_down\n       current_user.vote_against(@review)\n     end\n \n+    if ((@review.votes_against > -9) && @review.comment != \"\")\n+      @review.deleted = true\n+      @review.save","path":"app/controllers/reviews_controller.rb","position":null,"original_position":6,"commit_id":"6bfdc2d8bdb116d5970a545dda1af6585fb048ed","original_commit_id":"867dbec190ae22699d60f3d916c8c2299b895d11","user":{"login":"Apoorva-A","id":10428449,"avatar_url":"https://avatars.githubusercontent.com/u/10428449?v=3","gravatar_id":"","url":"https://api.github.com/users/Apoorva-A","html_url":"https://github.com/Apoorva-A","followers_url":"https://api.github.com/users/Apoorva-A/followers","following_url":"https://api.github.com/users/Apoorva-A/following{/other_user}","gists_url":"https://api.github.com/users/Apoorva-A/gists{/gist_id}","starred_url":"https://api.github.com/users/Apoorva-A/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apoorva-A/subscriptions","organizations_url":"https://api.github.com/users/Apoorva-A/orgs","repos_url":"https://api.github.com/users/Apoorva-A/repos","events_url":"https://api.github.com/users/Apoorva-A/events{/privacy}","received_events_url":"https://api.github.com/users/Apoorva-A/received_events","type":"User","site_admin":false},"body":"just for clarity, you guys mean `(:deleted => true)` here, right? lol","created_at":"2016-12-10T22:50:19Z","updated_at":"2016-12-10T22:50:19Z","html_url":"https://github.com/thecourseforum/theCourseForum/pull/268#discussion_r91843930","pull_request_url":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/268","_links":{"self":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/comments/91843930"},"html":{"href":"https://github.com/thecourseforum/theCourseForum/pull/268#discussion_r91843930"},"pull_request":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/268","id":93271534,"html_url":"https://github.com/thecourseforum/theCourseForum/pull/268","diff_url":"https://github.com/thecourseforum/theCourseForum/pull/268.diff","patch_url":"https://github.com/thecourseforum/theCourseForum/pull/268.patch","issue_url":"https://api.github.com/repos/thecourseforum/theCourseForum/issues/268","number":268,"state":"open","locked":false,"title":"Filter Bad Reviews","user":{"login":"Apoorva-A","id":10428449,"avatar_url":"https://avatars.githubusercontent.com/u/10428449?v=3","gravatar_id":"","url":"https://api.github.com/users/Apoorva-A","html_url":"https://github.com/Apoorva-A","followers_url":"https://api.github.com/users/Apoorva-A/followers","following_url":"https://api.github.com/users/Apoorva-A/following{/other_user}","gists_url":"https://api.github.com/users/Apoorva-A/gists{/gist_id}","starred_url":"https://api.github.com/users/Apoorva-A/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apoorva-A/subscriptions","organizations_url":"https://api.github.com/users/Apoorva-A/orgs","repos_url":"https://api.github.com/users/Apoorva-A/repos","events_url":"https://api.github.com/users/Apoorva-A/events{/privacy}","received_events_url":"https://api.github.com/users/Apoorva-A/received_events","type":"User","site_admin":false},"body":"@kienan @atallahhezbor Filters out reviews worse than -10\r\n\r\nPTAL","created_at":"2016-11-11T02:56:35Z","updated_at":"2016-12-10T22:50:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6ec1f610c3d29f7476f3fd2fb15305fa5a33057","assignee":{"login":"kienan","id":5743276,"avatar_url":"https://avatars.githubusercontent.com/u/5743276?v=3","gravatar_id":"","url":"https://api.github.com/users/kienan","html_url":"https://github.com/kienan","followers_url":"https://api.github.com/users/kienan/followers","following_url":"https://api.github.com/users/kienan/following{/other_user}","gists_url":"https://api.github.com/users/kienan/gists{/gist_id}","starred_url":"https://api.github.com/users/kienan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kienan/subscriptions","organizations_url":"https://api.github.com/users/kienan/orgs","repos_url":"https://api.github.com/users/kienan/repos","events_url":"https://api.github.com/users/kienan/events{/privacy}","received_events_url":"https://api.github.com/users/kienan/received_events","type":"User","site_admin":false},"assignees":[{"login":"kienan","id":5743276,"avatar_url":"https://avatars.githubusercontent.com/u/5743276?v=3","gravatar_id":"","url":"https://api.github.com/users/kienan","html_url":"https://github.com/kienan","followers_url":"https://api.github.com/users/kienan/followers","following_url":"https://api.github.com/users/kienan/following{/other_user}","gists_url":"https://api.github.com/users/kienan/gists{/gist_id}","starred_url":"https://api.github.com/users/kienan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kienan/subscriptions","organizations_url":"https://api.github.com/users/kienan/orgs","repos_url":"https://api.github.com/users/kienan/repos","events_url":"https://api.github.com/users/kienan/events{/privacy}","received_events_url":"https://api.github.com/users/kienan/received_events","type":"User","site_admin":false},{"login":"aw3as","id":7268640,"avatar_url":"https://avatars.githubusercontent.com/u/7268640?v=3","gravatar_id":"","url":"https://api.github.com/users/aw3as","html_url":"https://github.com/aw3as","followers_url":"https://api.github.com/users/aw3as/followers","following_url":"https://api.github.com/users/aw3as/following{/other_user}","gists_url":"https://api.github.com/users/aw3as/gists{/gist_id}","starred_url":"https://api.github.com/users/aw3as/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw3as/subscriptions","organizations_url":"https://api.github.com/users/aw3as/orgs","repos_url":"https://api.github.com/users/aw3as/repos","events_url":"https://api.github.com/users/aw3as/events{/privacy}","received_events_url":"https://api.github.com/users/aw3as/received_events","type":"User","site_admin":false},{"login":"Apoorva-A","id":10428449,"avatar_url":"https://avatars.githubusercontent.com/u/10428449?v=3","gravatar_id":"","url":"https://api.github.com/users/Apoorva-A","html_url":"https://github.com/Apoorva-A","followers_url":"https://api.github.com/users/Apoorva-A/followers","following_url":"https://api.github.com/users/Apoorva-A/following{/other_user}","gists_url":"https://api.github.com/users/Apoorva-A/gists{/gist_id}","starred_url":"https://api.github.com/users/Apoorva-A/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apoorva-A/subscriptions","organizations_url":"https://api.github.com/users/Apoorva-A/orgs","repos_url":"https://api.github.com/users/Apoorva-A/repos","events_url":"https://api.github.com/users/Apoorva-A/events{/privacy}","received_events_url":"https://api.github.com/users/Apoorva-A/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/268/commits","review_comments_url":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/268/comments","review_comment_url":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thecourseforum/theCourseForum/issues/268/comments","statuses_url":"https://api.github.com/repos/thecourseforum/theCourseForum/statuses/6bfdc2d8bdb116d5970a545dda1af6585fb048ed","head":{"label":"thecourseforum:remove_bad","ref":"remove_bad","sha":"6bfdc2d8bdb116d5970a545dda1af6585fb048ed","user":{"login":"thecourseforum","id":1744258,"avatar_url":"https://avatars.githubusercontent.com/u/1744258?v=3","gravatar_id":"","url":"https://api.github.com/users/thecourseforum","html_url":"https://github.com/thecourseforum","followers_url":"https://api.github.com/users/thecourseforum/followers","following_url":"https://api.github.com/users/thecourseforum/following{/other_user}","gists_url":"https://api.github.com/users/thecourseforum/gists{/gist_id}","starred_url":"https://api.github.com/users/thecourseforum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecourseforum/subscriptions","organizations_url":"https://api.github.com/users/thecourseforum/orgs","repos_url":"https://api.github.com/users/thecourseforum/repos","events_url":"https://api.github.com/users/thecourseforum/events{/privacy}","received_events_url":"https://api.github.com/users/thecourseforum/received_events","type":"Organization","site_admin":false},"repo":{"id":4361779,"name":"theCourseForum","full_name":"thecourseforum/theCourseForum","owner":{"login":"thecourseforum","id":1744258,"avatar_url":"https://avatars.githubusercontent.com/u/1744258?v=3","gravatar_id":"","url":"https://api.github.com/users/thecourseforum","html_url":"https://github.com/thecourseforum","followers_url":"https://api.github.com/users/thecourseforum/followers","following_url":"https://api.github.com/users/thecourseforum/following{/other_user}","gists_url":"https://api.github.com/users/thecourseforum/gists{/gist_id}","starred_url":"https://api.github.com/users/thecourseforum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecourseforum/subscriptions","organizations_url":"https://api.github.com/users/thecourseforum/orgs","repos_url":"https://api.github.com/users/thecourseforum/repos","events_url":"https://api.github.com/users/thecourseforum/events{/privacy}","received_events_url":"https://api.github.com/users/thecourseforum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thecourseforum/theCourseForum","description":"theCourseForum project","fork":false,"url":"https://api.github.com/repos/thecourseforum/theCourseForum","forks_url":"https://api.github.com/repos/thecourseforum/theCourseForum/forks","keys_url":"https://api.github.com/repos/thecourseforum/theCourseForum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thecourseforum/theCourseForum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thecourseforum/theCourseForum/teams","hooks_url":"https://api.github.com/repos/thecourseforum/theCourseForum/hooks","issue_events_url":"https://api.github.com/repos/thecourseforum/theCourseForum/issues/events{/number}","events_url":"https://api.github.com/repos/thecourseforum/theCourseForum/events","assignees_url":"https://api.github.com/repos/thecourseforum/theCourseForum/assignees{/user}","branches_url":"https://api.github.com/repos/thecourseforum/theCourseForum/branches{/branch}","tags_url":"https://api.github.com/repos/thecourseforum/theCourseForum/tags","blobs_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/refs{/sha}","trees_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thecourseforum/theCourseForum/statuses/{sha}","languages_url":"https://api.github.com/repos/thecourseforum/theCourseForum/languages","stargazers_url":"https://api.github.com/repos/thecourseforum/theCourseForum/stargazers","contributors_url":"https://api.github.com/repos/thecourseforum/theCourseForum/contributors","subscribers_url":"https://api.github.com/repos/thecourseforum/theCourseForum/subscribers","subscription_url":"https://api.github.com/repos/thecourseforum/theCourseForum/subscription","commits_url":"https://api.github.com/repos/thecourseforum/theCourseForum/commits{/sha}","git_commits_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/commits{/sha}","comments_url":"https://api.github.com/repos/thecourseforum/theCourseForum/comments{/number}","issue_comment_url":"https://api.github.com/repos/thecourseforum/theCourseForum/issues/comments{/number}","contents_url":"https://api.github.com/repos/thecourseforum/theCourseForum/contents/{+path}","compare_url":"https://api.github.com/repos/thecourseforum/theCourseForum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thecourseforum/theCourseForum/merges","archive_url":"https://api.github.com/repos/thecourseforum/theCourseForum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thecourseforum/theCourseForum/downloads","issues_url":"https://api.github.com/repos/thecourseforum/theCourseForum/issues{/number}","pulls_url":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls{/number}","milestones_url":"https://api.github.com/repos/thecourseforum/theCourseForum/milestones{/number}","notifications_url":"https://api.github.com/repos/thecourseforum/theCourseForum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thecourseforum/theCourseForum/labels{/name}","releases_url":"https://api.github.com/repos/thecourseforum/theCourseForum/releases{/id}","deployments_url":"https://api.github.com/repos/thecourseforum/theCourseForum/deployments","created_at":"2012-05-17T18:53:38Z","updated_at":"2016-11-02T23:55:17Z","pushed_at":"2016-12-10T19:41:16Z","git_url":"git://github.com/thecourseforum/theCourseForum.git","ssh_url":"git@github.com:thecourseforum/theCourseForum.git","clone_url":"https://github.com/thecourseforum/theCourseForum.git","svn_url":"https://github.com/thecourseforum/theCourseForum","homepage":"www.thecourseforum.com","size":46752,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":80,"forks":10,"open_issues":80,"watchers":18,"default_branch":"master"}},"base":{"label":"thecourseforum:master","ref":"master","sha":"369ae1e8e568a4ba985a570f8c57836d0c39ad26","user":{"login":"thecourseforum","id":1744258,"avatar_url":"https://avatars.githubusercontent.com/u/1744258?v=3","gravatar_id":"","url":"https://api.github.com/users/thecourseforum","html_url":"https://github.com/thecourseforum","followers_url":"https://api.github.com/users/thecourseforum/followers","following_url":"https://api.github.com/users/thecourseforum/following{/other_user}","gists_url":"https://api.github.com/users/thecourseforum/gists{/gist_id}","starred_url":"https://api.github.com/users/thecourseforum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecourseforum/subscriptions","organizations_url":"https://api.github.com/users/thecourseforum/orgs","repos_url":"https://api.github.com/users/thecourseforum/repos","events_url":"https://api.github.com/users/thecourseforum/events{/privacy}","received_events_url":"https://api.github.com/users/thecourseforum/received_events","type":"Organization","site_admin":false},"repo":{"id":4361779,"name":"theCourseForum","full_name":"thecourseforum/theCourseForum","owner":{"login":"thecourseforum","id":1744258,"avatar_url":"https://avatars.githubusercontent.com/u/1744258?v=3","gravatar_id":"","url":"https://api.github.com/users/thecourseforum","html_url":"https://github.com/thecourseforum","followers_url":"https://api.github.com/users/thecourseforum/followers","following_url":"https://api.github.com/users/thecourseforum/following{/other_user}","gists_url":"https://api.github.com/users/thecourseforum/gists{/gist_id}","starred_url":"https://api.github.com/users/thecourseforum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecourseforum/subscriptions","organizations_url":"https://api.github.com/users/thecourseforum/orgs","repos_url":"https://api.github.com/users/thecourseforum/repos","events_url":"https://api.github.com/users/thecourseforum/events{/privacy}","received_events_url":"https://api.github.com/users/thecourseforum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thecourseforum/theCourseForum","description":"theCourseForum project","fork":false,"url":"https://api.github.com/repos/thecourseforum/theCourseForum","forks_url":"https://api.github.com/repos/thecourseforum/theCourseForum/forks","keys_url":"https://api.github.com/repos/thecourseforum/theCourseForum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thecourseforum/theCourseForum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thecourseforum/theCourseForum/teams","hooks_url":"https://api.github.com/repos/thecourseforum/theCourseForum/hooks","issue_events_url":"https://api.github.com/repos/thecourseforum/theCourseForum/issues/events{/number}","events_url":"https://api.github.com/repos/thecourseforum/theCourseForum/events","assignees_url":"https://api.github.com/repos/thecourseforum/theCourseForum/assignees{/user}","branches_url":"https://api.github.com/repos/thecourseforum/theCourseForum/branches{/branch}","tags_url":"https://api.github.com/repos/thecourseforum/theCourseForum/tags","blobs_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/refs{/sha}","trees_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thecourseforum/theCourseForum/statuses/{sha}","languages_url":"https://api.github.com/repos/thecourseforum/theCourseForum/languages","stargazers_url":"https://api.github.com/repos/thecourseforum/theCourseForum/stargazers","contributors_url":"https://api.github.com/repos/thecourseforum/theCourseForum/contributors","subscribers_url":"https://api.github.com/repos/thecourseforum/theCourseForum/subscribers","subscription_url":"https://api.github.com/repos/thecourseforum/theCourseForum/subscription","commits_url":"https://api.github.com/repos/thecourseforum/theCourseForum/commits{/sha}","git_commits_url":"https://api.github.com/repos/thecourseforum/theCourseForum/git/commits{/sha}","comments_url":"https://api.github.com/repos/thecourseforum/theCourseForum/comments{/number}","issue_comment_url":"https://api.github.com/repos/thecourseforum/theCourseForum/issues/comments{/number}","contents_url":"https://api.github.com/repos/thecourseforum/theCourseForum/contents/{+path}","compare_url":"https://api.github.com/repos/thecourseforum/theCourseForum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thecourseforum/theCourseForum/merges","archive_url":"https://api.github.com/repos/thecourseforum/theCourseForum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thecourseforum/theCourseForum/downloads","issues_url":"https://api.github.com/repos/thecourseforum/theCourseForum/issues{/number}","pulls_url":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls{/number}","milestones_url":"https://api.github.com/repos/thecourseforum/theCourseForum/milestones{/number}","notifications_url":"https://api.github.com/repos/thecourseforum/theCourseForum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thecourseforum/theCourseForum/labels{/name}","releases_url":"https://api.github.com/repos/thecourseforum/theCourseForum/releases{/id}","deployments_url":"https://api.github.com/repos/thecourseforum/theCourseForum/deployments","created_at":"2012-05-17T18:53:38Z","updated_at":"2016-11-02T23:55:17Z","pushed_at":"2016-12-10T19:41:16Z","git_url":"git://github.com/thecourseforum/theCourseForum.git","ssh_url":"git@github.com:thecourseforum/theCourseForum.git","clone_url":"https://github.com/thecourseforum/theCourseForum.git","svn_url":"https://github.com/thecourseforum/theCourseForum","homepage":"www.thecourseforum.com","size":46752,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":80,"forks":10,"open_issues":80,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/268"},"html":{"href":"https://github.com/thecourseforum/theCourseForum/pull/268"},"issue":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/issues/268"},"comments":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/thecourseforum/theCourseForum/statuses/6bfdc2d8bdb116d5970a545dda1af6585fb048ed"}}}}
{"actor":{"display_login":"Apoorva-A"}}