{"action":"closed","issue":{"url":"https://api.github.com/repos/pglaz/ninjahr/issues/40","labels_url":"https://api.github.com/repos/pglaz/ninjahr/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/pglaz/ninjahr/issues/40/comments","events_url":"https://api.github.com/repos/pglaz/ninjahr/issues/40/events","html_url":"https://github.com/pglaz/ninjahr/issues/40","id":57199407,"number":40,"title":"Bug with CHECK and overtime","user":{"login":"pglaz","id":4352382,"avatar_url":"https://avatars.githubusercontent.com/u/4352382?v=3","gravatar_id":"","url":"https://api.github.com/users/pglaz","html_url":"https://github.com/pglaz","followers_url":"https://api.github.com/users/pglaz/followers","following_url":"https://api.github.com/users/pglaz/following{/other_user}","gists_url":"https://api.github.com/users/pglaz/gists{/gist_id}","starred_url":"https://api.github.com/users/pglaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pglaz/subscriptions","organizations_url":"https://api.github.com/users/pglaz/orgs","repos_url":"https://api.github.com/users/pglaz/repos","events_url":"https://api.github.com/users/pglaz/events{/privacy}","received_events_url":"https://api.github.com/users/pglaz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pglaz/ninjahr/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"pglaz","id":4352382,"avatar_url":"https://avatars.githubusercontent.com/u/4352382?v=3","gravatar_id":"","url":"https://api.github.com/users/pglaz","html_url":"https://github.com/pglaz","followers_url":"https://api.github.com/users/pglaz/followers","following_url":"https://api.github.com/users/pglaz/following{/other_user}","gists_url":"https://api.github.com/users/pglaz/gists{/gist_id}","starred_url":"https://api.github.com/users/pglaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pglaz/subscriptions","organizations_url":"https://api.github.com/users/pglaz/orgs","repos_url":"https://api.github.com/users/pglaz/repos","events_url":"https://api.github.com/users/pglaz/events{/privacy}","received_events_url":"https://api.github.com/users/pglaz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pglaz/ninjahr/milestones/5","labels_url":"https://api.github.com/repos/pglaz/ninjahr/milestones/5/labels","id":858768,"number":5,"title":"0.5","description":"","creator":{"login":"pglaz","id":4352382,"avatar_url":"https://avatars.githubusercontent.com/u/4352382?v=3","gravatar_id":"","url":"https://api.github.com/users/pglaz","html_url":"https://github.com/pglaz","followers_url":"https://api.github.com/users/pglaz/followers","following_url":"https://api.github.com/users/pglaz/following{/other_user}","gists_url":"https://api.github.com/users/pglaz/gists{/gist_id}","starred_url":"https://api.github.com/users/pglaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pglaz/subscriptions","organizations_url":"https://api.github.com/users/pglaz/orgs","repos_url":"https://api.github.com/users/pglaz/repos","events_url":"https://api.github.com/users/pglaz/events{/privacy}","received_events_url":"https://api.github.com/users/pglaz/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":8,"state":"open","created_at":"2014-11-08T23:06:10Z","updated_at":"2015-02-14T19:11:36Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-02-10T16:36:30Z","updated_at":"2015-02-14T19:11:36Z","closed_at":"2015-02-14T19:11:36Z","body":"It seems that the script crashes when executing CHECK when working overtime:\r\n\r\n````\r\n/Users/pglaz/Dropbox/Praca/SilverWiz/ninjahr/ninjahr.rb:165:in `check': uninitialized class variable @@work_started in Ninjas (NameError)\r\n\tfrom /Users/pglaz/.rvm/gems/ruby-2.0.0-p0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n\tfrom /Users/pglaz/.rvm/gems/ruby-2.0.0-p0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n\tfrom /Users/pglaz/.rvm/gems/ruby-2.0.0-p0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n\tfrom /Users/pglaz/.rvm/gems/ruby-2.0.0-p0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n\tfrom /Users/pglaz/Dropbox/Praca/SilverWiz/ninjahr/ninjahr.rb:239:in `<main>'\r\n````"}}