{"action":"created","comment":{"url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/comments/46242979","id":46242979,"diff_hunk":"@@ -21,6 +21,9 @@\n       .center-block\n         - if flash[:notice]\n           .alert.alert-success\n-            - flash[:notice]\n+            = flash[:notice]\n+        - if flash[:error]\n+          .alert.alert-danger\n+            = flash[:error]","path":"app/views/layouts/application.html.haml","position":8,"original_position":8,"commit_id":"96d30e263fc1f0b85b4c7099a5f9c33464ade1b3","original_commit_id":"96d30e263fc1f0b85b4c7099a5f9c33464ade1b3","user":{"login":"mryoshio","id":309274,"avatar_url":"https://avatars.githubusercontent.com/u/309274?v=3","gravatar_id":"","url":"https://api.github.com/users/mryoshio","html_url":"https://github.com/mryoshio","followers_url":"https://api.github.com/users/mryoshio/followers","following_url":"https://api.github.com/users/mryoshio/following{/other_user}","gists_url":"https://api.github.com/users/mryoshio/gists{/gist_id}","starred_url":"https://api.github.com/users/mryoshio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mryoshio/subscriptions","organizations_url":"https://api.github.com/users/mryoshio/orgs","repos_url":"https://api.github.com/users/mryoshio/repos","events_url":"https://api.github.com/users/mryoshio/events{/privacy}","received_events_url":"https://api.github.com/users/mryoshio/received_events","type":"User","site_admin":false},"body":"fix bug, flash message is not property displayed","created_at":"2015-12-01T06:04:24Z","updated_at":"2015-12-01T06:04:24Z","html_url":"https://github.com/tachibanakikaku/scoredoc2/pull/58#discussion_r46242979","pull_request_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/comments/46242979"},"html":{"href":"https://github.com/tachibanakikaku/scoredoc2/pull/58#discussion_r46242979"},"pull_request":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/58","id":52219552,"html_url":"https://github.com/tachibanakikaku/scoredoc2/pull/58","diff_url":"https://github.com/tachibanakikaku/scoredoc2/pull/58.diff","patch_url":"https://github.com/tachibanakikaku/scoredoc2/pull/58.patch","issue_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/58","number":58,"state":"open","locked":false,"title":"add permission system","user":{"login":"mryoshio","id":309274,"avatar_url":"https://avatars.githubusercontent.com/u/309274?v=3","gravatar_id":"","url":"https://api.github.com/users/mryoshio","html_url":"https://github.com/mryoshio","followers_url":"https://api.github.com/users/mryoshio/followers","following_url":"https://api.github.com/users/mryoshio/following{/other_user}","gists_url":"https://api.github.com/users/mryoshio/gists{/gist_id}","starred_url":"https://api.github.com/users/mryoshio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mryoshio/subscriptions","organizations_url":"https://api.github.com/users/mryoshio/orgs","repos_url":"https://api.github.com/users/mryoshio/repos","events_url":"https://api.github.com/users/mryoshio/events{/privacy}","received_events_url":"https://api.github.com/users/mryoshio/received_events","type":"User","site_admin":false},"body":"- use Authority gem\r\n- create Manager model\r\n- create authorizers for Tournament, Game, Result and Highlight\r\n- close #57","created_at":"2015-12-01T06:02:42Z","updated_at":"2015-12-01T06:04:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a245fedfca4d39fd6e260e164c5c66c8ef778448","assignee":{"login":"ashibata","id":1381840,"avatar_url":"https://avatars.githubusercontent.com/u/1381840?v=3","gravatar_id":"","url":"https://api.github.com/users/ashibata","html_url":"https://github.com/ashibata","followers_url":"https://api.github.com/users/ashibata/followers","following_url":"https://api.github.com/users/ashibata/following{/other_user}","gists_url":"https://api.github.com/users/ashibata/gists{/gist_id}","starred_url":"https://api.github.com/users/ashibata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashibata/subscriptions","organizations_url":"https://api.github.com/users/ashibata/orgs","repos_url":"https://api.github.com/users/ashibata/repos","events_url":"https://api.github.com/users/ashibata/events{/privacy}","received_events_url":"https://api.github.com/users/ashibata/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/58/commits","review_comments_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/58/comments","review_comment_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/58/comments","statuses_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/statuses/96d30e263fc1f0b85b4c7099a5f9c33464ade1b3","head":{"label":"tachibanakikaku:create_permission_system","ref":"create_permission_system","sha":"96d30e263fc1f0b85b4c7099a5f9c33464ade1b3","user":{"login":"tachibanakikaku","id":3782628,"avatar_url":"https://avatars.githubusercontent.com/u/3782628?v=3","gravatar_id":"","url":"https://api.github.com/users/tachibanakikaku","html_url":"https://github.com/tachibanakikaku","followers_url":"https://api.github.com/users/tachibanakikaku/followers","following_url":"https://api.github.com/users/tachibanakikaku/following{/other_user}","gists_url":"https://api.github.com/users/tachibanakikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tachibanakikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachibanakikaku/subscriptions","organizations_url":"https://api.github.com/users/tachibanakikaku/orgs","repos_url":"https://api.github.com/users/tachibanakikaku/repos","events_url":"https://api.github.com/users/tachibanakikaku/events{/privacy}","received_events_url":"https://api.github.com/users/tachibanakikaku/received_events","type":"Organization","site_admin":false},"repo":{"id":25526886,"name":"scoredoc2","full_name":"tachibanakikaku/scoredoc2","owner":{"login":"tachibanakikaku","id":3782628,"avatar_url":"https://avatars.githubusercontent.com/u/3782628?v=3","gravatar_id":"","url":"https://api.github.com/users/tachibanakikaku","html_url":"https://github.com/tachibanakikaku","followers_url":"https://api.github.com/users/tachibanakikaku/followers","following_url":"https://api.github.com/users/tachibanakikaku/following{/other_user}","gists_url":"https://api.github.com/users/tachibanakikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tachibanakikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachibanakikaku/subscriptions","organizations_url":"https://api.github.com/users/tachibanakikaku/orgs","repos_url":"https://api.github.com/users/tachibanakikaku/repos","events_url":"https://api.github.com/users/tachibanakikaku/events{/privacy}","received_events_url":"https://api.github.com/users/tachibanakikaku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tachibanakikaku/scoredoc2","description":"","fork":false,"url":"https://api.github.com/repos/tachibanakikaku/scoredoc2","forks_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/forks","keys_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/teams","hooks_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/hooks","issue_events_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/events{/number}","events_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/events","assignees_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/assignees{/user}","branches_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/branches{/branch}","tags_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/tags","blobs_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/refs{/sha}","trees_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/statuses/{sha}","languages_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/languages","stargazers_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/stargazers","contributors_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/contributors","subscribers_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/subscribers","subscription_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/subscription","commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/commits{/sha}","git_commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/commits{/sha}","comments_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/comments{/number}","issue_comment_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/comments{/number}","contents_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/contents/{+path}","compare_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/merges","archive_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/downloads","issues_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues{/number}","pulls_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls{/number}","milestones_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/milestones{/number}","notifications_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/labels{/name}","releases_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/releases{/id}","created_at":"2014-10-21T14:28:52Z","updated_at":"2015-02-26T12:56:23Z","pushed_at":"2015-12-01T06:02:42Z","git_url":"git://github.com/tachibanakikaku/scoredoc2.git","ssh_url":"git@github.com:tachibanakikaku/scoredoc2.git","clone_url":"https://github.com/tachibanakikaku/scoredoc2.git","svn_url":"https://github.com/tachibanakikaku/scoredoc2","homepage":null,"size":1051,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"tachibanakikaku:master","ref":"master","sha":"e762a8a6e6485d39af216f17208c1b4fa1eeca33","user":{"login":"tachibanakikaku","id":3782628,"avatar_url":"https://avatars.githubusercontent.com/u/3782628?v=3","gravatar_id":"","url":"https://api.github.com/users/tachibanakikaku","html_url":"https://github.com/tachibanakikaku","followers_url":"https://api.github.com/users/tachibanakikaku/followers","following_url":"https://api.github.com/users/tachibanakikaku/following{/other_user}","gists_url":"https://api.github.com/users/tachibanakikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tachibanakikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachibanakikaku/subscriptions","organizations_url":"https://api.github.com/users/tachibanakikaku/orgs","repos_url":"https://api.github.com/users/tachibanakikaku/repos","events_url":"https://api.github.com/users/tachibanakikaku/events{/privacy}","received_events_url":"https://api.github.com/users/tachibanakikaku/received_events","type":"Organization","site_admin":false},"repo":{"id":25526886,"name":"scoredoc2","full_name":"tachibanakikaku/scoredoc2","owner":{"login":"tachibanakikaku","id":3782628,"avatar_url":"https://avatars.githubusercontent.com/u/3782628?v=3","gravatar_id":"","url":"https://api.github.com/users/tachibanakikaku","html_url":"https://github.com/tachibanakikaku","followers_url":"https://api.github.com/users/tachibanakikaku/followers","following_url":"https://api.github.com/users/tachibanakikaku/following{/other_user}","gists_url":"https://api.github.com/users/tachibanakikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tachibanakikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachibanakikaku/subscriptions","organizations_url":"https://api.github.com/users/tachibanakikaku/orgs","repos_url":"https://api.github.com/users/tachibanakikaku/repos","events_url":"https://api.github.com/users/tachibanakikaku/events{/privacy}","received_events_url":"https://api.github.com/users/tachibanakikaku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tachibanakikaku/scoredoc2","description":"","fork":false,"url":"https://api.github.com/repos/tachibanakikaku/scoredoc2","forks_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/forks","keys_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/teams","hooks_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/hooks","issue_events_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/events{/number}","events_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/events","assignees_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/assignees{/user}","branches_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/branches{/branch}","tags_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/tags","blobs_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/refs{/sha}","trees_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/statuses/{sha}","languages_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/languages","stargazers_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/stargazers","contributors_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/contributors","subscribers_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/subscribers","subscription_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/subscription","commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/commits{/sha}","git_commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/commits{/sha}","comments_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/comments{/number}","issue_comment_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/comments{/number}","contents_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/contents/{+path}","compare_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/merges","archive_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/downloads","issues_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues{/number}","pulls_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls{/number}","milestones_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/milestones{/number}","notifications_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/labels{/name}","releases_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/releases{/id}","created_at":"2014-10-21T14:28:52Z","updated_at":"2015-02-26T12:56:23Z","pushed_at":"2015-12-01T06:02:42Z","git_url":"git://github.com/tachibanakikaku/scoredoc2.git","ssh_url":"git@github.com:tachibanakikaku/scoredoc2.git","clone_url":"https://github.com/tachibanakikaku/scoredoc2.git","svn_url":"https://github.com/tachibanakikaku/scoredoc2","homepage":null,"size":1051,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/58"},"html":{"href":"https://github.com/tachibanakikaku/scoredoc2/pull/58"},"issue":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/58"},"comments":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/statuses/96d30e263fc1f0b85b4c7099a5f9c33464ade1b3"}}}}