{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls/8","id":35193054,"html_url":"https://github.com/dustinlakin/twitch-rb/pull/8","diff_url":"https://github.com/dustinlakin/twitch-rb/pull/8.diff","patch_url":"https://github.com/dustinlakin/twitch-rb/pull/8.patch","issue_url":"https://api.github.com/repos/dustinlakin/twitch-rb/issues/8","number":8,"state":"closed","locked":false,"title":"Split gem into multiple modules and classes. Add support for Adapters.","user":{"login":"MrBeardy","id":578902,"avatar_url":"https://avatars.githubusercontent.com/u/578902?v=3","gravatar_id":"","url":"https://api.github.com/users/MrBeardy","html_url":"https://github.com/MrBeardy","followers_url":"https://api.github.com/users/MrBeardy/followers","following_url":"https://api.github.com/users/MrBeardy/following{/other_user}","gists_url":"https://api.github.com/users/MrBeardy/gists{/gist_id}","starred_url":"https://api.github.com/users/MrBeardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrBeardy/subscriptions","organizations_url":"https://api.github.com/users/MrBeardy/orgs","repos_url":"https://api.github.com/users/MrBeardy/repos","events_url":"https://api.github.com/users/MrBeardy/events{/privacy}","received_events_url":"https://api.github.com/users/MrBeardy/received_events","type":"User","site_admin":false},"body":"\\* Works exactly the same as the previous versions (I hope), but I've moved some of\r\n  the code into modules and classes for easier editing.\r\n\r\n\\* Adds Adapters, which allows the gem to use different HTTP libraries\r\n  (see bottom of README.md for an example that uses open-uri).\r\n\r\nI've also added some tests for Adapters, all new and previous tests passed for me (except three; two failed since I didn't provide an access_token and the third failed due to mismatched parameters to editChannel, though I had the same test failures before making any changes).\r\n\r\nSince this push changed a lot of code and may potentially maybe break (maybe), I've upped the version number to 0.0.5 (in twitch/version.rb), though technically I did add tests, and everyone knows tests catch 100% of the errors 99% of the time (10 times out of 7). \r\n\r\nThe gemspec should also get the version number from the version file now too, so you should just be able to update version.rb to have it update the gemspec.","created_at":"2015-05-12T04:49:46Z","updated_at":"2015-05-12T22:13:57Z","closed_at":"2015-05-12T22:13:57Z","merged_at":"2015-05-12T22:13:57Z","merge_commit_sha":"58351610639221effe34e731ed29bf62f5dd72f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls/8/commits","review_comments_url":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls/8/comments","review_comment_url":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dustinlakin/twitch-rb/issues/8/comments","statuses_url":"https://api.github.com/repos/dustinlakin/twitch-rb/statuses/3357ff6153b9c17cfb1328b7740e8f2bd988d484","head":{"label":"MrBeardy:master","ref":"master","sha":"3357ff6153b9c17cfb1328b7740e8f2bd988d484","user":{"login":"MrBeardy","id":578902,"avatar_url":"https://avatars.githubusercontent.com/u/578902?v=3","gravatar_id":"","url":"https://api.github.com/users/MrBeardy","html_url":"https://github.com/MrBeardy","followers_url":"https://api.github.com/users/MrBeardy/followers","following_url":"https://api.github.com/users/MrBeardy/following{/other_user}","gists_url":"https://api.github.com/users/MrBeardy/gists{/gist_id}","starred_url":"https://api.github.com/users/MrBeardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrBeardy/subscriptions","organizations_url":"https://api.github.com/users/MrBeardy/orgs","repos_url":"https://api.github.com/users/MrBeardy/repos","events_url":"https://api.github.com/users/MrBeardy/events{/privacy}","received_events_url":"https://api.github.com/users/MrBeardy/received_events","type":"User","site_admin":false},"repo":{"id":35458025,"name":"twitch-rb","full_name":"MrBeardy/twitch-rb","owner":{"login":"MrBeardy","id":578902,"avatar_url":"https://avatars.githubusercontent.com/u/578902?v=3","gravatar_id":"","url":"https://api.github.com/users/MrBeardy","html_url":"https://github.com/MrBeardy","followers_url":"https://api.github.com/users/MrBeardy/followers","following_url":"https://api.github.com/users/MrBeardy/following{/other_user}","gists_url":"https://api.github.com/users/MrBeardy/gists{/gist_id}","starred_url":"https://api.github.com/users/MrBeardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrBeardy/subscriptions","organizations_url":"https://api.github.com/users/MrBeardy/orgs","repos_url":"https://api.github.com/users/MrBeardy/repos","events_url":"https://api.github.com/users/MrBeardy/events{/privacy}","received_events_url":"https://api.github.com/users/MrBeardy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrBeardy/twitch-rb","description":"Twitch API gem","fork":true,"url":"https://api.github.com/repos/MrBeardy/twitch-rb","forks_url":"https://api.github.com/repos/MrBeardy/twitch-rb/forks","keys_url":"https://api.github.com/repos/MrBeardy/twitch-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrBeardy/twitch-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrBeardy/twitch-rb/teams","hooks_url":"https://api.github.com/repos/MrBeardy/twitch-rb/hooks","issue_events_url":"https://api.github.com/repos/MrBeardy/twitch-rb/issues/events{/number}","events_url":"https://api.github.com/repos/MrBeardy/twitch-rb/events","assignees_url":"https://api.github.com/repos/MrBeardy/twitch-rb/assignees{/user}","branches_url":"https://api.github.com/repos/MrBeardy/twitch-rb/branches{/branch}","tags_url":"https://api.github.com/repos/MrBeardy/twitch-rb/tags","blobs_url":"https://api.github.com/repos/MrBeardy/twitch-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrBeardy/twitch-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrBeardy/twitch-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrBeardy/twitch-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrBeardy/twitch-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/MrBeardy/twitch-rb/languages","stargazers_url":"https://api.github.com/repos/MrBeardy/twitch-rb/stargazers","contributors_url":"https://api.github.com/repos/MrBeardy/twitch-rb/contributors","subscribers_url":"https://api.github.com/repos/MrBeardy/twitch-rb/subscribers","subscription_url":"https://api.github.com/repos/MrBeardy/twitch-rb/subscription","commits_url":"https://api.github.com/repos/MrBeardy/twitch-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrBeardy/twitch-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrBeardy/twitch-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrBeardy/twitch-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrBeardy/twitch-rb/contents/{+path}","compare_url":"https://api.github.com/repos/MrBeardy/twitch-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrBeardy/twitch-rb/merges","archive_url":"https://api.github.com/repos/MrBeardy/twitch-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrBeardy/twitch-rb/downloads","issues_url":"https://api.github.com/repos/MrBeardy/twitch-rb/issues{/number}","pulls_url":"https://api.github.com/repos/MrBeardy/twitch-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/MrBeardy/twitch-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/MrBeardy/twitch-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrBeardy/twitch-rb/labels{/name}","releases_url":"https://api.github.com/repos/MrBeardy/twitch-rb/releases{/id}","created_at":"2015-05-12T00:44:05Z","updated_at":"2015-05-12T00:44:05Z","pushed_at":"2015-05-12T04:24:35Z","git_url":"git://github.com/MrBeardy/twitch-rb.git","ssh_url":"git@github.com:MrBeardy/twitch-rb.git","clone_url":"https://github.com/MrBeardy/twitch-rb.git","svn_url":"https://github.com/MrBeardy/twitch-rb","homepage":null,"size":200,"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":"dustinlakin:master","ref":"master","sha":"e67ec7d6925ea3271d2b8512cd717ee2fb0906e1","user":{"login":"dustinlakin","id":700266,"avatar_url":"https://avatars.githubusercontent.com/u/700266?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinlakin","html_url":"https://github.com/dustinlakin","followers_url":"https://api.github.com/users/dustinlakin/followers","following_url":"https://api.github.com/users/dustinlakin/following{/other_user}","gists_url":"https://api.github.com/users/dustinlakin/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinlakin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinlakin/subscriptions","organizations_url":"https://api.github.com/users/dustinlakin/orgs","repos_url":"https://api.github.com/users/dustinlakin/repos","events_url":"https://api.github.com/users/dustinlakin/events{/privacy}","received_events_url":"https://api.github.com/users/dustinlakin/received_events","type":"User","site_admin":false},"repo":{"id":7950638,"name":"twitch-rb","full_name":"dustinlakin/twitch-rb","owner":{"login":"dustinlakin","id":700266,"avatar_url":"https://avatars.githubusercontent.com/u/700266?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinlakin","html_url":"https://github.com/dustinlakin","followers_url":"https://api.github.com/users/dustinlakin/followers","following_url":"https://api.github.com/users/dustinlakin/following{/other_user}","gists_url":"https://api.github.com/users/dustinlakin/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinlakin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinlakin/subscriptions","organizations_url":"https://api.github.com/users/dustinlakin/orgs","repos_url":"https://api.github.com/users/dustinlakin/repos","events_url":"https://api.github.com/users/dustinlakin/events{/privacy}","received_events_url":"https://api.github.com/users/dustinlakin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dustinlakin/twitch-rb","description":"Twitch API gem","fork":false,"url":"https://api.github.com/repos/dustinlakin/twitch-rb","forks_url":"https://api.github.com/repos/dustinlakin/twitch-rb/forks","keys_url":"https://api.github.com/repos/dustinlakin/twitch-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dustinlakin/twitch-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dustinlakin/twitch-rb/teams","hooks_url":"https://api.github.com/repos/dustinlakin/twitch-rb/hooks","issue_events_url":"https://api.github.com/repos/dustinlakin/twitch-rb/issues/events{/number}","events_url":"https://api.github.com/repos/dustinlakin/twitch-rb/events","assignees_url":"https://api.github.com/repos/dustinlakin/twitch-rb/assignees{/user}","branches_url":"https://api.github.com/repos/dustinlakin/twitch-rb/branches{/branch}","tags_url":"https://api.github.com/repos/dustinlakin/twitch-rb/tags","blobs_url":"https://api.github.com/repos/dustinlakin/twitch-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dustinlakin/twitch-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dustinlakin/twitch-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/dustinlakin/twitch-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dustinlakin/twitch-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/dustinlakin/twitch-rb/languages","stargazers_url":"https://api.github.com/repos/dustinlakin/twitch-rb/stargazers","contributors_url":"https://api.github.com/repos/dustinlakin/twitch-rb/contributors","subscribers_url":"https://api.github.com/repos/dustinlakin/twitch-rb/subscribers","subscription_url":"https://api.github.com/repos/dustinlakin/twitch-rb/subscription","commits_url":"https://api.github.com/repos/dustinlakin/twitch-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/dustinlakin/twitch-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/dustinlakin/twitch-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/dustinlakin/twitch-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/dustinlakin/twitch-rb/contents/{+path}","compare_url":"https://api.github.com/repos/dustinlakin/twitch-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dustinlakin/twitch-rb/merges","archive_url":"https://api.github.com/repos/dustinlakin/twitch-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dustinlakin/twitch-rb/downloads","issues_url":"https://api.github.com/repos/dustinlakin/twitch-rb/issues{/number}","pulls_url":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/dustinlakin/twitch-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/dustinlakin/twitch-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dustinlakin/twitch-rb/labels{/name}","releases_url":"https://api.github.com/repos/dustinlakin/twitch-rb/releases{/id}","created_at":"2013-02-01T02:58:18Z","updated_at":"2015-05-12T04:53:46Z","pushed_at":"2015-05-12T22:13:57Z","git_url":"git://github.com/dustinlakin/twitch-rb.git","ssh_url":"git@github.com:dustinlakin/twitch-rb.git","clone_url":"https://github.com/dustinlakin/twitch-rb.git","svn_url":"https://github.com/dustinlakin/twitch-rb","homepage":null,"size":200,"stargazers_count":23,"watchers_count":23,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":0,"forks":15,"open_issues":0,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls/8"},"html":{"href":"https://github.com/dustinlakin/twitch-rb/pull/8"},"issue":{"href":"https://api.github.com/repos/dustinlakin/twitch-rb/issues/8"},"comments":{"href":"https://api.github.com/repos/dustinlakin/twitch-rb/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dustinlakin/twitch-rb/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/dustinlakin/twitch-rb/statuses/3357ff6153b9c17cfb1328b7740e8f2bd988d484"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dustinlakin","id":700266,"avatar_url":"https://avatars.githubusercontent.com/u/700266?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinlakin","html_url":"https://github.com/dustinlakin","followers_url":"https://api.github.com/users/dustinlakin/followers","following_url":"https://api.github.com/users/dustinlakin/following{/other_user}","gists_url":"https://api.github.com/users/dustinlakin/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinlakin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinlakin/subscriptions","organizations_url":"https://api.github.com/users/dustinlakin/orgs","repos_url":"https://api.github.com/users/dustinlakin/repos","events_url":"https://api.github.com/users/dustinlakin/events{/privacy}","received_events_url":"https://api.github.com/users/dustinlakin/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":587,"deletions":409,"changed_files":10}}