{"action":"created","issue":{"url":"https://api.github.com/repos/alpinweis/cronex/issues/3","repository_url":"https://api.github.com/repos/alpinweis/cronex","labels_url":"https://api.github.com/repos/alpinweis/cronex/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/alpinweis/cronex/issues/3/comments","events_url":"https://api.github.com/repos/alpinweis/cronex/issues/3/events","html_url":"https://github.com/alpinweis/cronex/pull/3","id":191862750,"number":3,"title":"Integer() changed to Utils.number to handle octal values","user":{"login":"babakgh","id":1196491,"avatar_url":"https://avatars.githubusercontent.com/u/1196491?v=3","gravatar_id":"","url":"https://api.github.com/users/babakgh","html_url":"https://github.com/babakgh","followers_url":"https://api.github.com/users/babakgh/followers","following_url":"https://api.github.com/users/babakgh/following{/other_user}","gists_url":"https://api.github.com/users/babakgh/gists{/gist_id}","starred_url":"https://api.github.com/users/babakgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babakgh/subscriptions","organizations_url":"https://api.github.com/users/babakgh/orgs","repos_url":"https://api.github.com/users/babakgh/repos","events_url":"https://api.github.com/users/babakgh/events{/privacy}","received_events_url":"https://api.github.com/users/babakgh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-27T13:55:49Z","updated_at":"2016-11-27T13:58:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alpinweis/cronex/pulls/3","html_url":"https://github.com/alpinweis/cronex/pull/3","diff_url":"https://github.com/alpinweis/cronex/pull/3.diff","patch_url":"https://github.com/alpinweis/cronex/pull/3.patch"},"body":"In Integer(): the leading zero leads Ruby to think it's octal, but 8 & 9 isn't valid in an octal number.\r\nhttps://www.ruby-forum.com/topic/62141\r\n\r\nSo following expressions would raise errors\r\n```\r\nInteger(\"08\")\r\nCronex::ExpressionDescriptor.new(\"00 06 * * 7\").description\r\n```\r\n\r\nI fixed the issue by creating new method `Cronex::Utils.number` and changed all `Integer()` with it"},"comment":{"url":"https://api.github.com/repos/alpinweis/cronex/issues/comments/263123780","html_url":"https://github.com/alpinweis/cronex/pull/3#issuecomment-263123780","issue_url":"https://api.github.com/repos/alpinweis/cronex/issues/3","id":263123780,"user":{"login":"babakgh","id":1196491,"avatar_url":"https://avatars.githubusercontent.com/u/1196491?v=3","gravatar_id":"","url":"https://api.github.com/users/babakgh","html_url":"https://github.com/babakgh","followers_url":"https://api.github.com/users/babakgh/followers","following_url":"https://api.github.com/users/babakgh/following{/other_user}","gists_url":"https://api.github.com/users/babakgh/gists{/gist_id}","starred_url":"https://api.github.com/users/babakgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babakgh/subscriptions","organizations_url":"https://api.github.com/users/babakgh/orgs","repos_url":"https://api.github.com/users/babakgh/repos","events_url":"https://api.github.com/users/babakgh/events{/privacy}","received_events_url":"https://api.github.com/users/babakgh/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T13:58:35Z","updated_at":"2016-11-27T13:58:35Z","body":"It would be nice if you merge the changes asap. we have a complaint from a customer, thanks"}}
{"actor":{"display_login":"babakgh"}}