{"action":"opened","issue":{"url":"https://api.github.com/repos/fnando/browser/issues/278","repository_url":"https://api.github.com/repos/fnando/browser","labels_url":"https://api.github.com/repos/fnando/browser/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/fnando/browser/issues/278/comments","events_url":"https://api.github.com/repos/fnando/browser/issues/278/events","html_url":"https://github.com/fnando/browser/issues/278","id":183019957,"number":278,"title":"Browser gem is not working with Chrome on MacOS Sierra","user":{"login":"tung-tinypulse","id":21326910,"avatar_url":"https://avatars.githubusercontent.com/u/21326910?v=3","gravatar_id":"","url":"https://api.github.com/users/tung-tinypulse","html_url":"https://github.com/tung-tinypulse","followers_url":"https://api.github.com/users/tung-tinypulse/followers","following_url":"https://api.github.com/users/tung-tinypulse/following{/other_user}","gists_url":"https://api.github.com/users/tung-tinypulse/gists{/gist_id}","starred_url":"https://api.github.com/users/tung-tinypulse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tung-tinypulse/subscriptions","organizations_url":"https://api.github.com/users/tung-tinypulse/orgs","repos_url":"https://api.github.com/users/tung-tinypulse/repos","events_url":"https://api.github.com/users/tung-tinypulse/events{/privacy}","received_events_url":"https://api.github.com/users/tung-tinypulse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-14T10:47:02Z","updated_at":"2016-10-14T10:47:02Z","closed_at":null,"body":"## Description\r\n\r\nI tried with user agent from Chrome 53.0 on MacOS Sierra and the gem doesn't work\r\n\r\n## How to reproduce\r\n\r\n* Open rails console and initialize with this user agent\r\n\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36\"\r\n\r\n`b = Browser.new({:user_agent => \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36\"}) `\r\n\r\n* Call method .version\r\n`b.version`\r\n\r\n## What do you expect\r\n\r\nBrowser's version is display properly\r\n\r\n## What happened instead\r\n\r\nException ArgumentError: wrong number of arguments (given 2, expected 1)\r\n[https://cl.ly/3o2s3R0P1A03](screen shot)\r\n\r\n## Software:\r\n\r\n- Rails version: 4.2.7\r\n- Browser gem version: 2.2.0\r\n\r\n## Full backtrace\r\n\r\n```text\r\n[Paste full backtrace here]\r\n```\r\n\r\n## Report\r\n\r\n[Visit <http://user-agent.herokuapp.com> and paste the URL here]\r\n"}}
{"actor":{"display_login":"tung-tinypulse"}}