{"action":"opened","number":233,"pull_request":{"url":"https://api.github.com/repos/pekim/tedious/pulls/233","id":27720141,"html_url":"https://github.com/pekim/tedious/pull/233","diff_url":"https://github.com/pekim/tedious/pull/233.diff","patch_url":"https://github.com/pekim/tedious/pull/233.patch","issue_url":"https://api.github.com/repos/pekim/tedious/issues/233","number":233,"state":"open","locked":false,"title":"Add error.number property and some simple tests for its correctness.","user":{"login":"lee-houghton","id":5538363,"avatar_url":"https://avatars.githubusercontent.com/u/5538363?v=3","gravatar_id":"","url":"https://api.github.com/users/lee-houghton","html_url":"https://github.com/lee-houghton","followers_url":"https://api.github.com/users/lee-houghton/followers","following_url":"https://api.github.com/users/lee-houghton/following{/other_user}","gists_url":"https://api.github.com/users/lee-houghton/gists{/gist_id}","starred_url":"https://api.github.com/users/lee-houghton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lee-houghton/subscriptions","organizations_url":"https://api.github.com/users/lee-houghton/orgs","repos_url":"https://api.github.com/users/lee-houghton/repos","events_url":"https://api.github.com/users/lee-houghton/events{/privacy}","received_events_url":"https://api.github.com/users/lee-houghton/received_events","type":"User","site_admin":false},"body":"I've had a stab at a possible patch for #226 based on ashelley's fix, with some tests, since it's very relevant to my interests.\r\n\r\nI wasn't sure about coding conventions - I don't usually add parentheses around function calls in coffeescript, especially when one of them is a callback, but not all the code seemed to agree on whether to do so or not.\r\n\r\nCritique gratefully accepted!","created_at":"2015-01-20T22:49:48Z","updated_at":"2015-01-20T22:49:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pekim/tedious/pulls/233/commits","review_comments_url":"https://api.github.com/repos/pekim/tedious/pulls/233/comments","review_comment_url":"https://api.github.com/repos/pekim/tedious/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pekim/tedious/issues/233/comments","statuses_url":"https://api.github.com/repos/pekim/tedious/statuses/ccfb770cf7658e8d10de0e37aa157fe511893f1a","head":{"label":"lee-houghton:error-numbers","ref":"error-numbers","sha":"ccfb770cf7658e8d10de0e37aa157fe511893f1a","user":{"login":"lee-houghton","id":5538363,"avatar_url":"https://avatars.githubusercontent.com/u/5538363?v=3","gravatar_id":"","url":"https://api.github.com/users/lee-houghton","html_url":"https://github.com/lee-houghton","followers_url":"https://api.github.com/users/lee-houghton/followers","following_url":"https://api.github.com/users/lee-houghton/following{/other_user}","gists_url":"https://api.github.com/users/lee-houghton/gists{/gist_id}","starred_url":"https://api.github.com/users/lee-houghton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lee-houghton/subscriptions","organizations_url":"https://api.github.com/users/lee-houghton/orgs","repos_url":"https://api.github.com/users/lee-houghton/repos","events_url":"https://api.github.com/users/lee-houghton/events{/privacy}","received_events_url":"https://api.github.com/users/lee-houghton/received_events","type":"User","site_admin":false},"repo":{"id":29403806,"name":"tedious","full_name":"lee-houghton/tedious","owner":{"login":"lee-houghton","id":5538363,"avatar_url":"https://avatars.githubusercontent.com/u/5538363?v=3","gravatar_id":"","url":"https://api.github.com/users/lee-houghton","html_url":"https://github.com/lee-houghton","followers_url":"https://api.github.com/users/lee-houghton/followers","following_url":"https://api.github.com/users/lee-houghton/following{/other_user}","gists_url":"https://api.github.com/users/lee-houghton/gists{/gist_id}","starred_url":"https://api.github.com/users/lee-houghton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lee-houghton/subscriptions","organizations_url":"https://api.github.com/users/lee-houghton/orgs","repos_url":"https://api.github.com/users/lee-houghton/repos","events_url":"https://api.github.com/users/lee-houghton/events{/privacy}","received_events_url":"https://api.github.com/users/lee-houghton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lee-houghton/tedious","description":"Node TDS module for connecting to SQL Server databases.","fork":true,"url":"https://api.github.com/repos/lee-houghton/tedious","forks_url":"https://api.github.com/repos/lee-houghton/tedious/forks","keys_url":"https://api.github.com/repos/lee-houghton/tedious/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lee-houghton/tedious/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lee-houghton/tedious/teams","hooks_url":"https://api.github.com/repos/lee-houghton/tedious/hooks","issue_events_url":"https://api.github.com/repos/lee-houghton/tedious/issues/events{/number}","events_url":"https://api.github.com/repos/lee-houghton/tedious/events","assignees_url":"https://api.github.com/repos/lee-houghton/tedious/assignees{/user}","branches_url":"https://api.github.com/repos/lee-houghton/tedious/branches{/branch}","tags_url":"https://api.github.com/repos/lee-houghton/tedious/tags","blobs_url":"https://api.github.com/repos/lee-houghton/tedious/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lee-houghton/tedious/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lee-houghton/tedious/git/refs{/sha}","trees_url":"https://api.github.com/repos/lee-houghton/tedious/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lee-houghton/tedious/statuses/{sha}","languages_url":"https://api.github.com/repos/lee-houghton/tedious/languages","stargazers_url":"https://api.github.com/repos/lee-houghton/tedious/stargazers","contributors_url":"https://api.github.com/repos/lee-houghton/tedious/contributors","subscribers_url":"https://api.github.com/repos/lee-houghton/tedious/subscribers","subscription_url":"https://api.github.com/repos/lee-houghton/tedious/subscription","commits_url":"https://api.github.com/repos/lee-houghton/tedious/commits{/sha}","git_commits_url":"https://api.github.com/repos/lee-houghton/tedious/git/commits{/sha}","comments_url":"https://api.github.com/repos/lee-houghton/tedious/comments{/number}","issue_comment_url":"https://api.github.com/repos/lee-houghton/tedious/issues/comments/{number}","contents_url":"https://api.github.com/repos/lee-houghton/tedious/contents/{+path}","compare_url":"https://api.github.com/repos/lee-houghton/tedious/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lee-houghton/tedious/merges","archive_url":"https://api.github.com/repos/lee-houghton/tedious/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lee-houghton/tedious/downloads","issues_url":"https://api.github.com/repos/lee-houghton/tedious/issues{/number}","pulls_url":"https://api.github.com/repos/lee-houghton/tedious/pulls{/number}","milestones_url":"https://api.github.com/repos/lee-houghton/tedious/milestones{/number}","notifications_url":"https://api.github.com/repos/lee-houghton/tedious/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lee-houghton/tedious/labels{/name}","releases_url":"https://api.github.com/repos/lee-houghton/tedious/releases{/id}","created_at":"2015-01-17T20:01:40Z","updated_at":"2015-01-17T20:01:42Z","pushed_at":"2015-01-20T22:33:30Z","git_url":"git://github.com/lee-houghton/tedious.git","ssh_url":"git@github.com:lee-houghton/tedious.git","clone_url":"https://github.com/lee-houghton/tedious.git","svn_url":"https://github.com/lee-houghton/tedious","homepage":"http://pekim.github.com/tedious/","size":2406,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pekim:master","ref":"master","sha":"935d698f484f5a326ebadf30159315af77c65f70","user":{"login":"pekim","id":40704,"avatar_url":"https://avatars.githubusercontent.com/u/40704?v=3","gravatar_id":"","url":"https://api.github.com/users/pekim","html_url":"https://github.com/pekim","followers_url":"https://api.github.com/users/pekim/followers","following_url":"https://api.github.com/users/pekim/following{/other_user}","gists_url":"https://api.github.com/users/pekim/gists{/gist_id}","starred_url":"https://api.github.com/users/pekim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekim/subscriptions","organizations_url":"https://api.github.com/users/pekim/orgs","repos_url":"https://api.github.com/users/pekim/repos","events_url":"https://api.github.com/users/pekim/events{/privacy}","received_events_url":"https://api.github.com/users/pekim/received_events","type":"User","site_admin":false},"repo":{"id":1719690,"name":"tedious","full_name":"pekim/tedious","owner":{"login":"pekim","id":40704,"avatar_url":"https://avatars.githubusercontent.com/u/40704?v=3","gravatar_id":"","url":"https://api.github.com/users/pekim","html_url":"https://github.com/pekim","followers_url":"https://api.github.com/users/pekim/followers","following_url":"https://api.github.com/users/pekim/following{/other_user}","gists_url":"https://api.github.com/users/pekim/gists{/gist_id}","starred_url":"https://api.github.com/users/pekim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekim/subscriptions","organizations_url":"https://api.github.com/users/pekim/orgs","repos_url":"https://api.github.com/users/pekim/repos","events_url":"https://api.github.com/users/pekim/events{/privacy}","received_events_url":"https://api.github.com/users/pekim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pekim/tedious","description":"Node TDS module for connecting to SQL Server databases.","fork":false,"url":"https://api.github.com/repos/pekim/tedious","forks_url":"https://api.github.com/repos/pekim/tedious/forks","keys_url":"https://api.github.com/repos/pekim/tedious/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pekim/tedious/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pekim/tedious/teams","hooks_url":"https://api.github.com/repos/pekim/tedious/hooks","issue_events_url":"https://api.github.com/repos/pekim/tedious/issues/events{/number}","events_url":"https://api.github.com/repos/pekim/tedious/events","assignees_url":"https://api.github.com/repos/pekim/tedious/assignees{/user}","branches_url":"https://api.github.com/repos/pekim/tedious/branches{/branch}","tags_url":"https://api.github.com/repos/pekim/tedious/tags","blobs_url":"https://api.github.com/repos/pekim/tedious/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pekim/tedious/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pekim/tedious/git/refs{/sha}","trees_url":"https://api.github.com/repos/pekim/tedious/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pekim/tedious/statuses/{sha}","languages_url":"https://api.github.com/repos/pekim/tedious/languages","stargazers_url":"https://api.github.com/repos/pekim/tedious/stargazers","contributors_url":"https://api.github.com/repos/pekim/tedious/contributors","subscribers_url":"https://api.github.com/repos/pekim/tedious/subscribers","subscription_url":"https://api.github.com/repos/pekim/tedious/subscription","commits_url":"https://api.github.com/repos/pekim/tedious/commits{/sha}","git_commits_url":"https://api.github.com/repos/pekim/tedious/git/commits{/sha}","comments_url":"https://api.github.com/repos/pekim/tedious/comments{/number}","issue_comment_url":"https://api.github.com/repos/pekim/tedious/issues/comments/{number}","contents_url":"https://api.github.com/repos/pekim/tedious/contents/{+path}","compare_url":"https://api.github.com/repos/pekim/tedious/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pekim/tedious/merges","archive_url":"https://api.github.com/repos/pekim/tedious/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pekim/tedious/downloads","issues_url":"https://api.github.com/repos/pekim/tedious/issues{/number}","pulls_url":"https://api.github.com/repos/pekim/tedious/pulls{/number}","milestones_url":"https://api.github.com/repos/pekim/tedious/milestones{/number}","notifications_url":"https://api.github.com/repos/pekim/tedious/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pekim/tedious/labels{/name}","releases_url":"https://api.github.com/repos/pekim/tedious/releases{/id}","created_at":"2011-05-08T19:22:11Z","updated_at":"2015-01-20T22:33:27Z","pushed_at":"2015-01-08T21:36:02Z","git_url":"git://github.com/pekim/tedious.git","ssh_url":"git@github.com:pekim/tedious.git","clone_url":"https://github.com/pekim/tedious.git","svn_url":"https://github.com/pekim/tedious","homepage":"http://pekim.github.com/tedious/","size":2406,"stargazers_count":313,"watchers_count":313,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":90,"mirror_url":null,"open_issues_count":22,"forks":90,"open_issues":22,"watchers":313,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pekim/tedious/pulls/233"},"html":{"href":"https://github.com/pekim/tedious/pull/233"},"issue":{"href":"https://api.github.com/repos/pekim/tedious/issues/233"},"comments":{"href":"https://api.github.com/repos/pekim/tedious/issues/233/comments"},"review_comments":{"href":"https://api.github.com/repos/pekim/tedious/pulls/233/comments"},"review_comment":{"href":"https://api.github.com/repos/pekim/tedious/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pekim/tedious/pulls/233/commits"},"statuses":{"href":"https://api.github.com/repos/pekim/tedious/statuses/ccfb770cf7658e8d10de0e37aa157fe511893f1a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":74,"deletions":0,"changed_files":2}}