{"action":"opened","number":248,"pull_request":{"url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls/248","id":33666639,"html_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli/pull/248","diff_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli/pull/248.diff","patch_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli/pull/248.patch","issue_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues/248","number":248,"state":"open","locked":false,"title":"current_user_is_admin -> current_user.try(:admin)","user":{"login":"41407","id":2639294,"avatar_url":"https://avatars.githubusercontent.com/u/2639294?v=3","gravatar_id":"","url":"https://api.github.com/users/41407","html_url":"https://github.com/41407","followers_url":"https://api.github.com/users/41407/followers","following_url":"https://api.github.com/users/41407/following{/other_user}","gists_url":"https://api.github.com/users/41407/gists{/gist_id}","starred_url":"https://api.github.com/users/41407/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/41407/subscriptions","organizations_url":"https://api.github.com/users/41407/orgs","repos_url":"https://api.github.com/users/41407/repos","events_url":"https://api.github.com/users/41407/events{/privacy}","received_events_url":"https://api.github.com/users/41407/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-20T13:47:31Z","updated_at":"2015-04-20T13:47:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c929e8165248f8883d48b8c50df77d250a08a124","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls/248/commits","review_comments_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls/248/comments","review_comment_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues/248/comments","statuses_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/statuses/3b70c2d86a99e4e87e9ae68ec8418bf63e4d0a20","head":{"label":"taudinpurkauspeli:simplify-current-user-admin-check","ref":"simplify-current-user-admin-check","sha":"3b70c2d86a99e4e87e9ae68ec8418bf63e4d0a20","user":{"login":"taudinpurkauspeli","id":10498058,"avatar_url":"https://avatars.githubusercontent.com/u/10498058?v=3","gravatar_id":"","url":"https://api.github.com/users/taudinpurkauspeli","html_url":"https://github.com/taudinpurkauspeli","followers_url":"https://api.github.com/users/taudinpurkauspeli/followers","following_url":"https://api.github.com/users/taudinpurkauspeli/following{/other_user}","gists_url":"https://api.github.com/users/taudinpurkauspeli/gists{/gist_id}","starred_url":"https://api.github.com/users/taudinpurkauspeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taudinpurkauspeli/subscriptions","organizations_url":"https://api.github.com/users/taudinpurkauspeli/orgs","repos_url":"https://api.github.com/users/taudinpurkauspeli/repos","events_url":"https://api.github.com/users/taudinpurkauspeli/events{/privacy}","received_events_url":"https://api.github.com/users/taudinpurkauspeli/received_events","type":"Organization","site_admin":false},"repo":{"id":29182167,"name":"taudinpurkauspeli","full_name":"taudinpurkauspeli/taudinpurkauspeli","owner":{"login":"taudinpurkauspeli","id":10498058,"avatar_url":"https://avatars.githubusercontent.com/u/10498058?v=3","gravatar_id":"","url":"https://api.github.com/users/taudinpurkauspeli","html_url":"https://github.com/taudinpurkauspeli","followers_url":"https://api.github.com/users/taudinpurkauspeli/followers","following_url":"https://api.github.com/users/taudinpurkauspeli/following{/other_user}","gists_url":"https://api.github.com/users/taudinpurkauspeli/gists{/gist_id}","starred_url":"https://api.github.com/users/taudinpurkauspeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taudinpurkauspeli/subscriptions","organizations_url":"https://api.github.com/users/taudinpurkauspeli/orgs","repos_url":"https://api.github.com/users/taudinpurkauspeli/repos","events_url":"https://api.github.com/users/taudinpurkauspeli/events{/privacy}","received_events_url":"https://api.github.com/users/taudinpurkauspeli/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli","description":"","fork":false,"url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli","forks_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/forks","keys_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/teams","hooks_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/hooks","issue_events_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues/events{/number}","events_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/events","assignees_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/assignees{/user}","branches_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/branches{/branch}","tags_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/tags","blobs_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/refs{/sha}","trees_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/statuses/{sha}","languages_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/languages","stargazers_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/stargazers","contributors_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/contributors","subscribers_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/subscribers","subscription_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/subscription","commits_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/commits{/sha}","git_commits_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/commits{/sha}","comments_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/comments{/number}","issue_comment_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues/comments{/number}","contents_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/contents/{+path}","compare_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/merges","archive_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/downloads","issues_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues{/number}","pulls_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls{/number}","milestones_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/milestones{/number}","notifications_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/labels{/name}","releases_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/releases{/id}","created_at":"2015-01-13T09:16:04Z","updated_at":"2015-04-20T12:48:28Z","pushed_at":"2015-04-20T13:47:31Z","git_url":"git://github.com/taudinpurkauspeli/taudinpurkauspeli.git","ssh_url":"git@github.com:taudinpurkauspeli/taudinpurkauspeli.git","clone_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli.git","svn_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli","homepage":null,"size":4104,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"base":{"label":"taudinpurkauspeli:development","ref":"development","sha":"fd30537fa8c237979f2fe66d6636ff3bec846095","user":{"login":"taudinpurkauspeli","id":10498058,"avatar_url":"https://avatars.githubusercontent.com/u/10498058?v=3","gravatar_id":"","url":"https://api.github.com/users/taudinpurkauspeli","html_url":"https://github.com/taudinpurkauspeli","followers_url":"https://api.github.com/users/taudinpurkauspeli/followers","following_url":"https://api.github.com/users/taudinpurkauspeli/following{/other_user}","gists_url":"https://api.github.com/users/taudinpurkauspeli/gists{/gist_id}","starred_url":"https://api.github.com/users/taudinpurkauspeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taudinpurkauspeli/subscriptions","organizations_url":"https://api.github.com/users/taudinpurkauspeli/orgs","repos_url":"https://api.github.com/users/taudinpurkauspeli/repos","events_url":"https://api.github.com/users/taudinpurkauspeli/events{/privacy}","received_events_url":"https://api.github.com/users/taudinpurkauspeli/received_events","type":"Organization","site_admin":false},"repo":{"id":29182167,"name":"taudinpurkauspeli","full_name":"taudinpurkauspeli/taudinpurkauspeli","owner":{"login":"taudinpurkauspeli","id":10498058,"avatar_url":"https://avatars.githubusercontent.com/u/10498058?v=3","gravatar_id":"","url":"https://api.github.com/users/taudinpurkauspeli","html_url":"https://github.com/taudinpurkauspeli","followers_url":"https://api.github.com/users/taudinpurkauspeli/followers","following_url":"https://api.github.com/users/taudinpurkauspeli/following{/other_user}","gists_url":"https://api.github.com/users/taudinpurkauspeli/gists{/gist_id}","starred_url":"https://api.github.com/users/taudinpurkauspeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taudinpurkauspeli/subscriptions","organizations_url":"https://api.github.com/users/taudinpurkauspeli/orgs","repos_url":"https://api.github.com/users/taudinpurkauspeli/repos","events_url":"https://api.github.com/users/taudinpurkauspeli/events{/privacy}","received_events_url":"https://api.github.com/users/taudinpurkauspeli/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli","description":"","fork":false,"url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli","forks_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/forks","keys_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/teams","hooks_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/hooks","issue_events_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues/events{/number}","events_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/events","assignees_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/assignees{/user}","branches_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/branches{/branch}","tags_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/tags","blobs_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/refs{/sha}","trees_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/statuses/{sha}","languages_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/languages","stargazers_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/stargazers","contributors_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/contributors","subscribers_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/subscribers","subscription_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/subscription","commits_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/commits{/sha}","git_commits_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/git/commits{/sha}","comments_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/comments{/number}","issue_comment_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues/comments{/number}","contents_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/contents/{+path}","compare_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/merges","archive_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/downloads","issues_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues{/number}","pulls_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls{/number}","milestones_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/milestones{/number}","notifications_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/labels{/name}","releases_url":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/releases{/id}","created_at":"2015-01-13T09:16:04Z","updated_at":"2015-04-20T12:48:28Z","pushed_at":"2015-04-20T13:47:31Z","git_url":"git://github.com/taudinpurkauspeli/taudinpurkauspeli.git","ssh_url":"git@github.com:taudinpurkauspeli/taudinpurkauspeli.git","clone_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli.git","svn_url":"https://github.com/taudinpurkauspeli/taudinpurkauspeli","homepage":null,"size":4104,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls/248"},"html":{"href":"https://github.com/taudinpurkauspeli/taudinpurkauspeli/pull/248"},"issue":{"href":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues/248"},"comments":{"href":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/issues/248/comments"},"review_comments":{"href":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls/248/comments"},"review_comment":{"href":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/pulls/248/commits"},"statuses":{"href":"https://api.github.com/repos/taudinpurkauspeli/taudinpurkauspeli/statuses/3b70c2d86a99e4e87e9ae68ec8418bf63e4d0a20"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":33,"deletions":42,"changed_files":18}}