{"action":"opened","number":177,"pull_request":{"url":"https://api.github.com/repos/echo-echo/Crusoe/pulls/177","id":35574082,"html_url":"https://github.com/echo-echo/Crusoe/pull/177","diff_url":"https://github.com/echo-echo/Crusoe/pull/177.diff","patch_url":"https://github.com/echo-echo/Crusoe/pull/177.patch","issue_url":"https://api.github.com/repos/echo-echo/Crusoe/issues/177","number":177,"state":"open","locked":false,"title":"Closes #149 - adds basic pruning cron","user":{"login":"bjmfactory","id":6900377,"avatar_url":"https://avatars.githubusercontent.com/u/6900377?v=3","gravatar_id":"","url":"https://api.github.com/users/bjmfactory","html_url":"https://github.com/bjmfactory","followers_url":"https://api.github.com/users/bjmfactory/followers","following_url":"https://api.github.com/users/bjmfactory/following{/other_user}","gists_url":"https://api.github.com/users/bjmfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/bjmfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjmfactory/subscriptions","organizations_url":"https://api.github.com/users/bjmfactory/orgs","repos_url":"https://api.github.com/users/bjmfactory/repos","events_url":"https://api.github.com/users/bjmfactory/events{/privacy}","received_events_url":"https://api.github.com/users/bjmfactory/received_events","type":"User","site_admin":false},"body":"Each day it looks for (and removes) messages that have over 20 opens and zero likes. I noticed while I was working on this that you can only like a message if you're logged in. Also, messages deleted from the db stay on the map until the next map refresh.","created_at":"2015-05-16T17:05:33Z","updated_at":"2015-05-16T17:05:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/echo-echo/Crusoe/pulls/177/commits","review_comments_url":"https://api.github.com/repos/echo-echo/Crusoe/pulls/177/comments","review_comment_url":"https://api.github.com/repos/echo-echo/Crusoe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/echo-echo/Crusoe/issues/177/comments","statuses_url":"https://api.github.com/repos/echo-echo/Crusoe/statuses/1a2d182293649a00a144fce9339424a85bca429d","head":{"label":"echo-echo:cron#149","ref":"cron#149","sha":"1a2d182293649a00a144fce9339424a85bca429d","user":{"login":"echo-echo","id":12173387,"avatar_url":"https://avatars.githubusercontent.com/u/12173387?v=3","gravatar_id":"","url":"https://api.github.com/users/echo-echo","html_url":"https://github.com/echo-echo","followers_url":"https://api.github.com/users/echo-echo/followers","following_url":"https://api.github.com/users/echo-echo/following{/other_user}","gists_url":"https://api.github.com/users/echo-echo/gists{/gist_id}","starred_url":"https://api.github.com/users/echo-echo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echo-echo/subscriptions","organizations_url":"https://api.github.com/users/echo-echo/orgs","repos_url":"https://api.github.com/users/echo-echo/repos","events_url":"https://api.github.com/users/echo-echo/events{/privacy}","received_events_url":"https://api.github.com/users/echo-echo/received_events","type":"Organization","site_admin":false},"repo":{"id":34805705,"name":"Crusoe","full_name":"echo-echo/Crusoe","owner":{"login":"echo-echo","id":12173387,"avatar_url":"https://avatars.githubusercontent.com/u/12173387?v=3","gravatar_id":"","url":"https://api.github.com/users/echo-echo","html_url":"https://github.com/echo-echo","followers_url":"https://api.github.com/users/echo-echo/followers","following_url":"https://api.github.com/users/echo-echo/following{/other_user}","gists_url":"https://api.github.com/users/echo-echo/gists{/gist_id}","starred_url":"https://api.github.com/users/echo-echo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echo-echo/subscriptions","organizations_url":"https://api.github.com/users/echo-echo/orgs","repos_url":"https://api.github.com/users/echo-echo/repos","events_url":"https://api.github.com/users/echo-echo/events{/privacy}","received_events_url":"https://api.github.com/users/echo-echo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/echo-echo/Crusoe","description":"The modern message in a bottle","fork":false,"url":"https://api.github.com/repos/echo-echo/Crusoe","forks_url":"https://api.github.com/repos/echo-echo/Crusoe/forks","keys_url":"https://api.github.com/repos/echo-echo/Crusoe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/echo-echo/Crusoe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/echo-echo/Crusoe/teams","hooks_url":"https://api.github.com/repos/echo-echo/Crusoe/hooks","issue_events_url":"https://api.github.com/repos/echo-echo/Crusoe/issues/events{/number}","events_url":"https://api.github.com/repos/echo-echo/Crusoe/events","assignees_url":"https://api.github.com/repos/echo-echo/Crusoe/assignees{/user}","branches_url":"https://api.github.com/repos/echo-echo/Crusoe/branches{/branch}","tags_url":"https://api.github.com/repos/echo-echo/Crusoe/tags","blobs_url":"https://api.github.com/repos/echo-echo/Crusoe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/echo-echo/Crusoe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/echo-echo/Crusoe/git/refs{/sha}","trees_url":"https://api.github.com/repos/echo-echo/Crusoe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/echo-echo/Crusoe/statuses/{sha}","languages_url":"https://api.github.com/repos/echo-echo/Crusoe/languages","stargazers_url":"https://api.github.com/repos/echo-echo/Crusoe/stargazers","contributors_url":"https://api.github.com/repos/echo-echo/Crusoe/contributors","subscribers_url":"https://api.github.com/repos/echo-echo/Crusoe/subscribers","subscription_url":"https://api.github.com/repos/echo-echo/Crusoe/subscription","commits_url":"https://api.github.com/repos/echo-echo/Crusoe/commits{/sha}","git_commits_url":"https://api.github.com/repos/echo-echo/Crusoe/git/commits{/sha}","comments_url":"https://api.github.com/repos/echo-echo/Crusoe/comments{/number}","issue_comment_url":"https://api.github.com/repos/echo-echo/Crusoe/issues/comments{/number}","contents_url":"https://api.github.com/repos/echo-echo/Crusoe/contents/{+path}","compare_url":"https://api.github.com/repos/echo-echo/Crusoe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/echo-echo/Crusoe/merges","archive_url":"https://api.github.com/repos/echo-echo/Crusoe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/echo-echo/Crusoe/downloads","issues_url":"https://api.github.com/repos/echo-echo/Crusoe/issues{/number}","pulls_url":"https://api.github.com/repos/echo-echo/Crusoe/pulls{/number}","milestones_url":"https://api.github.com/repos/echo-echo/Crusoe/milestones{/number}","notifications_url":"https://api.github.com/repos/echo-echo/Crusoe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/echo-echo/Crusoe/labels{/name}","releases_url":"https://api.github.com/repos/echo-echo/Crusoe/releases{/id}","created_at":"2015-04-29T16:43:19Z","updated_at":"2015-05-08T20:32:27Z","pushed_at":"2015-05-16T17:03:23Z","git_url":"git://github.com/echo-echo/Crusoe.git","ssh_url":"git@github.com:echo-echo/Crusoe.git","clone_url":"https://github.com/echo-echo/Crusoe.git","svn_url":"https://github.com/echo-echo/Crusoe","homepage":null,"size":3728,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":19,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"echo-echo:master","ref":"master","sha":"0fd435102d75e2990ed660916fdb8a87d0222ea5","user":{"login":"echo-echo","id":12173387,"avatar_url":"https://avatars.githubusercontent.com/u/12173387?v=3","gravatar_id":"","url":"https://api.github.com/users/echo-echo","html_url":"https://github.com/echo-echo","followers_url":"https://api.github.com/users/echo-echo/followers","following_url":"https://api.github.com/users/echo-echo/following{/other_user}","gists_url":"https://api.github.com/users/echo-echo/gists{/gist_id}","starred_url":"https://api.github.com/users/echo-echo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echo-echo/subscriptions","organizations_url":"https://api.github.com/users/echo-echo/orgs","repos_url":"https://api.github.com/users/echo-echo/repos","events_url":"https://api.github.com/users/echo-echo/events{/privacy}","received_events_url":"https://api.github.com/users/echo-echo/received_events","type":"Organization","site_admin":false},"repo":{"id":34805705,"name":"Crusoe","full_name":"echo-echo/Crusoe","owner":{"login":"echo-echo","id":12173387,"avatar_url":"https://avatars.githubusercontent.com/u/12173387?v=3","gravatar_id":"","url":"https://api.github.com/users/echo-echo","html_url":"https://github.com/echo-echo","followers_url":"https://api.github.com/users/echo-echo/followers","following_url":"https://api.github.com/users/echo-echo/following{/other_user}","gists_url":"https://api.github.com/users/echo-echo/gists{/gist_id}","starred_url":"https://api.github.com/users/echo-echo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echo-echo/subscriptions","organizations_url":"https://api.github.com/users/echo-echo/orgs","repos_url":"https://api.github.com/users/echo-echo/repos","events_url":"https://api.github.com/users/echo-echo/events{/privacy}","received_events_url":"https://api.github.com/users/echo-echo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/echo-echo/Crusoe","description":"The modern message in a bottle","fork":false,"url":"https://api.github.com/repos/echo-echo/Crusoe","forks_url":"https://api.github.com/repos/echo-echo/Crusoe/forks","keys_url":"https://api.github.com/repos/echo-echo/Crusoe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/echo-echo/Crusoe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/echo-echo/Crusoe/teams","hooks_url":"https://api.github.com/repos/echo-echo/Crusoe/hooks","issue_events_url":"https://api.github.com/repos/echo-echo/Crusoe/issues/events{/number}","events_url":"https://api.github.com/repos/echo-echo/Crusoe/events","assignees_url":"https://api.github.com/repos/echo-echo/Crusoe/assignees{/user}","branches_url":"https://api.github.com/repos/echo-echo/Crusoe/branches{/branch}","tags_url":"https://api.github.com/repos/echo-echo/Crusoe/tags","blobs_url":"https://api.github.com/repos/echo-echo/Crusoe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/echo-echo/Crusoe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/echo-echo/Crusoe/git/refs{/sha}","trees_url":"https://api.github.com/repos/echo-echo/Crusoe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/echo-echo/Crusoe/statuses/{sha}","languages_url":"https://api.github.com/repos/echo-echo/Crusoe/languages","stargazers_url":"https://api.github.com/repos/echo-echo/Crusoe/stargazers","contributors_url":"https://api.github.com/repos/echo-echo/Crusoe/contributors","subscribers_url":"https://api.github.com/repos/echo-echo/Crusoe/subscribers","subscription_url":"https://api.github.com/repos/echo-echo/Crusoe/subscription","commits_url":"https://api.github.com/repos/echo-echo/Crusoe/commits{/sha}","git_commits_url":"https://api.github.com/repos/echo-echo/Crusoe/git/commits{/sha}","comments_url":"https://api.github.com/repos/echo-echo/Crusoe/comments{/number}","issue_comment_url":"https://api.github.com/repos/echo-echo/Crusoe/issues/comments{/number}","contents_url":"https://api.github.com/repos/echo-echo/Crusoe/contents/{+path}","compare_url":"https://api.github.com/repos/echo-echo/Crusoe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/echo-echo/Crusoe/merges","archive_url":"https://api.github.com/repos/echo-echo/Crusoe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/echo-echo/Crusoe/downloads","issues_url":"https://api.github.com/repos/echo-echo/Crusoe/issues{/number}","pulls_url":"https://api.github.com/repos/echo-echo/Crusoe/pulls{/number}","milestones_url":"https://api.github.com/repos/echo-echo/Crusoe/milestones{/number}","notifications_url":"https://api.github.com/repos/echo-echo/Crusoe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/echo-echo/Crusoe/labels{/name}","releases_url":"https://api.github.com/repos/echo-echo/Crusoe/releases{/id}","created_at":"2015-04-29T16:43:19Z","updated_at":"2015-05-08T20:32:27Z","pushed_at":"2015-05-16T17:03:23Z","git_url":"git://github.com/echo-echo/Crusoe.git","ssh_url":"git@github.com:echo-echo/Crusoe.git","clone_url":"https://github.com/echo-echo/Crusoe.git","svn_url":"https://github.com/echo-echo/Crusoe","homepage":null,"size":3728,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":19,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/echo-echo/Crusoe/pulls/177"},"html":{"href":"https://github.com/echo-echo/Crusoe/pull/177"},"issue":{"href":"https://api.github.com/repos/echo-echo/Crusoe/issues/177"},"comments":{"href":"https://api.github.com/repos/echo-echo/Crusoe/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/echo-echo/Crusoe/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/echo-echo/Crusoe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/echo-echo/Crusoe/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/echo-echo/Crusoe/statuses/1a2d182293649a00a144fce9339424a85bca429d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":18,"deletions":1,"changed_files":2}}