{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/tchype/node-ravendb/pulls/7","id":6665807,"html_url":"https://github.com/tchype/node-ravendb/pull/7","diff_url":"https://github.com/tchype/node-ravendb/pull/7.diff","patch_url":"https://github.com/tchype/node-ravendb/pull/7.patch","issue_url":"https://api.github.com/repos/tchype/node-ravendb/issues/7","number":7,"state":"closed","locked":false,"title":"Fix context for setAuthorization call","user":{"login":"paultyng","id":422474,"avatar_url":"https://avatars.githubusercontent.com/u/422474?v=3","gravatar_id":"","url":"https://api.github.com/users/paultyng","html_url":"https://github.com/paultyng","followers_url":"https://api.github.com/users/paultyng/followers","following_url":"https://api.github.com/users/paultyng/following{/other_user}","gists_url":"https://api.github.com/users/paultyng/gists{/gist_id}","starred_url":"https://api.github.com/users/paultyng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paultyng/subscriptions","organizations_url":"https://api.github.com/users/paultyng/orgs","repos_url":"https://api.github.com/users/paultyng/repos","events_url":"https://api.github.com/users/paultyng/events{/privacy}","received_events_url":"https://api.github.com/users/paultyng/received_events","type":"User","site_admin":false},"body":"Ran in to this issue when I'm using the library wrapped by [when](https://github.com/cujojs/when) (it may or may not be a related bug).  Basically the `setAuthorization` had the wrong `this` for its invocation, so I swapped it in the coffee to wrap it in a closure.","created_at":"2013-07-02T01:16:09Z","updated_at":"2015-04-27T02:46:55Z","closed_at":"2015-04-27T02:46:55Z","merged_at":"2015-04-27T02:46:55Z","merge_commit_sha":"0551a8aba623017fe10f23e2be1be71d5d1e9029","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tchype/node-ravendb/pulls/7/commits","review_comments_url":"https://api.github.com/repos/tchype/node-ravendb/pulls/7/comments","review_comment_url":"https://api.github.com/repos/tchype/node-ravendb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tchype/node-ravendb/issues/7/comments","statuses_url":"https://api.github.com/repos/tchype/node-ravendb/statuses/a11234d11c51d6f2f7b21179d85ca68a4308870d","head":{"label":"paultyng:pt/fix-ravenhq-this","ref":"pt/fix-ravenhq-this","sha":"a11234d11c51d6f2f7b21179d85ca68a4308870d","user":{"login":"paultyng","id":422474,"avatar_url":"https://avatars.githubusercontent.com/u/422474?v=3","gravatar_id":"","url":"https://api.github.com/users/paultyng","html_url":"https://github.com/paultyng","followers_url":"https://api.github.com/users/paultyng/followers","following_url":"https://api.github.com/users/paultyng/following{/other_user}","gists_url":"https://api.github.com/users/paultyng/gists{/gist_id}","starred_url":"https://api.github.com/users/paultyng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paultyng/subscriptions","organizations_url":"https://api.github.com/users/paultyng/orgs","repos_url":"https://api.github.com/users/paultyng/repos","events_url":"https://api.github.com/users/paultyng/events{/privacy}","received_events_url":"https://api.github.com/users/paultyng/received_events","type":"User","site_admin":false},"repo":{"id":11111668,"name":"node-ravendb","full_name":"paultyng/node-ravendb","owner":{"login":"paultyng","id":422474,"avatar_url":"https://avatars.githubusercontent.com/u/422474?v=3","gravatar_id":"","url":"https://api.github.com/users/paultyng","html_url":"https://github.com/paultyng","followers_url":"https://api.github.com/users/paultyng/followers","following_url":"https://api.github.com/users/paultyng/following{/other_user}","gists_url":"https://api.github.com/users/paultyng/gists{/gist_id}","starred_url":"https://api.github.com/users/paultyng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paultyng/subscriptions","organizations_url":"https://api.github.com/users/paultyng/orgs","repos_url":"https://api.github.com/users/paultyng/repos","events_url":"https://api.github.com/users/paultyng/events{/privacy}","received_events_url":"https://api.github.com/users/paultyng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paultyng/node-ravendb","description":"A node module for RavenDB access","fork":true,"url":"https://api.github.com/repos/paultyng/node-ravendb","forks_url":"https://api.github.com/repos/paultyng/node-ravendb/forks","keys_url":"https://api.github.com/repos/paultyng/node-ravendb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paultyng/node-ravendb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paultyng/node-ravendb/teams","hooks_url":"https://api.github.com/repos/paultyng/node-ravendb/hooks","issue_events_url":"https://api.github.com/repos/paultyng/node-ravendb/issues/events{/number}","events_url":"https://api.github.com/repos/paultyng/node-ravendb/events","assignees_url":"https://api.github.com/repos/paultyng/node-ravendb/assignees{/user}","branches_url":"https://api.github.com/repos/paultyng/node-ravendb/branches{/branch}","tags_url":"https://api.github.com/repos/paultyng/node-ravendb/tags","blobs_url":"https://api.github.com/repos/paultyng/node-ravendb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paultyng/node-ravendb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paultyng/node-ravendb/git/refs{/sha}","trees_url":"https://api.github.com/repos/paultyng/node-ravendb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paultyng/node-ravendb/statuses/{sha}","languages_url":"https://api.github.com/repos/paultyng/node-ravendb/languages","stargazers_url":"https://api.github.com/repos/paultyng/node-ravendb/stargazers","contributors_url":"https://api.github.com/repos/paultyng/node-ravendb/contributors","subscribers_url":"https://api.github.com/repos/paultyng/node-ravendb/subscribers","subscription_url":"https://api.github.com/repos/paultyng/node-ravendb/subscription","commits_url":"https://api.github.com/repos/paultyng/node-ravendb/commits{/sha}","git_commits_url":"https://api.github.com/repos/paultyng/node-ravendb/git/commits{/sha}","comments_url":"https://api.github.com/repos/paultyng/node-ravendb/comments{/number}","issue_comment_url":"https://api.github.com/repos/paultyng/node-ravendb/issues/comments{/number}","contents_url":"https://api.github.com/repos/paultyng/node-ravendb/contents/{+path}","compare_url":"https://api.github.com/repos/paultyng/node-ravendb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paultyng/node-ravendb/merges","archive_url":"https://api.github.com/repos/paultyng/node-ravendb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paultyng/node-ravendb/downloads","issues_url":"https://api.github.com/repos/paultyng/node-ravendb/issues{/number}","pulls_url":"https://api.github.com/repos/paultyng/node-ravendb/pulls{/number}","milestones_url":"https://api.github.com/repos/paultyng/node-ravendb/milestones{/number}","notifications_url":"https://api.github.com/repos/paultyng/node-ravendb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paultyng/node-ravendb/labels{/name}","releases_url":"https://api.github.com/repos/paultyng/node-ravendb/releases{/id}","created_at":"2013-07-02T01:02:00Z","updated_at":"2013-08-21T21:31:09Z","pushed_at":"2013-07-06T01:56:52Z","git_url":"git://github.com/paultyng/node-ravendb.git","ssh_url":"git@github.com:paultyng/node-ravendb.git","clone_url":"https://github.com/paultyng/node-ravendb.git","svn_url":"https://github.com/paultyng/node-ravendb","homepage":null,"size":295,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"tchype:master","ref":"master","sha":"14150c2ec2e092e215380b3b513801f44f08c0c9","user":{"login":"tchype","id":236453,"avatar_url":"https://avatars.githubusercontent.com/u/236453?v=3","gravatar_id":"","url":"https://api.github.com/users/tchype","html_url":"https://github.com/tchype","followers_url":"https://api.github.com/users/tchype/followers","following_url":"https://api.github.com/users/tchype/following{/other_user}","gists_url":"https://api.github.com/users/tchype/gists{/gist_id}","starred_url":"https://api.github.com/users/tchype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchype/subscriptions","organizations_url":"https://api.github.com/users/tchype/orgs","repos_url":"https://api.github.com/users/tchype/repos","events_url":"https://api.github.com/users/tchype/events{/privacy}","received_events_url":"https://api.github.com/users/tchype/received_events","type":"User","site_admin":false},"repo":{"id":4311955,"name":"node-ravendb","full_name":"tchype/node-ravendb","owner":{"login":"tchype","id":236453,"avatar_url":"https://avatars.githubusercontent.com/u/236453?v=3","gravatar_id":"","url":"https://api.github.com/users/tchype","html_url":"https://github.com/tchype","followers_url":"https://api.github.com/users/tchype/followers","following_url":"https://api.github.com/users/tchype/following{/other_user}","gists_url":"https://api.github.com/users/tchype/gists{/gist_id}","starred_url":"https://api.github.com/users/tchype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchype/subscriptions","organizations_url":"https://api.github.com/users/tchype/orgs","repos_url":"https://api.github.com/users/tchype/repos","events_url":"https://api.github.com/users/tchype/events{/privacy}","received_events_url":"https://api.github.com/users/tchype/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tchype/node-ravendb","description":"A node module for RavenDB access","fork":false,"url":"https://api.github.com/repos/tchype/node-ravendb","forks_url":"https://api.github.com/repos/tchype/node-ravendb/forks","keys_url":"https://api.github.com/repos/tchype/node-ravendb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tchype/node-ravendb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tchype/node-ravendb/teams","hooks_url":"https://api.github.com/repos/tchype/node-ravendb/hooks","issue_events_url":"https://api.github.com/repos/tchype/node-ravendb/issues/events{/number}","events_url":"https://api.github.com/repos/tchype/node-ravendb/events","assignees_url":"https://api.github.com/repos/tchype/node-ravendb/assignees{/user}","branches_url":"https://api.github.com/repos/tchype/node-ravendb/branches{/branch}","tags_url":"https://api.github.com/repos/tchype/node-ravendb/tags","blobs_url":"https://api.github.com/repos/tchype/node-ravendb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tchype/node-ravendb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tchype/node-ravendb/git/refs{/sha}","trees_url":"https://api.github.com/repos/tchype/node-ravendb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tchype/node-ravendb/statuses/{sha}","languages_url":"https://api.github.com/repos/tchype/node-ravendb/languages","stargazers_url":"https://api.github.com/repos/tchype/node-ravendb/stargazers","contributors_url":"https://api.github.com/repos/tchype/node-ravendb/contributors","subscribers_url":"https://api.github.com/repos/tchype/node-ravendb/subscribers","subscription_url":"https://api.github.com/repos/tchype/node-ravendb/subscription","commits_url":"https://api.github.com/repos/tchype/node-ravendb/commits{/sha}","git_commits_url":"https://api.github.com/repos/tchype/node-ravendb/git/commits{/sha}","comments_url":"https://api.github.com/repos/tchype/node-ravendb/comments{/number}","issue_comment_url":"https://api.github.com/repos/tchype/node-ravendb/issues/comments{/number}","contents_url":"https://api.github.com/repos/tchype/node-ravendb/contents/{+path}","compare_url":"https://api.github.com/repos/tchype/node-ravendb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tchype/node-ravendb/merges","archive_url":"https://api.github.com/repos/tchype/node-ravendb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tchype/node-ravendb/downloads","issues_url":"https://api.github.com/repos/tchype/node-ravendb/issues{/number}","pulls_url":"https://api.github.com/repos/tchype/node-ravendb/pulls{/number}","milestones_url":"https://api.github.com/repos/tchype/node-ravendb/milestones{/number}","notifications_url":"https://api.github.com/repos/tchype/node-ravendb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tchype/node-ravendb/labels{/name}","releases_url":"https://api.github.com/repos/tchype/node-ravendb/releases{/id}","created_at":"2012-05-13T04:08:00Z","updated_at":"2015-04-27T02:46:55Z","pushed_at":"2015-04-27T02:46:55Z","git_url":"git://github.com/tchype/node-ravendb.git","ssh_url":"git@github.com:tchype/node-ravendb.git","clone_url":"https://github.com/tchype/node-ravendb.git","svn_url":"https://github.com/tchype/node-ravendb","homepage":null,"size":327,"stargazers_count":13,"watchers_count":13,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tchype/node-ravendb/pulls/7"},"html":{"href":"https://github.com/tchype/node-ravendb/pull/7"},"issue":{"href":"https://api.github.com/repos/tchype/node-ravendb/issues/7"},"comments":{"href":"https://api.github.com/repos/tchype/node-ravendb/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/tchype/node-ravendb/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/tchype/node-ravendb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tchype/node-ravendb/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/tchype/node-ravendb/statuses/a11234d11c51d6f2f7b21179d85ca68a4308870d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tchype","id":236453,"avatar_url":"https://avatars.githubusercontent.com/u/236453?v=3","gravatar_id":"","url":"https://api.github.com/users/tchype","html_url":"https://github.com/tchype","followers_url":"https://api.github.com/users/tchype/followers","following_url":"https://api.github.com/users/tchype/following{/other_user}","gists_url":"https://api.github.com/users/tchype/gists{/gist_id}","starred_url":"https://api.github.com/users/tchype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchype/subscriptions","organizations_url":"https://api.github.com/users/tchype/orgs","repos_url":"https://api.github.com/users/tchype/repos","events_url":"https://api.github.com/users/tchype/events{/privacy}","received_events_url":"https://api.github.com/users/tchype/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":2}}