{"action":"opened","number":1231,"pull_request":{"url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/1231","id":70944508,"html_url":"https://github.com/jcabi/jcabi-github/pull/1231","diff_url":"https://github.com/jcabi/jcabi-github/pull/1231.diff","patch_url":"https://github.com/jcabi/jcabi-github/pull/1231.patch","issue_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/1231","number":1231,"state":"open","locked":false,"title":"Fix ClassCastException in RtGithub#users","user":{"login":"kanghj","id":2216119,"avatar_url":"https://avatars.githubusercontent.com/u/2216119?v=3","gravatar_id":"","url":"https://api.github.com/users/kanghj","html_url":"https://github.com/kanghj","followers_url":"https://api.github.com/users/kanghj/followers","following_url":"https://api.github.com/users/kanghj/following{/other_user}","gists_url":"https://api.github.com/users/kanghj/gists{/gist_id}","starred_url":"https://api.github.com/users/kanghj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanghj/subscriptions","organizations_url":"https://api.github.com/users/kanghj/orgs","repos_url":"https://api.github.com/users/kanghj/repos","events_url":"https://api.github.com/users/kanghj/events{/privacy}","received_events_url":"https://api.github.com/users/kanghj/received_events","type":"User","site_admin":false},"body":"This is for #1187.\r\n\r\nChanged the code in `RtUser` to treat the id as an integer (https://developer.github.com/v3/users/ shows the id is an integer), and cast to string afterwards. A test case, which fails if it is run on the master branch, is added in `RtGithubITCase`. `RtUsersTest` is changed so that the json object's id is now a number","created_at":"2016-05-21T09:07:14Z","updated_at":"2016-05-21T09:07:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/1231/commits","review_comments_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/1231/comments","review_comment_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/1231/comments","statuses_url":"https://api.github.com/repos/jcabi/jcabi-github/statuses/2e78ca313bb19b0b0a200c5831b79fc3a8927f91","head":{"label":"kanghj:1187","ref":"1187","sha":"2e78ca313bb19b0b0a200c5831b79fc3a8927f91","user":{"login":"kanghj","id":2216119,"avatar_url":"https://avatars.githubusercontent.com/u/2216119?v=3","gravatar_id":"","url":"https://api.github.com/users/kanghj","html_url":"https://github.com/kanghj","followers_url":"https://api.github.com/users/kanghj/followers","following_url":"https://api.github.com/users/kanghj/following{/other_user}","gists_url":"https://api.github.com/users/kanghj/gists{/gist_id}","starred_url":"https://api.github.com/users/kanghj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanghj/subscriptions","organizations_url":"https://api.github.com/users/kanghj/orgs","repos_url":"https://api.github.com/users/kanghj/repos","events_url":"https://api.github.com/users/kanghj/events{/privacy}","received_events_url":"https://api.github.com/users/kanghj/received_events","type":"User","site_admin":false},"repo":{"id":59350440,"name":"jcabi-github","full_name":"kanghj/jcabi-github","owner":{"login":"kanghj","id":2216119,"avatar_url":"https://avatars.githubusercontent.com/u/2216119?v=3","gravatar_id":"","url":"https://api.github.com/users/kanghj","html_url":"https://github.com/kanghj","followers_url":"https://api.github.com/users/kanghj/followers","following_url":"https://api.github.com/users/kanghj/following{/other_user}","gists_url":"https://api.github.com/users/kanghj/gists{/gist_id}","starred_url":"https://api.github.com/users/kanghj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanghj/subscriptions","organizations_url":"https://api.github.com/users/kanghj/orgs","repos_url":"https://api.github.com/users/kanghj/repos","events_url":"https://api.github.com/users/kanghj/events{/privacy}","received_events_url":"https://api.github.com/users/kanghj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kanghj/jcabi-github","description":"Object Oriented Wrapper of Github API","fork":true,"url":"https://api.github.com/repos/kanghj/jcabi-github","forks_url":"https://api.github.com/repos/kanghj/jcabi-github/forks","keys_url":"https://api.github.com/repos/kanghj/jcabi-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kanghj/jcabi-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kanghj/jcabi-github/teams","hooks_url":"https://api.github.com/repos/kanghj/jcabi-github/hooks","issue_events_url":"https://api.github.com/repos/kanghj/jcabi-github/issues/events{/number}","events_url":"https://api.github.com/repos/kanghj/jcabi-github/events","assignees_url":"https://api.github.com/repos/kanghj/jcabi-github/assignees{/user}","branches_url":"https://api.github.com/repos/kanghj/jcabi-github/branches{/branch}","tags_url":"https://api.github.com/repos/kanghj/jcabi-github/tags","blobs_url":"https://api.github.com/repos/kanghj/jcabi-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kanghj/jcabi-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kanghj/jcabi-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/kanghj/jcabi-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kanghj/jcabi-github/statuses/{sha}","languages_url":"https://api.github.com/repos/kanghj/jcabi-github/languages","stargazers_url":"https://api.github.com/repos/kanghj/jcabi-github/stargazers","contributors_url":"https://api.github.com/repos/kanghj/jcabi-github/contributors","subscribers_url":"https://api.github.com/repos/kanghj/jcabi-github/subscribers","subscription_url":"https://api.github.com/repos/kanghj/jcabi-github/subscription","commits_url":"https://api.github.com/repos/kanghj/jcabi-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/kanghj/jcabi-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/kanghj/jcabi-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/kanghj/jcabi-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/kanghj/jcabi-github/contents/{+path}","compare_url":"https://api.github.com/repos/kanghj/jcabi-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kanghj/jcabi-github/merges","archive_url":"https://api.github.com/repos/kanghj/jcabi-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kanghj/jcabi-github/downloads","issues_url":"https://api.github.com/repos/kanghj/jcabi-github/issues{/number}","pulls_url":"https://api.github.com/repos/kanghj/jcabi-github/pulls{/number}","milestones_url":"https://api.github.com/repos/kanghj/jcabi-github/milestones{/number}","notifications_url":"https://api.github.com/repos/kanghj/jcabi-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kanghj/jcabi-github/labels{/name}","releases_url":"https://api.github.com/repos/kanghj/jcabi-github/releases{/id}","deployments_url":"https://api.github.com/repos/kanghj/jcabi-github/deployments","created_at":"2016-05-21T08:49:08Z","updated_at":"2016-05-21T08:49:10Z","pushed_at":"2016-05-21T09:04:54Z","git_url":"git://github.com/kanghj/jcabi-github.git","ssh_url":"git@github.com:kanghj/jcabi-github.git","clone_url":"https://github.com/kanghj/jcabi-github.git","svn_url":"https://github.com/kanghj/jcabi-github","homepage":"github.jcabi.com","size":34626,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"jcabi:master","ref":"master","sha":"3ec1e5639d6cbe9ffe8c23020073191b968b37a1","user":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"repo":{"id":14204295,"name":"jcabi-github","full_name":"jcabi/jcabi-github","owner":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jcabi/jcabi-github","description":"Object Oriented Wrapper of Github API","fork":false,"url":"https://api.github.com/repos/jcabi/jcabi-github","forks_url":"https://api.github.com/repos/jcabi/jcabi-github/forks","keys_url":"https://api.github.com/repos/jcabi/jcabi-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcabi/jcabi-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcabi/jcabi-github/teams","hooks_url":"https://api.github.com/repos/jcabi/jcabi-github/hooks","issue_events_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/events{/number}","events_url":"https://api.github.com/repos/jcabi/jcabi-github/events","assignees_url":"https://api.github.com/repos/jcabi/jcabi-github/assignees{/user}","branches_url":"https://api.github.com/repos/jcabi/jcabi-github/branches{/branch}","tags_url":"https://api.github.com/repos/jcabi/jcabi-github/tags","blobs_url":"https://api.github.com/repos/jcabi/jcabi-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcabi/jcabi-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcabi/jcabi-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcabi/jcabi-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcabi/jcabi-github/statuses/{sha}","languages_url":"https://api.github.com/repos/jcabi/jcabi-github/languages","stargazers_url":"https://api.github.com/repos/jcabi/jcabi-github/stargazers","contributors_url":"https://api.github.com/repos/jcabi/jcabi-github/contributors","subscribers_url":"https://api.github.com/repos/jcabi/jcabi-github/subscribers","subscription_url":"https://api.github.com/repos/jcabi/jcabi-github/subscription","commits_url":"https://api.github.com/repos/jcabi/jcabi-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcabi/jcabi-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcabi/jcabi-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcabi/jcabi-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcabi/jcabi-github/contents/{+path}","compare_url":"https://api.github.com/repos/jcabi/jcabi-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcabi/jcabi-github/merges","archive_url":"https://api.github.com/repos/jcabi/jcabi-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcabi/jcabi-github/downloads","issues_url":"https://api.github.com/repos/jcabi/jcabi-github/issues{/number}","pulls_url":"https://api.github.com/repos/jcabi/jcabi-github/pulls{/number}","milestones_url":"https://api.github.com/repos/jcabi/jcabi-github/milestones{/number}","notifications_url":"https://api.github.com/repos/jcabi/jcabi-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcabi/jcabi-github/labels{/name}","releases_url":"https://api.github.com/repos/jcabi/jcabi-github/releases{/id}","deployments_url":"https://api.github.com/repos/jcabi/jcabi-github/deployments","created_at":"2013-11-07T13:23:16Z","updated_at":"2016-04-18T15:45:42Z","pushed_at":"2016-05-16T07:21:02Z","git_url":"git://github.com/jcabi/jcabi-github.git","ssh_url":"git@github.com:jcabi/jcabi-github.git","clone_url":"https://github.com/jcabi/jcabi-github.git","svn_url":"https://github.com/jcabi/jcabi-github","homepage":"github.jcabi.com","size":35461,"stargazers_count":88,"watchers_count":88,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":80,"mirror_url":null,"open_issues_count":92,"forks":80,"open_issues":92,"watchers":88,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/1231"},"html":{"href":"https://github.com/jcabi/jcabi-github/pull/1231"},"issue":{"href":"https://api.github.com/repos/jcabi/jcabi-github/issues/1231"},"comments":{"href":"https://api.github.com/repos/jcabi/jcabi-github/issues/1231/comments"},"review_comments":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/1231/comments"},"review_comment":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jcabi/jcabi-github/pulls/1231/commits"},"statuses":{"href":"https://api.github.com/repos/jcabi/jcabi-github/statuses/2e78ca313bb19b0b0a200c5831b79fc3a8927f91"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":16,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"kanghj"}}