{"action":"closed","number":249,"pull_request":{"url":"https://api.github.com/repos/premailer/premailer/pulls/249","id":35361060,"html_url":"https://github.com/premailer/premailer/pull/249","diff_url":"https://github.com/premailer/premailer/pull/249.diff","patch_url":"https://github.com/premailer/premailer/pull/249.patch","issue_url":"https://api.github.com/repos/premailer/premailer/issues/249","number":249,"state":"closed","locked":false,"title":"Fix Nokogiri adapter empty string handling.","user":{"login":"braintreeps","id":200407,"avatar_url":"https://avatars.githubusercontent.com/u/200407?v=3","gravatar_id":"","url":"https://api.github.com/users/braintreeps","html_url":"https://github.com/braintreeps","followers_url":"https://api.github.com/users/braintreeps/followers","following_url":"https://api.github.com/users/braintreeps/following{/other_user}","gists_url":"https://api.github.com/users/braintreeps/gists{/gist_id}","starred_url":"https://api.github.com/users/braintreeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braintreeps/subscriptions","organizations_url":"https://api.github.com/users/braintreeps/orgs","repos_url":"https://api.github.com/users/braintreeps/repos","events_url":"https://api.github.com/users/braintreeps/events{/privacy}","received_events_url":"https://api.github.com/users/braintreeps/received_events","type":"User","site_admin":false},"body":"When using the Nokogiri adapter, parsing an empty string or file raises an error because a guard that checks for a body is improperly implemented.  This pull request fixes the guard to check for an empty array returned from `doc.search('body')` instead of checking for a truthy value.  ","created_at":"2015-05-13T19:19:38Z","updated_at":"2015-05-17T17:31:22Z","closed_at":"2015-05-17T17:31:21Z","merged_at":"2015-05-17T17:31:21Z","merge_commit_sha":"7e873981328582226de136694b510a91a00494a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/premailer/premailer/pulls/249/commits","review_comments_url":"https://api.github.com/repos/premailer/premailer/pulls/249/comments","review_comment_url":"https://api.github.com/repos/premailer/premailer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/premailer/premailer/issues/249/comments","statuses_url":"https://api.github.com/repos/premailer/premailer/statuses/96d7ee06400d059678264b40188faf76559d5b5f","head":{"label":"braintreeps:master","ref":"master","sha":"96d7ee06400d059678264b40188faf76559d5b5f","user":{"login":"braintreeps","id":200407,"avatar_url":"https://avatars.githubusercontent.com/u/200407?v=3","gravatar_id":"","url":"https://api.github.com/users/braintreeps","html_url":"https://github.com/braintreeps","followers_url":"https://api.github.com/users/braintreeps/followers","following_url":"https://api.github.com/users/braintreeps/following{/other_user}","gists_url":"https://api.github.com/users/braintreeps/gists{/gist_id}","starred_url":"https://api.github.com/users/braintreeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braintreeps/subscriptions","organizations_url":"https://api.github.com/users/braintreeps/orgs","repos_url":"https://api.github.com/users/braintreeps/repos","events_url":"https://api.github.com/users/braintreeps/events{/privacy}","received_events_url":"https://api.github.com/users/braintreeps/received_events","type":"User","site_admin":false},"repo":{"id":35566400,"name":"premailer","full_name":"braintreeps/premailer","owner":{"login":"braintreeps","id":200407,"avatar_url":"https://avatars.githubusercontent.com/u/200407?v=3","gravatar_id":"","url":"https://api.github.com/users/braintreeps","html_url":"https://github.com/braintreeps","followers_url":"https://api.github.com/users/braintreeps/followers","following_url":"https://api.github.com/users/braintreeps/following{/other_user}","gists_url":"https://api.github.com/users/braintreeps/gists{/gist_id}","starred_url":"https://api.github.com/users/braintreeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braintreeps/subscriptions","organizations_url":"https://api.github.com/users/braintreeps/orgs","repos_url":"https://api.github.com/users/braintreeps/repos","events_url":"https://api.github.com/users/braintreeps/events{/privacy}","received_events_url":"https://api.github.com/users/braintreeps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/braintreeps/premailer","description":"Preflight for HTML email","fork":true,"url":"https://api.github.com/repos/braintreeps/premailer","forks_url":"https://api.github.com/repos/braintreeps/premailer/forks","keys_url":"https://api.github.com/repos/braintreeps/premailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/braintreeps/premailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/braintreeps/premailer/teams","hooks_url":"https://api.github.com/repos/braintreeps/premailer/hooks","issue_events_url":"https://api.github.com/repos/braintreeps/premailer/issues/events{/number}","events_url":"https://api.github.com/repos/braintreeps/premailer/events","assignees_url":"https://api.github.com/repos/braintreeps/premailer/assignees{/user}","branches_url":"https://api.github.com/repos/braintreeps/premailer/branches{/branch}","tags_url":"https://api.github.com/repos/braintreeps/premailer/tags","blobs_url":"https://api.github.com/repos/braintreeps/premailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/braintreeps/premailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/braintreeps/premailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/braintreeps/premailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/braintreeps/premailer/statuses/{sha}","languages_url":"https://api.github.com/repos/braintreeps/premailer/languages","stargazers_url":"https://api.github.com/repos/braintreeps/premailer/stargazers","contributors_url":"https://api.github.com/repos/braintreeps/premailer/contributors","subscribers_url":"https://api.github.com/repos/braintreeps/premailer/subscribers","subscription_url":"https://api.github.com/repos/braintreeps/premailer/subscription","commits_url":"https://api.github.com/repos/braintreeps/premailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/braintreeps/premailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/braintreeps/premailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/braintreeps/premailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/braintreeps/premailer/contents/{+path}","compare_url":"https://api.github.com/repos/braintreeps/premailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/braintreeps/premailer/merges","archive_url":"https://api.github.com/repos/braintreeps/premailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/braintreeps/premailer/downloads","issues_url":"https://api.github.com/repos/braintreeps/premailer/issues{/number}","pulls_url":"https://api.github.com/repos/braintreeps/premailer/pulls{/number}","milestones_url":"https://api.github.com/repos/braintreeps/premailer/milestones{/number}","notifications_url":"https://api.github.com/repos/braintreeps/premailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/braintreeps/premailer/labels{/name}","releases_url":"https://api.github.com/repos/braintreeps/premailer/releases{/id}","created_at":"2015-05-13T18:17:38Z","updated_at":"2015-05-13T18:17:39Z","pushed_at":"2015-05-13T19:14:26Z","git_url":"git://github.com/braintreeps/premailer.git","ssh_url":"git@github.com:braintreeps/premailer.git","clone_url":"https://github.com/braintreeps/premailer.git","svn_url":"https://github.com/braintreeps/premailer","homepage":"http://premailer.dialect.ca/","size":567,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"premailer:master","ref":"master","sha":"f1ec5b3313d9733141a13ecfb553b5dbbb057c6d","user":{"login":"premailer","id":5750522,"avatar_url":"https://avatars.githubusercontent.com/u/5750522?v=3","gravatar_id":"","url":"https://api.github.com/users/premailer","html_url":"https://github.com/premailer","followers_url":"https://api.github.com/users/premailer/followers","following_url":"https://api.github.com/users/premailer/following{/other_user}","gists_url":"https://api.github.com/users/premailer/gists{/gist_id}","starred_url":"https://api.github.com/users/premailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premailer/subscriptions","organizations_url":"https://api.github.com/users/premailer/orgs","repos_url":"https://api.github.com/users/premailer/repos","events_url":"https://api.github.com/users/premailer/events{/privacy}","received_events_url":"https://api.github.com/users/premailer/received_events","type":"Organization","site_admin":false},"repo":{"id":386126,"name":"premailer","full_name":"premailer/premailer","owner":{"login":"premailer","id":5750522,"avatar_url":"https://avatars.githubusercontent.com/u/5750522?v=3","gravatar_id":"","url":"https://api.github.com/users/premailer","html_url":"https://github.com/premailer","followers_url":"https://api.github.com/users/premailer/followers","following_url":"https://api.github.com/users/premailer/following{/other_user}","gists_url":"https://api.github.com/users/premailer/gists{/gist_id}","starred_url":"https://api.github.com/users/premailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premailer/subscriptions","organizations_url":"https://api.github.com/users/premailer/orgs","repos_url":"https://api.github.com/users/premailer/repos","events_url":"https://api.github.com/users/premailer/events{/privacy}","received_events_url":"https://api.github.com/users/premailer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/premailer/premailer","description":"Preflight for HTML email","fork":false,"url":"https://api.github.com/repos/premailer/premailer","forks_url":"https://api.github.com/repos/premailer/premailer/forks","keys_url":"https://api.github.com/repos/premailer/premailer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/premailer/premailer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/premailer/premailer/teams","hooks_url":"https://api.github.com/repos/premailer/premailer/hooks","issue_events_url":"https://api.github.com/repos/premailer/premailer/issues/events{/number}","events_url":"https://api.github.com/repos/premailer/premailer/events","assignees_url":"https://api.github.com/repos/premailer/premailer/assignees{/user}","branches_url":"https://api.github.com/repos/premailer/premailer/branches{/branch}","tags_url":"https://api.github.com/repos/premailer/premailer/tags","blobs_url":"https://api.github.com/repos/premailer/premailer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/premailer/premailer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/premailer/premailer/git/refs{/sha}","trees_url":"https://api.github.com/repos/premailer/premailer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/premailer/premailer/statuses/{sha}","languages_url":"https://api.github.com/repos/premailer/premailer/languages","stargazers_url":"https://api.github.com/repos/premailer/premailer/stargazers","contributors_url":"https://api.github.com/repos/premailer/premailer/contributors","subscribers_url":"https://api.github.com/repos/premailer/premailer/subscribers","subscription_url":"https://api.github.com/repos/premailer/premailer/subscription","commits_url":"https://api.github.com/repos/premailer/premailer/commits{/sha}","git_commits_url":"https://api.github.com/repos/premailer/premailer/git/commits{/sha}","comments_url":"https://api.github.com/repos/premailer/premailer/comments{/number}","issue_comment_url":"https://api.github.com/repos/premailer/premailer/issues/comments{/number}","contents_url":"https://api.github.com/repos/premailer/premailer/contents/{+path}","compare_url":"https://api.github.com/repos/premailer/premailer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/premailer/premailer/merges","archive_url":"https://api.github.com/repos/premailer/premailer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/premailer/premailer/downloads","issues_url":"https://api.github.com/repos/premailer/premailer/issues{/number}","pulls_url":"https://api.github.com/repos/premailer/premailer/pulls{/number}","milestones_url":"https://api.github.com/repos/premailer/premailer/milestones{/number}","notifications_url":"https://api.github.com/repos/premailer/premailer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/premailer/premailer/labels{/name}","releases_url":"https://api.github.com/repos/premailer/premailer/releases{/id}","created_at":"2009-11-26T05:31:46Z","updated_at":"2015-05-16T13:32:12Z","pushed_at":"2015-05-17T17:31:22Z","git_url":"git://github.com/premailer/premailer.git","ssh_url":"git@github.com:premailer/premailer.git","clone_url":"https://github.com/premailer/premailer.git","svn_url":"https://github.com/premailer/premailer","homepage":"http://premailer.dialect.ca/","size":1375,"stargazers_count":1376,"watchers_count":1376,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":240,"mirror_url":null,"open_issues_count":88,"forks":240,"open_issues":88,"watchers":1376,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/premailer/premailer/pulls/249"},"html":{"href":"https://github.com/premailer/premailer/pull/249"},"issue":{"href":"https://api.github.com/repos/premailer/premailer/issues/249"},"comments":{"href":"https://api.github.com/repos/premailer/premailer/issues/249/comments"},"review_comments":{"href":"https://api.github.com/repos/premailer/premailer/pulls/249/comments"},"review_comment":{"href":"https://api.github.com/repos/premailer/premailer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/premailer/premailer/pulls/249/commits"},"statuses":{"href":"https://api.github.com/repos/premailer/premailer/statuses/96d7ee06400d059678264b40188faf76559d5b5f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"akzhan","id":112516,"avatar_url":"https://avatars.githubusercontent.com/u/112516?v=3","gravatar_id":"","url":"https://api.github.com/users/akzhan","html_url":"https://github.com/akzhan","followers_url":"https://api.github.com/users/akzhan/followers","following_url":"https://api.github.com/users/akzhan/following{/other_user}","gists_url":"https://api.github.com/users/akzhan/gists{/gist_id}","starred_url":"https://api.github.com/users/akzhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akzhan/subscriptions","organizations_url":"https://api.github.com/users/akzhan/orgs","repos_url":"https://api.github.com/users/akzhan/repos","events_url":"https://api.github.com/users/akzhan/events{/privacy}","received_events_url":"https://api.github.com/users/akzhan/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":1,"changed_files":2}}