{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/27315","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/27315/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/27315/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/27315/events","html_url":"https://github.com/caskroom/homebrew-cask/pull/27315","id":193016830,"number":27315,"title":"pokerstars.rb: support PT region","user":{"login":"vitorgalvao","id":1699443,"avatar_url":"https://avatars.githubusercontent.com/u/1699443?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorgalvao","html_url":"https://github.com/vitorgalvao","followers_url":"https://api.github.com/users/vitorgalvao/followers","following_url":"https://api.github.com/users/vitorgalvao/following{/other_user}","gists_url":"https://api.github.com/users/vitorgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorgalvao/subscriptions","organizations_url":"https://api.github.com/users/vitorgalvao/orgs","repos_url":"https://api.github.com/users/vitorgalvao/repos","events_url":"https://api.github.com/users/vitorgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/vitorgalvao/received_events","type":"User","site_admin":false},"labels":[{"id":79449582,"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/awaiting%20maintainer%20feedback","name":"awaiting maintainer feedback","color":"ffdc32","default":false},{"id":102288907,"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/cask","name":"cask","color":"0ec993","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-02T02:21:59Z","updated_at":"2016-12-04T20:58:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/27315","html_url":"https://github.com/caskroom/homebrew-cask/pull/27315","diff_url":"https://github.com/caskroom/homebrew-cask/pull/27315.diff","patch_url":"https://github.com/caskroom/homebrew-cask/pull/27315.patch"},"body":"After making all changes to the cask:\r\n\r\n- [x] `brew cask audit --download {{cask_file}}` is error-free.\r\n- [x] `brew cask style --fix {{cask_file}}` reports no offenses.\r\n- [x] The commit message includes the cask’s name and version.\r\n\r\n---\r\n\r\n@reitermarkus Requesting some help here. I feel like this could be more elegant. There are a few things to consider:\r\n\r\n+ PokerStars will only work if you have the correct version for your region. There used to be an `EU` version, but since now in Portugal it is `PT`, I’m guessing they have one for each country specifically.\r\n  + Because of that, there really shouldn’t be a “default” version. Would it be possible to make it so that a user *has to* specify a region, else it would fail to install?\r\n+ PokerStars redirects you like crazy. They seriously do not by any means want you visiting the the pages for the other regions, which makes verifying any region but yours a pain (which is why I only added one language)."},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/264730630","html_url":"https://github.com/caskroom/homebrew-cask/pull/27315#issuecomment-264730630","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/27315","id":264730630,"user":{"login":"vitorgalvao","id":1699443,"avatar_url":"https://avatars.githubusercontent.com/u/1699443?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorgalvao","html_url":"https://github.com/vitorgalvao","followers_url":"https://api.github.com/users/vitorgalvao/followers","following_url":"https://api.github.com/users/vitorgalvao/following{/other_user}","gists_url":"https://api.github.com/users/vitorgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorgalvao/subscriptions","organizations_url":"https://api.github.com/users/vitorgalvao/orgs","repos_url":"https://api.github.com/users/vitorgalvao/repos","events_url":"https://api.github.com/users/vitorgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/vitorgalvao/received_events","type":"User","site_admin":false},"created_at":"2016-12-04T20:58:01Z","updated_at":"2016-12-04T20:58:01Z","body":"Fixed with the languages we’re sure of.\r\n\r\n> Also I just found this: https://www.pokerstars.eu/languages/\r\n\r\nCan’t see it, it redirects me to the PT site once more (it also does so with help articles, it’s really annoying and user-hostile)."}}
{"actor":{"display_login":"vitorgalvao"}}