{"action":"opened","number":812,"pull_request":{"url":"https://api.github.com/repos/appium/ruby_lib/pulls/812","id":207815554,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3ODE1NTU0","html_url":"https://github.com/appium/ruby_lib/pull/812","diff_url":"https://github.com/appium/ruby_lib/pull/812.diff","patch_url":"https://github.com/appium/ruby_lib/pull/812.patch","issue_url":"https://api.github.com/repos/appium/ruby_lib/issues/812","number":812,"state":"open","locked":false,"title":"Revert \"Use ::REXML::Document by default in CountElements\"","user":{"login":"KazuCocoa","id":5511591,"node_id":"MDQ6VXNlcjU1MTE1OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/5511591?v=4","gravatar_id":"","url":"https://api.github.com/users/KazuCocoa","html_url":"https://github.com/KazuCocoa","followers_url":"https://api.github.com/users/KazuCocoa/followers","following_url":"https://api.github.com/users/KazuCocoa/following{/other_user}","gists_url":"https://api.github.com/users/KazuCocoa/gists{/gist_id}","starred_url":"https://api.github.com/users/KazuCocoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KazuCocoa/subscriptions","organizations_url":"https://api.github.com/users/KazuCocoa/orgs","repos_url":"https://api.github.com/users/KazuCocoa/repos","events_url":"https://api.github.com/users/KazuCocoa/events{/privacy}","received_events_url":"https://api.github.com/users/KazuCocoa/received_events","type":"User","site_admin":false},"body":"Reverts appium/ruby_lib#811\r\n\r\nSome HTMLs we can get are broken. `REXML` raises parse error while Nokogiri can handle many broken/complex HTMLs.\r\n\r\nCertainly, we can use `REXML` for xml and fall back to Nokogiri. But if we can't reduce dependencies for nokogiri, I have no motivation to separate process for xml and html. So, I'd revert this PR.\r\n(After this, I'll add some test cases as a new PR)","created_at":"2018-08-12T10:54:32Z","updated_at":"2018-08-12T10:54:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/appium/ruby_lib/pulls/812/commits","review_comments_url":"https://api.github.com/repos/appium/ruby_lib/pulls/812/comments","review_comment_url":"https://api.github.com/repos/appium/ruby_lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appium/ruby_lib/issues/812/comments","statuses_url":"https://api.github.com/repos/appium/ruby_lib/statuses/f8d36fa9f0f96b67a3031fc06e74b2722d5ec2f7","head":{"label":"appium:revert-811-remove-nokogiri","ref":"revert-811-remove-nokogiri","sha":"f8d36fa9f0f96b67a3031fc06e74b2722d5ec2f7","user":{"login":"appium","id":3221291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjEyOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3221291?v=4","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"repo":{"id":8938683,"node_id":"MDEwOlJlcG9zaXRvcnk4OTM4Njgz","name":"ruby_lib","full_name":"appium/ruby_lib","owner":{"login":"appium","id":3221291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjEyOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3221291?v=4","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appium/ruby_lib","description":":gem: Ruby library for Appium","fork":false,"url":"https://api.github.com/repos/appium/ruby_lib","forks_url":"https://api.github.com/repos/appium/ruby_lib/forks","keys_url":"https://api.github.com/repos/appium/ruby_lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/ruby_lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/ruby_lib/teams","hooks_url":"https://api.github.com/repos/appium/ruby_lib/hooks","issue_events_url":"https://api.github.com/repos/appium/ruby_lib/issues/events{/number}","events_url":"https://api.github.com/repos/appium/ruby_lib/events","assignees_url":"https://api.github.com/repos/appium/ruby_lib/assignees{/user}","branches_url":"https://api.github.com/repos/appium/ruby_lib/branches{/branch}","tags_url":"https://api.github.com/repos/appium/ruby_lib/tags","blobs_url":"https://api.github.com/repos/appium/ruby_lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/ruby_lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/ruby_lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/ruby_lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/ruby_lib/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/ruby_lib/languages","stargazers_url":"https://api.github.com/repos/appium/ruby_lib/stargazers","contributors_url":"https://api.github.com/repos/appium/ruby_lib/contributors","subscribers_url":"https://api.github.com/repos/appium/ruby_lib/subscribers","subscription_url":"https://api.github.com/repos/appium/ruby_lib/subscription","commits_url":"https://api.github.com/repos/appium/ruby_lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/ruby_lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/ruby_lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/ruby_lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/ruby_lib/contents/{+path}","compare_url":"https://api.github.com/repos/appium/ruby_lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/ruby_lib/merges","archive_url":"https://api.github.com/repos/appium/ruby_lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/ruby_lib/downloads","issues_url":"https://api.github.com/repos/appium/ruby_lib/issues{/number}","pulls_url":"https://api.github.com/repos/appium/ruby_lib/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/ruby_lib/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/ruby_lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/ruby_lib/labels{/name}","releases_url":"https://api.github.com/repos/appium/ruby_lib/releases{/id}","deployments_url":"https://api.github.com/repos/appium/ruby_lib/deployments","created_at":"2013-03-21T21:07:32Z","updated_at":"2018-08-12T08:39:49Z","pushed_at":"2018-08-12T10:48:46Z","git_url":"git://github.com/appium/ruby_lib.git","ssh_url":"git@github.com:appium/ruby_lib.git","clone_url":"https://github.com/appium/ruby_lib.git","svn_url":"https://github.com/appium/ruby_lib","homepage":"http://rubygems.org/gems/appium_lib","size":93873,"stargazers_count":158,"watchers_count":158,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":152,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":152,"open_issues":14,"watchers":158,"default_branch":"master"}},"base":{"label":"appium:master","ref":"master","sha":"1dcc6650974a57369cc6b087b577cc1146bdaa1f","user":{"login":"appium","id":3221291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjEyOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3221291?v=4","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"repo":{"id":8938683,"node_id":"MDEwOlJlcG9zaXRvcnk4OTM4Njgz","name":"ruby_lib","full_name":"appium/ruby_lib","owner":{"login":"appium","id":3221291,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjEyOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3221291?v=4","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appium/ruby_lib","description":":gem: Ruby library for Appium","fork":false,"url":"https://api.github.com/repos/appium/ruby_lib","forks_url":"https://api.github.com/repos/appium/ruby_lib/forks","keys_url":"https://api.github.com/repos/appium/ruby_lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/ruby_lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/ruby_lib/teams","hooks_url":"https://api.github.com/repos/appium/ruby_lib/hooks","issue_events_url":"https://api.github.com/repos/appium/ruby_lib/issues/events{/number}","events_url":"https://api.github.com/repos/appium/ruby_lib/events","assignees_url":"https://api.github.com/repos/appium/ruby_lib/assignees{/user}","branches_url":"https://api.github.com/repos/appium/ruby_lib/branches{/branch}","tags_url":"https://api.github.com/repos/appium/ruby_lib/tags","blobs_url":"https://api.github.com/repos/appium/ruby_lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/ruby_lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/ruby_lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/ruby_lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/ruby_lib/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/ruby_lib/languages","stargazers_url":"https://api.github.com/repos/appium/ruby_lib/stargazers","contributors_url":"https://api.github.com/repos/appium/ruby_lib/contributors","subscribers_url":"https://api.github.com/repos/appium/ruby_lib/subscribers","subscription_url":"https://api.github.com/repos/appium/ruby_lib/subscription","commits_url":"https://api.github.com/repos/appium/ruby_lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/ruby_lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/ruby_lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/ruby_lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/ruby_lib/contents/{+path}","compare_url":"https://api.github.com/repos/appium/ruby_lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/ruby_lib/merges","archive_url":"https://api.github.com/repos/appium/ruby_lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/ruby_lib/downloads","issues_url":"https://api.github.com/repos/appium/ruby_lib/issues{/number}","pulls_url":"https://api.github.com/repos/appium/ruby_lib/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/ruby_lib/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/ruby_lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/ruby_lib/labels{/name}","releases_url":"https://api.github.com/repos/appium/ruby_lib/releases{/id}","deployments_url":"https://api.github.com/repos/appium/ruby_lib/deployments","created_at":"2013-03-21T21:07:32Z","updated_at":"2018-08-12T08:39:49Z","pushed_at":"2018-08-12T10:48:46Z","git_url":"git://github.com/appium/ruby_lib.git","ssh_url":"git@github.com:appium/ruby_lib.git","clone_url":"https://github.com/appium/ruby_lib.git","svn_url":"https://github.com/appium/ruby_lib","homepage":"http://rubygems.org/gems/appium_lib","size":93873,"stargazers_count":158,"watchers_count":158,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":152,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":152,"open_issues":14,"watchers":158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appium/ruby_lib/pulls/812"},"html":{"href":"https://github.com/appium/ruby_lib/pull/812"},"issue":{"href":"https://api.github.com/repos/appium/ruby_lib/issues/812"},"comments":{"href":"https://api.github.com/repos/appium/ruby_lib/issues/812/comments"},"review_comments":{"href":"https://api.github.com/repos/appium/ruby_lib/pulls/812/comments"},"review_comment":{"href":"https://api.github.com/repos/appium/ruby_lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appium/ruby_lib/pulls/812/commits"},"statuses":{"href":"https://api.github.com/repos/appium/ruby_lib/statuses/f8d36fa9f0f96b67a3031fc06e74b2722d5ec2f7"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":38,"deletions":50,"changed_files":4}}
{"actor":{"display_login":"KazuCocoa"}}