{"action":"closed","number":71,"pull_request":{"url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls/71","id":309213235,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA5MjEzMjM1","html_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby/pull/71","diff_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby/pull/71.diff","patch_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby/pull/71.patch","issue_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues/71","number":71,"state":"closed","locked":false,"title":"Replace HTTPClient with Patron","user":{"login":"elifoster","id":4176124,"node_id":"MDQ6VXNlcjQxNzYxMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4176124?v=4","gravatar_id":"","url":"https://api.github.com/users/elifoster","html_url":"https://github.com/elifoster","followers_url":"https://api.github.com/users/elifoster/followers","following_url":"https://api.github.com/users/elifoster/following{/other_user}","gists_url":"https://api.github.com/users/elifoster/gists{/gist_id}","starred_url":"https://api.github.com/users/elifoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifoster/subscriptions","organizations_url":"https://api.github.com/users/elifoster/orgs","repos_url":"https://api.github.com/users/elifoster/repos","events_url":"https://api.github.com/users/elifoster/events{/privacy}","received_events_url":"https://api.github.com/users/elifoster/received_events","type":"User","site_admin":false},"body":"Patron uses libcurl, whereas HTTPClient uses its own HTTP code and Ruby's. As such, this is significantly faster (2x). Patron is also actively maintained, while HTTPClient is not.\r\n\r\nBenchmark comparing 20 get_text calls on \"Witchery\" on ftb gamepedia.\r\n```\r\n             user       system     total     real\r\nhttpclient  0.057956   0.014032   0.071988 (3.536782)\r\npatron      0.026605   0.007036   0.033641 (2.977440)\r\n```","created_at":"2019-08-20T20:16:54Z","updated_at":"2019-08-20T20:42:34Z","closed_at":"2019-08-20T20:42:34Z","merged_at":"2019-08-20T20:42:34Z","merge_commit_sha":"bdfa9411767140084f10979913f192a48f746d1c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":259349781,"node_id":"MDU6TGFiZWwyNTkzNDk3ODE=","url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls/71/commits","review_comments_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls/71/comments","review_comment_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues/71/comments","statuses_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/statuses/d64b3e82f5c09c194c5f4b4671c3fd407a0eff00","head":{"label":"FTB-Gamepedia:patron","ref":"patron","sha":"d64b3e82f5c09c194c5f4b4671c3fd407a0eff00","user":{"login":"FTB-Gamepedia","id":14207393,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjA3Mzkz","avatar_url":"https://avatars0.githubusercontent.com/u/14207393?v=4","gravatar_id":"","url":"https://api.github.com/users/FTB-Gamepedia","html_url":"https://github.com/FTB-Gamepedia","followers_url":"https://api.github.com/users/FTB-Gamepedia/followers","following_url":"https://api.github.com/users/FTB-Gamepedia/following{/other_user}","gists_url":"https://api.github.com/users/FTB-Gamepedia/gists{/gist_id}","starred_url":"https://api.github.com/users/FTB-Gamepedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FTB-Gamepedia/subscriptions","organizations_url":"https://api.github.com/users/FTB-Gamepedia/orgs","repos_url":"https://api.github.com/users/FTB-Gamepedia/repos","events_url":"https://api.github.com/users/FTB-Gamepedia/events{/privacy}","received_events_url":"https://api.github.com/users/FTB-Gamepedia/received_events","type":"Organization","site_admin":false},"repo":{"id":42335085,"node_id":"MDEwOlJlcG9zaXRvcnk0MjMzNTA4NQ==","name":"MediaWiki-Butt-Ruby","full_name":"FTB-Gamepedia/MediaWiki-Butt-Ruby","private":false,"owner":{"login":"FTB-Gamepedia","id":14207393,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjA3Mzkz","avatar_url":"https://avatars0.githubusercontent.com/u/14207393?v=4","gravatar_id":"","url":"https://api.github.com/users/FTB-Gamepedia","html_url":"https://github.com/FTB-Gamepedia","followers_url":"https://api.github.com/users/FTB-Gamepedia/followers","following_url":"https://api.github.com/users/FTB-Gamepedia/following{/other_user}","gists_url":"https://api.github.com/users/FTB-Gamepedia/gists{/gist_id}","starred_url":"https://api.github.com/users/FTB-Gamepedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FTB-Gamepedia/subscriptions","organizations_url":"https://api.github.com/users/FTB-Gamepedia/orgs","repos_url":"https://api.github.com/users/FTB-Gamepedia/repos","events_url":"https://api.github.com/users/FTB-Gamepedia/events{/privacy}","received_events_url":"https://api.github.com/users/FTB-Gamepedia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby","description":"A Ruby library for the MediaWiki API utilizing HTTPClient","fork":false,"url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby","forks_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/forks","keys_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/teams","hooks_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/hooks","issue_events_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues/events{/number}","events_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/events","assignees_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/assignees{/user}","branches_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/branches{/branch}","tags_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/tags","blobs_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/languages","stargazers_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/stargazers","contributors_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/contributors","subscribers_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/subscribers","subscription_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/subscription","commits_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/contents/{+path}","compare_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/merges","archive_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/downloads","issues_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues{/number}","pulls_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/labels{/name}","releases_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/releases{/id}","deployments_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/deployments","created_at":"2015-09-11T22:26:41Z","updated_at":"2019-08-14T01:20:55Z","pushed_at":"2019-08-20T20:42:34Z","git_url":"git://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby.git","ssh_url":"git@github.com:FTB-Gamepedia/MediaWiki-Butt-Ruby.git","clone_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby.git","svn_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby","homepage":"https://rubygems.org/gems/mediawiki-butt","size":476,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":12,"watchers":7,"default_branch":"master"}},"base":{"label":"FTB-Gamepedia:master","ref":"master","sha":"d2d68393983203d29b04f1920c018187da95d5db","user":{"login":"FTB-Gamepedia","id":14207393,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjA3Mzkz","avatar_url":"https://avatars0.githubusercontent.com/u/14207393?v=4","gravatar_id":"","url":"https://api.github.com/users/FTB-Gamepedia","html_url":"https://github.com/FTB-Gamepedia","followers_url":"https://api.github.com/users/FTB-Gamepedia/followers","following_url":"https://api.github.com/users/FTB-Gamepedia/following{/other_user}","gists_url":"https://api.github.com/users/FTB-Gamepedia/gists{/gist_id}","starred_url":"https://api.github.com/users/FTB-Gamepedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FTB-Gamepedia/subscriptions","organizations_url":"https://api.github.com/users/FTB-Gamepedia/orgs","repos_url":"https://api.github.com/users/FTB-Gamepedia/repos","events_url":"https://api.github.com/users/FTB-Gamepedia/events{/privacy}","received_events_url":"https://api.github.com/users/FTB-Gamepedia/received_events","type":"Organization","site_admin":false},"repo":{"id":42335085,"node_id":"MDEwOlJlcG9zaXRvcnk0MjMzNTA4NQ==","name":"MediaWiki-Butt-Ruby","full_name":"FTB-Gamepedia/MediaWiki-Butt-Ruby","private":false,"owner":{"login":"FTB-Gamepedia","id":14207393,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjA3Mzkz","avatar_url":"https://avatars0.githubusercontent.com/u/14207393?v=4","gravatar_id":"","url":"https://api.github.com/users/FTB-Gamepedia","html_url":"https://github.com/FTB-Gamepedia","followers_url":"https://api.github.com/users/FTB-Gamepedia/followers","following_url":"https://api.github.com/users/FTB-Gamepedia/following{/other_user}","gists_url":"https://api.github.com/users/FTB-Gamepedia/gists{/gist_id}","starred_url":"https://api.github.com/users/FTB-Gamepedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FTB-Gamepedia/subscriptions","organizations_url":"https://api.github.com/users/FTB-Gamepedia/orgs","repos_url":"https://api.github.com/users/FTB-Gamepedia/repos","events_url":"https://api.github.com/users/FTB-Gamepedia/events{/privacy}","received_events_url":"https://api.github.com/users/FTB-Gamepedia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby","description":"A Ruby library for the MediaWiki API utilizing HTTPClient","fork":false,"url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby","forks_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/forks","keys_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/teams","hooks_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/hooks","issue_events_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues/events{/number}","events_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/events","assignees_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/assignees{/user}","branches_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/branches{/branch}","tags_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/tags","blobs_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/languages","stargazers_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/stargazers","contributors_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/contributors","subscribers_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/subscribers","subscription_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/subscription","commits_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/contents/{+path}","compare_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/merges","archive_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/downloads","issues_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues{/number}","pulls_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/labels{/name}","releases_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/releases{/id}","deployments_url":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/deployments","created_at":"2015-09-11T22:26:41Z","updated_at":"2019-08-14T01:20:55Z","pushed_at":"2019-08-20T20:42:34Z","git_url":"git://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby.git","ssh_url":"git@github.com:FTB-Gamepedia/MediaWiki-Butt-Ruby.git","clone_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby.git","svn_url":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby","homepage":"https://rubygems.org/gems/mediawiki-butt","size":476,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":12,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":12,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls/71"},"html":{"href":"https://github.com/FTB-Gamepedia/MediaWiki-Butt-Ruby/pull/71"},"issue":{"href":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues/71"},"comments":{"href":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/FTB-Gamepedia/MediaWiki-Butt-Ruby/statuses/d64b3e82f5c09c194c5f4b4671c3fd407a0eff00"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"elifoster","id":4176124,"node_id":"MDQ6VXNlcjQxNzYxMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4176124?v=4","gravatar_id":"","url":"https://api.github.com/users/elifoster","html_url":"https://github.com/elifoster","followers_url":"https://api.github.com/users/elifoster/followers","following_url":"https://api.github.com/users/elifoster/following{/other_user}","gists_url":"https://api.github.com/users/elifoster/gists{/gist_id}","starred_url":"https://api.github.com/users/elifoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifoster/subscriptions","organizations_url":"https://api.github.com/users/elifoster/orgs","repos_url":"https://api.github.com/users/elifoster/repos","events_url":"https://api.github.com/users/elifoster/events{/privacy}","received_events_url":"https://api.github.com/users/elifoster/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":15,"deletions":15,"changed_files":5}}
{"actor":{"display_login":"elifoster"}}