{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls/4","id":109116341,"html_url":"https://github.com/ciihla/ruby-eet-cz/pull/4","diff_url":"https://github.com/ciihla/ruby-eet-cz/pull/4.diff","patch_url":"https://github.com/ciihla/ruby-eet-cz/pull/4.patch","issue_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/issues/4","number":4,"state":"open","locked":false,"title":"Time.zone is nil","user":{"login":"MichalBryxi","id":847473,"avatar_url":"https://avatars2.githubusercontent.com/u/847473?v=3","gravatar_id":"","url":"https://api.github.com/users/MichalBryxi","html_url":"https://github.com/MichalBryxi","followers_url":"https://api.github.com/users/MichalBryxi/followers","following_url":"https://api.github.com/users/MichalBryxi/following{/other_user}","gists_url":"https://api.github.com/users/MichalBryxi/gists{/gist_id}","starred_url":"https://api.github.com/users/MichalBryxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichalBryxi/subscriptions","organizations_url":"https://api.github.com/users/MichalBryxi/orgs","repos_url":"https://api.github.com/users/MichalBryxi/repos","events_url":"https://api.github.com/users/MichalBryxi/events{/privacy}","received_events_url":"https://api.github.com/users/MichalBryxi/received_events","type":"User","site_admin":false},"body":"When running sample code from `README.md`, I get following error:\r\n\r\n```\r\n$ bundle exec ruby ./bin/eet_ping.rb\r\n./bin/eet_ping.rb:28:in `<main>': undefined method `now' for nil:NilClass (NoMethodError)\r\n```\r\n\r\nNot sure where is the root of the problem problem, but just using `Time.current` as stated in section [16.1.1 in active_support docs](http://guides.rubyonrails.org/active_support_core_extensions.html#extensions-to-time) fixed my problem.","created_at":"2017-03-04T17:56:32Z","updated_at":"2017-03-04T17:56:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/issues/4/comments","statuses_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/statuses/75874cd77be1e8bf0a0a06a2bc24f29986f49d72","head":{"label":"MichalBryxi:time-zone-now","ref":"time-zone-now","sha":"75874cd77be1e8bf0a0a06a2bc24f29986f49d72","user":{"login":"MichalBryxi","id":847473,"avatar_url":"https://avatars2.githubusercontent.com/u/847473?v=3","gravatar_id":"","url":"https://api.github.com/users/MichalBryxi","html_url":"https://github.com/MichalBryxi","followers_url":"https://api.github.com/users/MichalBryxi/followers","following_url":"https://api.github.com/users/MichalBryxi/following{/other_user}","gists_url":"https://api.github.com/users/MichalBryxi/gists{/gist_id}","starred_url":"https://api.github.com/users/MichalBryxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichalBryxi/subscriptions","organizations_url":"https://api.github.com/users/MichalBryxi/orgs","repos_url":"https://api.github.com/users/MichalBryxi/repos","events_url":"https://api.github.com/users/MichalBryxi/events{/privacy}","received_events_url":"https://api.github.com/users/MichalBryxi/received_events","type":"User","site_admin":false},"repo":{"id":83891509,"name":"ruby-eet-cz","full_name":"MichalBryxi/ruby-eet-cz","owner":{"login":"MichalBryxi","id":847473,"avatar_url":"https://avatars2.githubusercontent.com/u/847473?v=3","gravatar_id":"","url":"https://api.github.com/users/MichalBryxi","html_url":"https://github.com/MichalBryxi","followers_url":"https://api.github.com/users/MichalBryxi/followers","following_url":"https://api.github.com/users/MichalBryxi/following{/other_user}","gists_url":"https://api.github.com/users/MichalBryxi/gists{/gist_id}","starred_url":"https://api.github.com/users/MichalBryxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichalBryxi/subscriptions","organizations_url":"https://api.github.com/users/MichalBryxi/orgs","repos_url":"https://api.github.com/users/MichalBryxi/repos","events_url":"https://api.github.com/users/MichalBryxi/events{/privacy}","received_events_url":"https://api.github.com/users/MichalBryxi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MichalBryxi/ruby-eet-cz","description":"EET wrapper for Ruby","fork":true,"url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz","forks_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/forks","keys_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/teams","hooks_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/hooks","issue_events_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/issues/events{/number}","events_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/events","assignees_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/assignees{/user}","branches_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/branches{/branch}","tags_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/tags","blobs_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/git/refs{/sha}","trees_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/statuses/{sha}","languages_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/languages","stargazers_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/stargazers","contributors_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/contributors","subscribers_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/subscribers","subscription_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/subscription","commits_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/commits{/sha}","git_commits_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/git/commits{/sha}","comments_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/comments{/number}","issue_comment_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/issues/comments{/number}","contents_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/contents/{+path}","compare_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/merges","archive_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/downloads","issues_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/issues{/number}","pulls_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/pulls{/number}","milestones_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/milestones{/number}","notifications_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/labels{/name}","releases_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/releases{/id}","deployments_url":"https://api.github.com/repos/MichalBryxi/ruby-eet-cz/deployments","created_at":"2017-03-04T12:23:40Z","updated_at":"2017-03-04T12:23:44Z","pushed_at":"2017-03-04T17:56:08Z","git_url":"git://github.com/MichalBryxi/ruby-eet-cz.git","ssh_url":"git@github.com:MichalBryxi/ruby-eet-cz.git","clone_url":"https://github.com/MichalBryxi/ruby-eet-cz.git","svn_url":"https://github.com/MichalBryxi/ruby-eet-cz","homepage":null,"size":70,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ciihla:master","ref":"master","sha":"eb19a1f0075781ffaf7584a348b089b32885c925","user":{"login":"ciihla","id":123601,"avatar_url":"https://avatars1.githubusercontent.com/u/123601?v=3","gravatar_id":"","url":"https://api.github.com/users/ciihla","html_url":"https://github.com/ciihla","followers_url":"https://api.github.com/users/ciihla/followers","following_url":"https://api.github.com/users/ciihla/following{/other_user}","gists_url":"https://api.github.com/users/ciihla/gists{/gist_id}","starred_url":"https://api.github.com/users/ciihla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciihla/subscriptions","organizations_url":"https://api.github.com/users/ciihla/orgs","repos_url":"https://api.github.com/users/ciihla/repos","events_url":"https://api.github.com/users/ciihla/events{/privacy}","received_events_url":"https://api.github.com/users/ciihla/received_events","type":"User","site_admin":false},"repo":{"id":77122984,"name":"ruby-eet-cz","full_name":"ciihla/ruby-eet-cz","owner":{"login":"ciihla","id":123601,"avatar_url":"https://avatars1.githubusercontent.com/u/123601?v=3","gravatar_id":"","url":"https://api.github.com/users/ciihla","html_url":"https://github.com/ciihla","followers_url":"https://api.github.com/users/ciihla/followers","following_url":"https://api.github.com/users/ciihla/following{/other_user}","gists_url":"https://api.github.com/users/ciihla/gists{/gist_id}","starred_url":"https://api.github.com/users/ciihla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciihla/subscriptions","organizations_url":"https://api.github.com/users/ciihla/orgs","repos_url":"https://api.github.com/users/ciihla/repos","events_url":"https://api.github.com/users/ciihla/events{/privacy}","received_events_url":"https://api.github.com/users/ciihla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ciihla/ruby-eet-cz","description":"EET wrapper for Ruby","fork":false,"url":"https://api.github.com/repos/ciihla/ruby-eet-cz","forks_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/forks","keys_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/teams","hooks_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/hooks","issue_events_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/issues/events{/number}","events_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/events","assignees_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/assignees{/user}","branches_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/branches{/branch}","tags_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/tags","blobs_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/git/refs{/sha}","trees_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/statuses/{sha}","languages_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/languages","stargazers_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/stargazers","contributors_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/contributors","subscribers_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/subscribers","subscription_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/subscription","commits_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/commits{/sha}","git_commits_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/git/commits{/sha}","comments_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/comments{/number}","issue_comment_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/issues/comments{/number}","contents_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/contents/{+path}","compare_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/merges","archive_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/downloads","issues_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/issues{/number}","pulls_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls{/number}","milestones_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/milestones{/number}","notifications_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/labels{/name}","releases_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/releases{/id}","deployments_url":"https://api.github.com/repos/ciihla/ruby-eet-cz/deployments","created_at":"2016-12-22T07:33:25Z","updated_at":"2017-03-04T11:42:55Z","pushed_at":"2017-03-04T14:23:05Z","git_url":"git://github.com/ciihla/ruby-eet-cz.git","ssh_url":"git@github.com:ciihla/ruby-eet-cz.git","clone_url":"https://github.com/ciihla/ruby-eet-cz.git","svn_url":"https://github.com/ciihla/ruby-eet-cz","homepage":null,"size":71,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls/4"},"html":{"href":"https://github.com/ciihla/ruby-eet-cz/pull/4"},"issue":{"href":"https://api.github.com/repos/ciihla/ruby-eet-cz/issues/4"},"comments":{"href":"https://api.github.com/repos/ciihla/ruby-eet-cz/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ciihla/ruby-eet-cz/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ciihla/ruby-eet-cz/statuses/75874cd77be1e8bf0a0a06a2bc24f29986f49d72"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"MichalBryxi"}}