{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls/12","id":70281444,"html_url":"https://github.com/mapbox/ecs-watchbot/pull/12","diff_url":"https://github.com/mapbox/ecs-watchbot/pull/12.diff","patch_url":"https://github.com/mapbox/ecs-watchbot/pull/12.patch","issue_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/12","number":12,"state":"open","locked":false,"title":"Fix cases where messages are received twice.","user":{"login":"rclark","id":515424,"avatar_url":"https://avatars.githubusercontent.com/u/515424?v=3","gravatar_id":"","url":"https://api.github.com/users/rclark","html_url":"https://github.com/rclark","followers_url":"https://api.github.com/users/rclark/followers","following_url":"https://api.github.com/users/rclark/following{/other_user}","gists_url":"https://api.github.com/users/rclark/gists{/gist_id}","starred_url":"https://api.github.com/users/rclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rclark/subscriptions","organizations_url":"https://api.github.com/users/rclark/orgs","repos_url":"https://api.github.com/users/rclark/repos","events_url":"https://api.github.com/users/rclark/events{/privacy}","received_events_url":"https://api.github.com/users/rclark/received_events","type":"User","site_admin":false},"body":"Fixes #9 \r\n\r\nThis fix is for the case where a single watcher receives a single message twice. The multi-watcher case was actually already covered: a second attempt to delete the message from the queue will fail silently.","created_at":"2016-05-17T00:04:31Z","updated_at":"2016-05-17T00:04:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls/12/commits","review_comments_url":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls/12/comments","review_comment_url":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/12/comments","statuses_url":"https://api.github.com/repos/mapbox/ecs-watchbot/statuses/ae8a14ff55ac773c90ba7b192fc5b68fe16a8585","head":{"label":"mapbox:twice","ref":"twice","sha":"ae8a14ff55ac773c90ba7b192fc5b68fe16a8585","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":58421365,"name":"ecs-watchbot","full_name":"mapbox/ecs-watchbot","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/ecs-watchbot","description":"Make robots do your work for you","fork":false,"url":"https://api.github.com/repos/mapbox/ecs-watchbot","forks_url":"https://api.github.com/repos/mapbox/ecs-watchbot/forks","keys_url":"https://api.github.com/repos/mapbox/ecs-watchbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/ecs-watchbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/ecs-watchbot/teams","hooks_url":"https://api.github.com/repos/mapbox/ecs-watchbot/hooks","issue_events_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/ecs-watchbot/events","assignees_url":"https://api.github.com/repos/mapbox/ecs-watchbot/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/ecs-watchbot/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/ecs-watchbot/tags","blobs_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/ecs-watchbot/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/ecs-watchbot/languages","stargazers_url":"https://api.github.com/repos/mapbox/ecs-watchbot/stargazers","contributors_url":"https://api.github.com/repos/mapbox/ecs-watchbot/contributors","subscribers_url":"https://api.github.com/repos/mapbox/ecs-watchbot/subscribers","subscription_url":"https://api.github.com/repos/mapbox/ecs-watchbot/subscription","commits_url":"https://api.github.com/repos/mapbox/ecs-watchbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/ecs-watchbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/ecs-watchbot/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/ecs-watchbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/ecs-watchbot/merges","archive_url":"https://api.github.com/repos/mapbox/ecs-watchbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/ecs-watchbot/downloads","issues_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/ecs-watchbot/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/ecs-watchbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/ecs-watchbot/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/ecs-watchbot/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/ecs-watchbot/deployments","created_at":"2016-05-10T01:54:03Z","updated_at":"2016-05-10T02:12:18Z","pushed_at":"2016-05-17T00:03:09Z","git_url":"git://github.com/mapbox/ecs-watchbot.git","ssh_url":"git@github.com:mapbox/ecs-watchbot.git","clone_url":"https://github.com/mapbox/ecs-watchbot.git","svn_url":"https://github.com/mapbox/ecs-watchbot","homepage":null,"size":621,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"9337025efd9de3d2d2727ba0f24085f1c25f9480","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":58421365,"name":"ecs-watchbot","full_name":"mapbox/ecs-watchbot","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/ecs-watchbot","description":"Make robots do your work for you","fork":false,"url":"https://api.github.com/repos/mapbox/ecs-watchbot","forks_url":"https://api.github.com/repos/mapbox/ecs-watchbot/forks","keys_url":"https://api.github.com/repos/mapbox/ecs-watchbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/ecs-watchbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/ecs-watchbot/teams","hooks_url":"https://api.github.com/repos/mapbox/ecs-watchbot/hooks","issue_events_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/ecs-watchbot/events","assignees_url":"https://api.github.com/repos/mapbox/ecs-watchbot/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/ecs-watchbot/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/ecs-watchbot/tags","blobs_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/ecs-watchbot/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/ecs-watchbot/languages","stargazers_url":"https://api.github.com/repos/mapbox/ecs-watchbot/stargazers","contributors_url":"https://api.github.com/repos/mapbox/ecs-watchbot/contributors","subscribers_url":"https://api.github.com/repos/mapbox/ecs-watchbot/subscribers","subscription_url":"https://api.github.com/repos/mapbox/ecs-watchbot/subscription","commits_url":"https://api.github.com/repos/mapbox/ecs-watchbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/ecs-watchbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/ecs-watchbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/ecs-watchbot/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/ecs-watchbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/ecs-watchbot/merges","archive_url":"https://api.github.com/repos/mapbox/ecs-watchbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/ecs-watchbot/downloads","issues_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/ecs-watchbot/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/ecs-watchbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/ecs-watchbot/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/ecs-watchbot/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/ecs-watchbot/deployments","created_at":"2016-05-10T01:54:03Z","updated_at":"2016-05-10T02:12:18Z","pushed_at":"2016-05-17T00:03:09Z","git_url":"git://github.com/mapbox/ecs-watchbot.git","ssh_url":"git@github.com:mapbox/ecs-watchbot.git","clone_url":"https://github.com/mapbox/ecs-watchbot.git","svn_url":"https://github.com/mapbox/ecs-watchbot","homepage":null,"size":621,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls/12"},"html":{"href":"https://github.com/mapbox/ecs-watchbot/pull/12"},"issue":{"href":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/12"},"comments":{"href":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/ecs-watchbot/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/ecs-watchbot/statuses/ae8a14ff55ac773c90ba7b192fc5b68fe16a8585"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":52,"deletions":7,"changed_files":2}}