{"action":"created","issue":{"url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/381","repository_url":"https://api.github.com/repos/skywinder/github-changelog-generator","labels_url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/381/comments","events_url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/381/events","html_url":"https://github.com/skywinder/github-changelog-generator/pull/381","id":155562092,"number":381,"title":"Using Octokit for Github API requests","user":{"login":"awaage","id":168586,"avatar_url":"https://avatars.githubusercontent.com/u/168586?v=3","gravatar_id":"","url":"https://api.github.com/users/awaage","html_url":"https://github.com/awaage","followers_url":"https://api.github.com/users/awaage/followers","following_url":"https://api.github.com/users/awaage/following{/other_user}","gists_url":"https://api.github.com/users/awaage/gists{/gist_id}","starred_url":"https://api.github.com/users/awaage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awaage/subscriptions","organizations_url":"https://api.github.com/users/awaage/orgs","repos_url":"https://api.github.com/users/awaage/repos","events_url":"https://api.github.com/users/awaage/events{/privacy}","received_events_url":"https://api.github.com/users/awaage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-18T17:48:04Z","updated_at":"2016-05-20T06:48:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/skywinder/github-changelog-generator/pulls/381","html_url":"https://github.com/skywinder/github-changelog-generator/pull/381","diff_url":"https://github.com/skywinder/github-changelog-generator/pull/381.diff","patch_url":"https://github.com/skywinder/github-changelog-generator/pull/381.patch"},"body":"This is hopefully one step in the right direction, to use Octokit for Github API requests.\r\nThis directly addresses: https://github.com/skywinder/github-changelog-generator/issues/222\r\n\r\nI really would like to get this issue resolved: https://github.com/skywinder/github-changelog-generator/issues/361\r\n\r\nFor review purposes, I simply created a new fetcher (OctoFetcher). The follow-up to this PR should be to remove the old Fetcher. Alternatively, we could use factory pattern and support both, but I don't really see a point to it. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/comments/220530543","html_url":"https://github.com/skywinder/github-changelog-generator/pull/381#issuecomment-220530543","issue_url":"https://api.github.com/repos/skywinder/github-changelog-generator/issues/381","id":220530543,"user":{"login":"awaage","id":168586,"avatar_url":"https://avatars.githubusercontent.com/u/168586?v=3","gravatar_id":"","url":"https://api.github.com/users/awaage","html_url":"https://github.com/awaage","followers_url":"https://api.github.com/users/awaage/followers","following_url":"https://api.github.com/users/awaage/following{/other_user}","gists_url":"https://api.github.com/users/awaage/gists{/gist_id}","starred_url":"https://api.github.com/users/awaage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awaage/subscriptions","organizations_url":"https://api.github.com/users/awaage/orgs","repos_url":"https://api.github.com/users/awaage/repos","events_url":"https://api.github.com/users/awaage/events{/privacy}","received_events_url":"https://api.github.com/users/awaage/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T06:48:51Z","updated_at":"2016-05-20T06:48:51Z","body":"Added specs for the new octo_fetcher \r\nCommit ( https://github.com/skywinder/github-changelog-generator/pull/381/commits/434cc850ea05db847625845b8b6b92f310f460e3 )\r\n\r\nI standardized the OctoFetcher to return hashes/arrays with stringified keys, as opposed to the Sawyer::Resource type. This was to keep it simple, and as similar as possible to old code / tests.\r\n\r\nI had to refactor some of the code so that it uses hash access with string keys rather than accessing as methods/objects.\r\n\r\n"}}
{"actor":{"display_login":"awaage"}}