{"action":"created","comment":{"url":"https://api.github.com/repos/chadev/chatech-jobs/pulls/comments/44865655","id":44865655,"diff_hunk":"@@ -0,0 +1,2 @@\n+Rails.application.config.rakismet.key = ENV['RAKISMET_KEY']","path":"config/initializers/rakismet.rb","position":1,"original_position":1,"commit_id":"1437244f47abea9aceb4ebfd41675211798b6d31","original_commit_id":"1437244f47abea9aceb4ebfd41675211798b6d31","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-11-15T00:04:49Z","updated_at":"2015-11-15T00:04:49Z","html_url":"https://github.com/chadev/chatech-jobs/pull/37#discussion_r44865655","pull_request_url":"https://api.github.com/repos/chadev/chatech-jobs/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/chadev/chatech-jobs/pulls/comments/44865655"},"html":{"href":"https://github.com/chadev/chatech-jobs/pull/37#discussion_r44865655"},"pull_request":{"href":"https://api.github.com/repos/chadev/chatech-jobs/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/chadev/chatech-jobs/pulls/37","id":50735760,"html_url":"https://github.com/chadev/chatech-jobs/pull/37","diff_url":"https://github.com/chadev/chatech-jobs/pull/37.diff","patch_url":"https://github.com/chadev/chatech-jobs/pull/37.patch","issue_url":"https://api.github.com/repos/chadev/chatech-jobs/issues/37","number":37,"state":"open","locked":false,"title":"Add Akismet for spam filtering","user":{"login":"t-richards","id":3905798,"avatar_url":"https://avatars.githubusercontent.com/u/3905798?v=3","gravatar_id":"","url":"https://api.github.com/users/t-richards","html_url":"https://github.com/t-richards","followers_url":"https://api.github.com/users/t-richards/followers","following_url":"https://api.github.com/users/t-richards/following{/other_user}","gists_url":"https://api.github.com/users/t-richards/gists{/gist_id}","starred_url":"https://api.github.com/users/t-richards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-richards/subscriptions","organizations_url":"https://api.github.com/users/t-richards/orgs","repos_url":"https://api.github.com/users/t-richards/repos","events_url":"https://api.github.com/users/t-richards/events{/privacy}","received_events_url":"https://api.github.com/users/t-richards/received_events","type":"User","site_admin":false},"body":"# General Notes\r\n\r\n - Job postings created from the frontend will be filtered through Akismet.\r\n - Admins have the ability to review/change spam flags on individual job postings as necessary.\r\n - Requires two new environment variables:\r\n   - `RAKISMET_KEY`\r\n   - `RAKISMET_URL`\r\n\r\n# Frontend\r\nSpam job postings are not displayed by default:\r\n![image](https://cloud.githubusercontent.com/assets/3905798/11166438/432abe7e-8b01-11e5-9a4a-9d3e96b9973e.png)\r\n\r\n# Backend\r\nAdded \"submit spam\" and \"submit ham\" actions for individual job postings:\r\n![image](https://cloud.githubusercontent.com/assets/3905798/11166445/6a3e78ac-8b01-11e5-9c94-bd2a8a1e19cc.png)\r\n\r\nTrimmed up columns on job postings index:\r\n![image](https://cloud.githubusercontent.com/assets/3905798/11166470/756891e4-8b02-11e5-8f7c-500a53b75171.png)\r\n\r\n","created_at":"2015-11-15T00:04:42Z","updated_at":"2015-11-15T00:04:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6dc8a07f70f04f11632f068e780cf83f81168939","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chadev/chatech-jobs/pulls/37/commits","review_comments_url":"https://api.github.com/repos/chadev/chatech-jobs/pulls/37/comments","review_comment_url":"https://api.github.com/repos/chadev/chatech-jobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chadev/chatech-jobs/issues/37/comments","statuses_url":"https://api.github.com/repos/chadev/chatech-jobs/statuses/1437244f47abea9aceb4ebfd41675211798b6d31","head":{"label":"t-richards:features/spam-filter-36","ref":"features/spam-filter-36","sha":"1437244f47abea9aceb4ebfd41675211798b6d31","user":{"login":"t-richards","id":3905798,"avatar_url":"https://avatars.githubusercontent.com/u/3905798?v=3","gravatar_id":"","url":"https://api.github.com/users/t-richards","html_url":"https://github.com/t-richards","followers_url":"https://api.github.com/users/t-richards/followers","following_url":"https://api.github.com/users/t-richards/following{/other_user}","gists_url":"https://api.github.com/users/t-richards/gists{/gist_id}","starred_url":"https://api.github.com/users/t-richards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-richards/subscriptions","organizations_url":"https://api.github.com/users/t-richards/orgs","repos_url":"https://api.github.com/users/t-richards/repos","events_url":"https://api.github.com/users/t-richards/events{/privacy}","received_events_url":"https://api.github.com/users/t-richards/received_events","type":"User","site_admin":false},"repo":{"id":46188329,"name":"chatech-jobs","full_name":"t-richards/chatech-jobs","owner":{"login":"t-richards","id":3905798,"avatar_url":"https://avatars.githubusercontent.com/u/3905798?v=3","gravatar_id":"","url":"https://api.github.com/users/t-richards","html_url":"https://github.com/t-richards","followers_url":"https://api.github.com/users/t-richards/followers","following_url":"https://api.github.com/users/t-richards/following{/other_user}","gists_url":"https://api.github.com/users/t-richards/gists{/gist_id}","starred_url":"https://api.github.com/users/t-richards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-richards/subscriptions","organizations_url":"https://api.github.com/users/t-richards/orgs","repos_url":"https://api.github.com/users/t-richards/repos","events_url":"https://api.github.com/users/t-richards/events{/privacy}","received_events_url":"https://api.github.com/users/t-richards/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/t-richards/chatech-jobs","description":"A job board for Chattanooga's Developers and Tech peoples.","fork":true,"url":"https://api.github.com/repos/t-richards/chatech-jobs","forks_url":"https://api.github.com/repos/t-richards/chatech-jobs/forks","keys_url":"https://api.github.com/repos/t-richards/chatech-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/t-richards/chatech-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/t-richards/chatech-jobs/teams","hooks_url":"https://api.github.com/repos/t-richards/chatech-jobs/hooks","issue_events_url":"https://api.github.com/repos/t-richards/chatech-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/t-richards/chatech-jobs/events","assignees_url":"https://api.github.com/repos/t-richards/chatech-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/t-richards/chatech-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/t-richards/chatech-jobs/tags","blobs_url":"https://api.github.com/repos/t-richards/chatech-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/t-richards/chatech-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/t-richards/chatech-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/t-richards/chatech-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/t-richards/chatech-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/t-richards/chatech-jobs/languages","stargazers_url":"https://api.github.com/repos/t-richards/chatech-jobs/stargazers","contributors_url":"https://api.github.com/repos/t-richards/chatech-jobs/contributors","subscribers_url":"https://api.github.com/repos/t-richards/chatech-jobs/subscribers","subscription_url":"https://api.github.com/repos/t-richards/chatech-jobs/subscription","commits_url":"https://api.github.com/repos/t-richards/chatech-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/t-richards/chatech-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/t-richards/chatech-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/t-richards/chatech-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/t-richards/chatech-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/t-richards/chatech-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/t-richards/chatech-jobs/merges","archive_url":"https://api.github.com/repos/t-richards/chatech-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/t-richards/chatech-jobs/downloads","issues_url":"https://api.github.com/repos/t-richards/chatech-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/t-richards/chatech-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/t-richards/chatech-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/t-richards/chatech-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/t-richards/chatech-jobs/labels{/name}","releases_url":"https://api.github.com/repos/t-richards/chatech-jobs/releases{/id}","created_at":"2015-11-14T19:13:09Z","updated_at":"2015-11-14T19:13:10Z","pushed_at":"2015-11-14T23:53:54Z","git_url":"git://github.com/t-richards/chatech-jobs.git","ssh_url":"git@github.com:t-richards/chatech-jobs.git","clone_url":"https://github.com/t-richards/chatech-jobs.git","svn_url":"https://github.com/t-richards/chatech-jobs","homepage":"http://jobs.chadev.com","size":418,"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":"chadev:master","ref":"master","sha":"298a48e3ac43ebde9e0b791624360a4559f62e9d","user":{"login":"chadev","id":6273491,"avatar_url":"https://avatars.githubusercontent.com/u/6273491?v=3","gravatar_id":"","url":"https://api.github.com/users/chadev","html_url":"https://github.com/chadev","followers_url":"https://api.github.com/users/chadev/followers","following_url":"https://api.github.com/users/chadev/following{/other_user}","gists_url":"https://api.github.com/users/chadev/gists{/gist_id}","starred_url":"https://api.github.com/users/chadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadev/subscriptions","organizations_url":"https://api.github.com/users/chadev/orgs","repos_url":"https://api.github.com/users/chadev/repos","events_url":"https://api.github.com/users/chadev/events{/privacy}","received_events_url":"https://api.github.com/users/chadev/received_events","type":"Organization","site_admin":false},"repo":{"id":35380715,"name":"chatech-jobs","full_name":"chadev/chatech-jobs","owner":{"login":"chadev","id":6273491,"avatar_url":"https://avatars.githubusercontent.com/u/6273491?v=3","gravatar_id":"","url":"https://api.github.com/users/chadev","html_url":"https://github.com/chadev","followers_url":"https://api.github.com/users/chadev/followers","following_url":"https://api.github.com/users/chadev/following{/other_user}","gists_url":"https://api.github.com/users/chadev/gists{/gist_id}","starred_url":"https://api.github.com/users/chadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadev/subscriptions","organizations_url":"https://api.github.com/users/chadev/orgs","repos_url":"https://api.github.com/users/chadev/repos","events_url":"https://api.github.com/users/chadev/events{/privacy}","received_events_url":"https://api.github.com/users/chadev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chadev/chatech-jobs","description":"A job board for Chattanooga's Developers and Tech peoples.","fork":false,"url":"https://api.github.com/repos/chadev/chatech-jobs","forks_url":"https://api.github.com/repos/chadev/chatech-jobs/forks","keys_url":"https://api.github.com/repos/chadev/chatech-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chadev/chatech-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chadev/chatech-jobs/teams","hooks_url":"https://api.github.com/repos/chadev/chatech-jobs/hooks","issue_events_url":"https://api.github.com/repos/chadev/chatech-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/chadev/chatech-jobs/events","assignees_url":"https://api.github.com/repos/chadev/chatech-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/chadev/chatech-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/chadev/chatech-jobs/tags","blobs_url":"https://api.github.com/repos/chadev/chatech-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chadev/chatech-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chadev/chatech-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/chadev/chatech-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chadev/chatech-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/chadev/chatech-jobs/languages","stargazers_url":"https://api.github.com/repos/chadev/chatech-jobs/stargazers","contributors_url":"https://api.github.com/repos/chadev/chatech-jobs/contributors","subscribers_url":"https://api.github.com/repos/chadev/chatech-jobs/subscribers","subscription_url":"https://api.github.com/repos/chadev/chatech-jobs/subscription","commits_url":"https://api.github.com/repos/chadev/chatech-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/chadev/chatech-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/chadev/chatech-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/chadev/chatech-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/chadev/chatech-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/chadev/chatech-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chadev/chatech-jobs/merges","archive_url":"https://api.github.com/repos/chadev/chatech-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chadev/chatech-jobs/downloads","issues_url":"https://api.github.com/repos/chadev/chatech-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/chadev/chatech-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/chadev/chatech-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/chadev/chatech-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chadev/chatech-jobs/labels{/name}","releases_url":"https://api.github.com/repos/chadev/chatech-jobs/releases{/id}","created_at":"2015-05-10T17:28:23Z","updated_at":"2015-05-27T01:04:55Z","pushed_at":"2015-11-15T00:04:43Z","git_url":"git://github.com/chadev/chatech-jobs.git","ssh_url":"git@github.com:chadev/chatech-jobs.git","clone_url":"https://github.com/chadev/chatech-jobs.git","svn_url":"https://github.com/chadev/chatech-jobs","homepage":"http://jobs.chadev.com","size":418,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":9,"forks":5,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chadev/chatech-jobs/pulls/37"},"html":{"href":"https://github.com/chadev/chatech-jobs/pull/37"},"issue":{"href":"https://api.github.com/repos/chadev/chatech-jobs/issues/37"},"comments":{"href":"https://api.github.com/repos/chadev/chatech-jobs/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/chadev/chatech-jobs/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/chadev/chatech-jobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chadev/chatech-jobs/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/chadev/chatech-jobs/statuses/1437244f47abea9aceb4ebfd41675211798b6d31"}}}}