{"action":"closed","number":145,"pull_request":{"url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls/145","id":41621364,"html_url":"https://github.com/noodlefrenzy/node-amqp10/pull/145","diff_url":"https://github.com/noodlefrenzy/node-amqp10/pull/145.diff","patch_url":"https://github.com/noodlefrenzy/node-amqp10/pull/145.patch","issue_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/145","number":145,"state":"closed","locked":false,"title":"refactor(checkCredit): check credits only on disposition","user":{"login":"mbroadst","id":312966,"avatar_url":"https://avatars.githubusercontent.com/u/312966?v=3","gravatar_id":"","url":"https://api.github.com/users/mbroadst","html_url":"https://github.com/mbroadst","followers_url":"https://api.github.com/users/mbroadst/followers","following_url":"https://api.github.com/users/mbroadst/following{/other_user}","gists_url":"https://api.github.com/users/mbroadst/gists{/gist_id}","starred_url":"https://api.github.com/users/mbroadst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbroadst/subscriptions","organizations_url":"https://api.github.com/users/mbroadst/orgs","repos_url":"https://api.github.com/users/mbroadst/repos","events_url":"https://api.github.com/users/mbroadst/events{/privacy}","received_events_url":"https://api.github.com/users/mbroadst/received_events","type":"User","site_admin":false},"body":"_checkCredit was previous called any time an incoming message was\r\nreceived, however this doesn't necessarily jive with users trying\r\nto maintain granular control over the flow of incoming messages.\r\nNow, _checkCredits is only called on disposition.","created_at":"2015-08-04T21:44:16Z","updated_at":"2015-08-04T21:54:29Z","closed_at":"2015-08-04T21:54:29Z","merged_at":"2015-08-04T21:54:29Z","merge_commit_sha":"b65d420d912deee75e78be2104aa219db06552ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls/145/commits","review_comments_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls/145/comments","review_comment_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls/comments{/number}","comments_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/145/comments","statuses_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/statuses/abf0c9070a49e02f0e83ef1e260edc850cc3cd55","head":{"label":"noodlefrenzy:accept-reject-check-credit","ref":"accept-reject-check-credit","sha":"abf0c9070a49e02f0e83ef1e260edc850cc3cd55","user":{"login":"noodlefrenzy","id":813544,"avatar_url":"https://avatars.githubusercontent.com/u/813544?v=3","gravatar_id":"","url":"https://api.github.com/users/noodlefrenzy","html_url":"https://github.com/noodlefrenzy","followers_url":"https://api.github.com/users/noodlefrenzy/followers","following_url":"https://api.github.com/users/noodlefrenzy/following{/other_user}","gists_url":"https://api.github.com/users/noodlefrenzy/gists{/gist_id}","starred_url":"https://api.github.com/users/noodlefrenzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noodlefrenzy/subscriptions","organizations_url":"https://api.github.com/users/noodlefrenzy/orgs","repos_url":"https://api.github.com/users/noodlefrenzy/repos","events_url":"https://api.github.com/users/noodlefrenzy/events{/privacy}","received_events_url":"https://api.github.com/users/noodlefrenzy/received_events","type":"User","site_admin":false},"repo":{"id":24899166,"name":"node-amqp10","full_name":"noodlefrenzy/node-amqp10","owner":{"login":"noodlefrenzy","id":813544,"avatar_url":"https://avatars.githubusercontent.com/u/813544?v=3","gravatar_id":"","url":"https://api.github.com/users/noodlefrenzy","html_url":"https://github.com/noodlefrenzy","followers_url":"https://api.github.com/users/noodlefrenzy/followers","following_url":"https://api.github.com/users/noodlefrenzy/following{/other_user}","gists_url":"https://api.github.com/users/noodlefrenzy/gists{/gist_id}","starred_url":"https://api.github.com/users/noodlefrenzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noodlefrenzy/subscriptions","organizations_url":"https://api.github.com/users/noodlefrenzy/orgs","repos_url":"https://api.github.com/users/noodlefrenzy/repos","events_url":"https://api.github.com/users/noodlefrenzy/events{/privacy}","received_events_url":"https://api.github.com/users/noodlefrenzy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noodlefrenzy/node-amqp10","description":"AMQP 1.0-compliant Node.js client.  Since AMQP 1.0 is such a large departure from 0.9.1, I've started a new project rather than fork from node-amqp or amqp.node.","fork":false,"url":"https://api.github.com/repos/noodlefrenzy/node-amqp10","forks_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/forks","keys_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/teams","hooks_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/hooks","issue_events_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/events{/number}","events_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/events","assignees_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/assignees{/user}","branches_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/branches{/branch}","tags_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/tags","blobs_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/refs{/sha}","trees_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/statuses/{sha}","languages_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/languages","stargazers_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/stargazers","contributors_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/contributors","subscribers_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/subscribers","subscription_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/subscription","commits_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/commits{/sha}","git_commits_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/commits{/sha}","comments_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/comments{/number}","issue_comment_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/comments{/number}","contents_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/contents/{+path}","compare_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/merges","archive_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/downloads","issues_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues{/number}","pulls_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls{/number}","milestones_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/milestones{/number}","notifications_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/labels{/name}","releases_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/releases{/id}","created_at":"2014-10-07T16:13:45Z","updated_at":"2015-07-14T23:05:01Z","pushed_at":"2015-08-04T21:54:29Z","git_url":"git://github.com/noodlefrenzy/node-amqp10.git","ssh_url":"git@github.com:noodlefrenzy/node-amqp10.git","clone_url":"https://github.com/noodlefrenzy/node-amqp10.git","svn_url":"https://github.com/noodlefrenzy/node-amqp10","homepage":null,"size":2609,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":10,"forks":6,"open_issues":10,"watchers":21,"default_branch":"master"}},"base":{"label":"noodlefrenzy:master","ref":"master","sha":"eb3e41d0a7666c0ecc0c13c15abf0462b079d340","user":{"login":"noodlefrenzy","id":813544,"avatar_url":"https://avatars.githubusercontent.com/u/813544?v=3","gravatar_id":"","url":"https://api.github.com/users/noodlefrenzy","html_url":"https://github.com/noodlefrenzy","followers_url":"https://api.github.com/users/noodlefrenzy/followers","following_url":"https://api.github.com/users/noodlefrenzy/following{/other_user}","gists_url":"https://api.github.com/users/noodlefrenzy/gists{/gist_id}","starred_url":"https://api.github.com/users/noodlefrenzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noodlefrenzy/subscriptions","organizations_url":"https://api.github.com/users/noodlefrenzy/orgs","repos_url":"https://api.github.com/users/noodlefrenzy/repos","events_url":"https://api.github.com/users/noodlefrenzy/events{/privacy}","received_events_url":"https://api.github.com/users/noodlefrenzy/received_events","type":"User","site_admin":false},"repo":{"id":24899166,"name":"node-amqp10","full_name":"noodlefrenzy/node-amqp10","owner":{"login":"noodlefrenzy","id":813544,"avatar_url":"https://avatars.githubusercontent.com/u/813544?v=3","gravatar_id":"","url":"https://api.github.com/users/noodlefrenzy","html_url":"https://github.com/noodlefrenzy","followers_url":"https://api.github.com/users/noodlefrenzy/followers","following_url":"https://api.github.com/users/noodlefrenzy/following{/other_user}","gists_url":"https://api.github.com/users/noodlefrenzy/gists{/gist_id}","starred_url":"https://api.github.com/users/noodlefrenzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noodlefrenzy/subscriptions","organizations_url":"https://api.github.com/users/noodlefrenzy/orgs","repos_url":"https://api.github.com/users/noodlefrenzy/repos","events_url":"https://api.github.com/users/noodlefrenzy/events{/privacy}","received_events_url":"https://api.github.com/users/noodlefrenzy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noodlefrenzy/node-amqp10","description":"AMQP 1.0-compliant Node.js client.  Since AMQP 1.0 is such a large departure from 0.9.1, I've started a new project rather than fork from node-amqp or amqp.node.","fork":false,"url":"https://api.github.com/repos/noodlefrenzy/node-amqp10","forks_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/forks","keys_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/teams","hooks_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/hooks","issue_events_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/events{/number}","events_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/events","assignees_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/assignees{/user}","branches_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/branches{/branch}","tags_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/tags","blobs_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/refs{/sha}","trees_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/statuses/{sha}","languages_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/languages","stargazers_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/stargazers","contributors_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/contributors","subscribers_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/subscribers","subscription_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/subscription","commits_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/commits{/sha}","git_commits_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/git/commits{/sha}","comments_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/comments{/number}","issue_comment_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/comments{/number}","contents_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/contents/{+path}","compare_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/merges","archive_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/downloads","issues_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues{/number}","pulls_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls{/number}","milestones_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/milestones{/number}","notifications_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/labels{/name}","releases_url":"https://api.github.com/repos/noodlefrenzy/node-amqp10/releases{/id}","created_at":"2014-10-07T16:13:45Z","updated_at":"2015-07-14T23:05:01Z","pushed_at":"2015-08-04T21:54:29Z","git_url":"git://github.com/noodlefrenzy/node-amqp10.git","ssh_url":"git@github.com:noodlefrenzy/node-amqp10.git","clone_url":"https://github.com/noodlefrenzy/node-amqp10.git","svn_url":"https://github.com/noodlefrenzy/node-amqp10","homepage":null,"size":2609,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":10,"forks":6,"open_issues":10,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls/145"},"html":{"href":"https://github.com/noodlefrenzy/node-amqp10/pull/145"},"issue":{"href":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/145"},"comments":{"href":"https://api.github.com/repos/noodlefrenzy/node-amqp10/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/noodlefrenzy/node-amqp10/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/noodlefrenzy/node-amqp10/statuses/abf0c9070a49e02f0e83ef1e260edc850cc3cd55"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mbroadst","id":312966,"avatar_url":"https://avatars.githubusercontent.com/u/312966?v=3","gravatar_id":"","url":"https://api.github.com/users/mbroadst","html_url":"https://github.com/mbroadst","followers_url":"https://api.github.com/users/mbroadst/followers","following_url":"https://api.github.com/users/mbroadst/following{/other_user}","gists_url":"https://api.github.com/users/mbroadst/gists{/gist_id}","starred_url":"https://api.github.com/users/mbroadst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbroadst/subscriptions","organizations_url":"https://api.github.com/users/mbroadst/orgs","repos_url":"https://api.github.com/users/mbroadst/repos","events_url":"https://api.github.com/users/mbroadst/events{/privacy}","received_events_url":"https://api.github.com/users/mbroadst/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":13,"changed_files":2}}