{"action":"created","issue":{"url":"https://api.github.com/repos/Timrael/social_shares/issues/23","repository_url":"https://api.github.com/repos/Timrael/social_shares","labels_url":"https://api.github.com/repos/Timrael/social_shares/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Timrael/social_shares/issues/23/comments","events_url":"https://api.github.com/repos/Timrael/social_shares/issues/23/events","html_url":"https://github.com/Timrael/social_shares/pull/23","id":319589571,"number":23,"title":"Ensure Stumbleupon returns an Integer","user":{"login":"Bodacious","id":73998,"avatar_url":"https://avatars2.githubusercontent.com/u/73998?v=4","gravatar_id":"","url":"https://api.github.com/users/Bodacious","html_url":"https://github.com/Bodacious","followers_url":"https://api.github.com/users/Bodacious/followers","following_url":"https://api.github.com/users/Bodacious/following{/other_user}","gists_url":"https://api.github.com/users/Bodacious/gists{/gist_id}","starred_url":"https://api.github.com/users/Bodacious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bodacious/subscriptions","organizations_url":"https://api.github.com/users/Bodacious/orgs","repos_url":"https://api.github.com/users/Bodacious/repos","events_url":"https://api.github.com/users/Bodacious/events{/privacy}","received_events_url":"https://api.github.com/users/Bodacious/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-02T14:59:27Z","updated_at":"2018-05-07T18:33:53Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Timrael/social_shares/pulls/23","html_url":"https://github.com/Timrael/social_shares/pull/23","diff_url":"https://github.com/Timrael/social_shares/pull/23.diff","patch_url":"https://github.com/Timrael/social_shares/pull/23.patch"},"body":"I found a bug in our app because we expected each of the results to return an Integer. However, it seems that Stumbleupon was returning a String rather than an Integer.\r\n\r\nThis would break things like:\r\n\r\n``` ruby\r\nSocialShares.all!(url).map { |c| c.last.to_i }.sum\r\n```"},"comment":{"url":"https://api.github.com/repos/Timrael/social_shares/issues/comments/387160220","html_url":"https://github.com/Timrael/social_shares/pull/23#issuecomment-387160220","issue_url":"https://api.github.com/repos/Timrael/social_shares/issues/23","id":387160220,"user":{"login":"Bodacious","id":73998,"avatar_url":"https://avatars2.githubusercontent.com/u/73998?v=4","gravatar_id":"","url":"https://api.github.com/users/Bodacious","html_url":"https://github.com/Bodacious","followers_url":"https://api.github.com/users/Bodacious/followers","following_url":"https://api.github.com/users/Bodacious/following{/other_user}","gists_url":"https://api.github.com/users/Bodacious/gists{/gist_id}","starred_url":"https://api.github.com/users/Bodacious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bodacious/subscriptions","organizations_url":"https://api.github.com/users/Bodacious/orgs","repos_url":"https://api.github.com/users/Bodacious/repos","events_url":"https://api.github.com/users/Bodacious/events{/privacy}","received_events_url":"https://api.github.com/users/Bodacious/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T18:33:52Z","updated_at":"2018-05-07T18:33:52Z","author_association":"NONE","body":"It happens with this url:\r\n\r\n`\"https://theoutline.com/post/2563/how-brands-secretly-buy-their-way-into-forbes-fast-company-and-huffpost-stories\"`"}}
{"actor":{"display_login":"Bodacious"}}