{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/cgerrior/node-recurly/pulls/7","id":93211307,"html_url":"https://github.com/cgerrior/node-recurly/pull/7","diff_url":"https://github.com/cgerrior/node-recurly/pull/7.diff","patch_url":"https://github.com/cgerrior/node-recurly/pull/7.patch","issue_url":"https://api.github.com/repos/cgerrior/node-recurly/issues/7","number":7,"state":"open","locked":false,"title":"fix bad content-length on unicode input","user":{"login":"gammelby","id":7457870,"avatar_url":"https://avatars.githubusercontent.com/u/7457870?v=3","gravatar_id":"","url":"https://api.github.com/users/gammelby","html_url":"https://github.com/gammelby","followers_url":"https://api.github.com/users/gammelby/followers","following_url":"https://api.github.com/users/gammelby/following{/other_user}","gists_url":"https://api.github.com/users/gammelby/gists{/gist_id}","starred_url":"https://api.github.com/users/gammelby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammelby/subscriptions","organizations_url":"https://api.github.com/users/gammelby/orgs","repos_url":"https://api.github.com/users/gammelby/repos","events_url":"https://api.github.com/users/gammelby/events{/privacy}","received_events_url":"https://api.github.com/users/gammelby/received_events","type":"User","site_admin":false},"body":"Content length was set from simple string length, meaning that resulting xml documents with unicode content were truncated. Fixed to use actual size in bytes.","created_at":"2016-11-10T19:08:13Z","updated_at":"2016-11-10T19:08:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cgerrior/node-recurly/pulls/7/commits","review_comments_url":"https://api.github.com/repos/cgerrior/node-recurly/pulls/7/comments","review_comment_url":"https://api.github.com/repos/cgerrior/node-recurly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cgerrior/node-recurly/issues/7/comments","statuses_url":"https://api.github.com/repos/cgerrior/node-recurly/statuses/0031783bdf2ff81984c7b9b845ec9965a75ca11c","head":{"label":"gammelby:fix-truncate-bug","ref":"fix-truncate-bug","sha":"0031783bdf2ff81984c7b9b845ec9965a75ca11c","user":{"login":"gammelby","id":7457870,"avatar_url":"https://avatars.githubusercontent.com/u/7457870?v=3","gravatar_id":"","url":"https://api.github.com/users/gammelby","html_url":"https://github.com/gammelby","followers_url":"https://api.github.com/users/gammelby/followers","following_url":"https://api.github.com/users/gammelby/following{/other_user}","gists_url":"https://api.github.com/users/gammelby/gists{/gist_id}","starred_url":"https://api.github.com/users/gammelby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammelby/subscriptions","organizations_url":"https://api.github.com/users/gammelby/orgs","repos_url":"https://api.github.com/users/gammelby/repos","events_url":"https://api.github.com/users/gammelby/events{/privacy}","received_events_url":"https://api.github.com/users/gammelby/received_events","type":"User","site_admin":false},"repo":{"id":73412001,"name":"node-recurly","full_name":"gammelby/node-recurly","owner":{"login":"gammelby","id":7457870,"avatar_url":"https://avatars.githubusercontent.com/u/7457870?v=3","gravatar_id":"","url":"https://api.github.com/users/gammelby","html_url":"https://github.com/gammelby","followers_url":"https://api.github.com/users/gammelby/followers","following_url":"https://api.github.com/users/gammelby/following{/other_user}","gists_url":"https://api.github.com/users/gammelby/gists{/gist_id}","starred_url":"https://api.github.com/users/gammelby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammelby/subscriptions","organizations_url":"https://api.github.com/users/gammelby/orgs","repos_url":"https://api.github.com/users/gammelby/repos","events_url":"https://api.github.com/users/gammelby/events{/privacy}","received_events_url":"https://api.github.com/users/gammelby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gammelby/node-recurly","description":"A node.js library for the Recurly.com api","fork":true,"url":"https://api.github.com/repos/gammelby/node-recurly","forks_url":"https://api.github.com/repos/gammelby/node-recurly/forks","keys_url":"https://api.github.com/repos/gammelby/node-recurly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gammelby/node-recurly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gammelby/node-recurly/teams","hooks_url":"https://api.github.com/repos/gammelby/node-recurly/hooks","issue_events_url":"https://api.github.com/repos/gammelby/node-recurly/issues/events{/number}","events_url":"https://api.github.com/repos/gammelby/node-recurly/events","assignees_url":"https://api.github.com/repos/gammelby/node-recurly/assignees{/user}","branches_url":"https://api.github.com/repos/gammelby/node-recurly/branches{/branch}","tags_url":"https://api.github.com/repos/gammelby/node-recurly/tags","blobs_url":"https://api.github.com/repos/gammelby/node-recurly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gammelby/node-recurly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gammelby/node-recurly/git/refs{/sha}","trees_url":"https://api.github.com/repos/gammelby/node-recurly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gammelby/node-recurly/statuses/{sha}","languages_url":"https://api.github.com/repos/gammelby/node-recurly/languages","stargazers_url":"https://api.github.com/repos/gammelby/node-recurly/stargazers","contributors_url":"https://api.github.com/repos/gammelby/node-recurly/contributors","subscribers_url":"https://api.github.com/repos/gammelby/node-recurly/subscribers","subscription_url":"https://api.github.com/repos/gammelby/node-recurly/subscription","commits_url":"https://api.github.com/repos/gammelby/node-recurly/commits{/sha}","git_commits_url":"https://api.github.com/repos/gammelby/node-recurly/git/commits{/sha}","comments_url":"https://api.github.com/repos/gammelby/node-recurly/comments{/number}","issue_comment_url":"https://api.github.com/repos/gammelby/node-recurly/issues/comments{/number}","contents_url":"https://api.github.com/repos/gammelby/node-recurly/contents/{+path}","compare_url":"https://api.github.com/repos/gammelby/node-recurly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gammelby/node-recurly/merges","archive_url":"https://api.github.com/repos/gammelby/node-recurly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gammelby/node-recurly/downloads","issues_url":"https://api.github.com/repos/gammelby/node-recurly/issues{/number}","pulls_url":"https://api.github.com/repos/gammelby/node-recurly/pulls{/number}","milestones_url":"https://api.github.com/repos/gammelby/node-recurly/milestones{/number}","notifications_url":"https://api.github.com/repos/gammelby/node-recurly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gammelby/node-recurly/labels{/name}","releases_url":"https://api.github.com/repos/gammelby/node-recurly/releases{/id}","deployments_url":"https://api.github.com/repos/gammelby/node-recurly/deployments","created_at":"2016-11-10T18:59:34Z","updated_at":"2016-11-10T18:59:36Z","pushed_at":"2016-11-10T19:06:04Z","git_url":"git://github.com/gammelby/node-recurly.git","ssh_url":"git@github.com:gammelby/node-recurly.git","clone_url":"https://github.com/gammelby/node-recurly.git","svn_url":"https://github.com/gammelby/node-recurly","homepage":"","size":59,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"cgerrior:master","ref":"master","sha":"df3cf48fc0fc247b887d98215a1f90aed87ac124","user":{"login":"cgerrior","id":8517551,"avatar_url":"https://avatars.githubusercontent.com/u/8517551?v=3","gravatar_id":"","url":"https://api.github.com/users/cgerrior","html_url":"https://github.com/cgerrior","followers_url":"https://api.github.com/users/cgerrior/followers","following_url":"https://api.github.com/users/cgerrior/following{/other_user}","gists_url":"https://api.github.com/users/cgerrior/gists{/gist_id}","starred_url":"https://api.github.com/users/cgerrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgerrior/subscriptions","organizations_url":"https://api.github.com/users/cgerrior/orgs","repos_url":"https://api.github.com/users/cgerrior/repos","events_url":"https://api.github.com/users/cgerrior/events{/privacy}","received_events_url":"https://api.github.com/users/cgerrior/received_events","type":"User","site_admin":false},"repo":{"id":33698385,"name":"node-recurly","full_name":"cgerrior/node-recurly","owner":{"login":"cgerrior","id":8517551,"avatar_url":"https://avatars.githubusercontent.com/u/8517551?v=3","gravatar_id":"","url":"https://api.github.com/users/cgerrior","html_url":"https://github.com/cgerrior","followers_url":"https://api.github.com/users/cgerrior/followers","following_url":"https://api.github.com/users/cgerrior/following{/other_user}","gists_url":"https://api.github.com/users/cgerrior/gists{/gist_id}","starred_url":"https://api.github.com/users/cgerrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgerrior/subscriptions","organizations_url":"https://api.github.com/users/cgerrior/orgs","repos_url":"https://api.github.com/users/cgerrior/repos","events_url":"https://api.github.com/users/cgerrior/events{/privacy}","received_events_url":"https://api.github.com/users/cgerrior/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cgerrior/node-recurly","description":"A node.js library for the Recurly.com api","fork":true,"url":"https://api.github.com/repos/cgerrior/node-recurly","forks_url":"https://api.github.com/repos/cgerrior/node-recurly/forks","keys_url":"https://api.github.com/repos/cgerrior/node-recurly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgerrior/node-recurly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgerrior/node-recurly/teams","hooks_url":"https://api.github.com/repos/cgerrior/node-recurly/hooks","issue_events_url":"https://api.github.com/repos/cgerrior/node-recurly/issues/events{/number}","events_url":"https://api.github.com/repos/cgerrior/node-recurly/events","assignees_url":"https://api.github.com/repos/cgerrior/node-recurly/assignees{/user}","branches_url":"https://api.github.com/repos/cgerrior/node-recurly/branches{/branch}","tags_url":"https://api.github.com/repos/cgerrior/node-recurly/tags","blobs_url":"https://api.github.com/repos/cgerrior/node-recurly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgerrior/node-recurly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgerrior/node-recurly/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgerrior/node-recurly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgerrior/node-recurly/statuses/{sha}","languages_url":"https://api.github.com/repos/cgerrior/node-recurly/languages","stargazers_url":"https://api.github.com/repos/cgerrior/node-recurly/stargazers","contributors_url":"https://api.github.com/repos/cgerrior/node-recurly/contributors","subscribers_url":"https://api.github.com/repos/cgerrior/node-recurly/subscribers","subscription_url":"https://api.github.com/repos/cgerrior/node-recurly/subscription","commits_url":"https://api.github.com/repos/cgerrior/node-recurly/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgerrior/node-recurly/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgerrior/node-recurly/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgerrior/node-recurly/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgerrior/node-recurly/contents/{+path}","compare_url":"https://api.github.com/repos/cgerrior/node-recurly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgerrior/node-recurly/merges","archive_url":"https://api.github.com/repos/cgerrior/node-recurly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgerrior/node-recurly/downloads","issues_url":"https://api.github.com/repos/cgerrior/node-recurly/issues{/number}","pulls_url":"https://api.github.com/repos/cgerrior/node-recurly/pulls{/number}","milestones_url":"https://api.github.com/repos/cgerrior/node-recurly/milestones{/number}","notifications_url":"https://api.github.com/repos/cgerrior/node-recurly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgerrior/node-recurly/labels{/name}","releases_url":"https://api.github.com/repos/cgerrior/node-recurly/releases{/id}","deployments_url":"https://api.github.com/repos/cgerrior/node-recurly/deployments","created_at":"2015-04-09T23:46:47Z","updated_at":"2016-11-07T01:34:59Z","pushed_at":"2016-11-10T19:08:13Z","git_url":"git://github.com/cgerrior/node-recurly.git","ssh_url":"git@github.com:cgerrior/node-recurly.git","clone_url":"https://github.com/cgerrior/node-recurly.git","svn_url":"https://github.com/cgerrior/node-recurly","homepage":"","size":59,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cgerrior/node-recurly/pulls/7"},"html":{"href":"https://github.com/cgerrior/node-recurly/pull/7"},"issue":{"href":"https://api.github.com/repos/cgerrior/node-recurly/issues/7"},"comments":{"href":"https://api.github.com/repos/cgerrior/node-recurly/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/cgerrior/node-recurly/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/cgerrior/node-recurly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cgerrior/node-recurly/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/cgerrior/node-recurly/statuses/0031783bdf2ff81984c7b9b845ec9965a75ca11c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"gammelby"}}