{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/kont-noor/Theblog/pulls/16","id":52019614,"html_url":"https://github.com/kont-noor/Theblog/pull/16","diff_url":"https://github.com/kont-noor/Theblog/pull/16.diff","patch_url":"https://github.com/kont-noor/Theblog/pull/16.patch","issue_url":"https://api.github.com/repos/kont-noor/Theblog/issues/16","number":16,"state":"open","locked":false,"title":"Add roles","user":{"login":"kont-noor","id":559035,"avatar_url":"https://avatars.githubusercontent.com/u/559035?v=3","gravatar_id":"","url":"https://api.github.com/users/kont-noor","html_url":"https://github.com/kont-noor","followers_url":"https://api.github.com/users/kont-noor/followers","following_url":"https://api.github.com/users/kont-noor/following{/other_user}","gists_url":"https://api.github.com/users/kont-noor/gists{/gist_id}","starred_url":"https://api.github.com/users/kont-noor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kont-noor/subscriptions","organizations_url":"https://api.github.com/users/kont-noor/orgs","repos_url":"https://api.github.com/users/kont-noor/repos","events_url":"https://api.github.com/users/kont-noor/events{/privacy}","received_events_url":"https://api.github.com/users/kont-noor/received_events","type":"User","site_admin":false},"body":"*Note:* This PR contains some changes from the kont-noor/Incarnator#2\r\n\r\n### Changes:\r\n\r\n* Add pundit\r\n* Add pundit policies\r\n* Add `Role` model\r\n* Add `AccountsRole` relation\r\n* Add specs","created_at":"2015-11-27T19:03:28Z","updated_at":"2015-11-27T19:03:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kont-noor/Theblog/pulls/16/commits","review_comments_url":"https://api.github.com/repos/kont-noor/Theblog/pulls/16/comments","review_comment_url":"https://api.github.com/repos/kont-noor/Theblog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kont-noor/Theblog/issues/16/comments","statuses_url":"https://api.github.com/repos/kont-noor/Theblog/statuses/8f210e0248a74f728fd6d174323c75adb40f2b29","head":{"label":"kont-noor:add_roles","ref":"add_roles","sha":"8f210e0248a74f728fd6d174323c75adb40f2b29","user":{"login":"kont-noor","id":559035,"avatar_url":"https://avatars.githubusercontent.com/u/559035?v=3","gravatar_id":"","url":"https://api.github.com/users/kont-noor","html_url":"https://github.com/kont-noor","followers_url":"https://api.github.com/users/kont-noor/followers","following_url":"https://api.github.com/users/kont-noor/following{/other_user}","gists_url":"https://api.github.com/users/kont-noor/gists{/gist_id}","starred_url":"https://api.github.com/users/kont-noor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kont-noor/subscriptions","organizations_url":"https://api.github.com/users/kont-noor/orgs","repos_url":"https://api.github.com/users/kont-noor/repos","events_url":"https://api.github.com/users/kont-noor/events{/privacy}","received_events_url":"https://api.github.com/users/kont-noor/received_events","type":"User","site_admin":false},"repo":{"id":24800460,"name":"Theblog","full_name":"kont-noor/Theblog","owner":{"login":"kont-noor","id":559035,"avatar_url":"https://avatars.githubusercontent.com/u/559035?v=3","gravatar_id":"","url":"https://api.github.com/users/kont-noor","html_url":"https://github.com/kont-noor","followers_url":"https://api.github.com/users/kont-noor/followers","following_url":"https://api.github.com/users/kont-noor/following{/other_user}","gists_url":"https://api.github.com/users/kont-noor/gists{/gist_id}","starred_url":"https://api.github.com/users/kont-noor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kont-noor/subscriptions","organizations_url":"https://api.github.com/users/kont-noor/orgs","repos_url":"https://api.github.com/users/kont-noor/repos","events_url":"https://api.github.com/users/kont-noor/events{/privacy}","received_events_url":"https://api.github.com/users/kont-noor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kont-noor/Theblog","description":"Default blogging engine for most purposes","fork":false,"url":"https://api.github.com/repos/kont-noor/Theblog","forks_url":"https://api.github.com/repos/kont-noor/Theblog/forks","keys_url":"https://api.github.com/repos/kont-noor/Theblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kont-noor/Theblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kont-noor/Theblog/teams","hooks_url":"https://api.github.com/repos/kont-noor/Theblog/hooks","issue_events_url":"https://api.github.com/repos/kont-noor/Theblog/issues/events{/number}","events_url":"https://api.github.com/repos/kont-noor/Theblog/events","assignees_url":"https://api.github.com/repos/kont-noor/Theblog/assignees{/user}","branches_url":"https://api.github.com/repos/kont-noor/Theblog/branches{/branch}","tags_url":"https://api.github.com/repos/kont-noor/Theblog/tags","blobs_url":"https://api.github.com/repos/kont-noor/Theblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kont-noor/Theblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kont-noor/Theblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/kont-noor/Theblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kont-noor/Theblog/statuses/{sha}","languages_url":"https://api.github.com/repos/kont-noor/Theblog/languages","stargazers_url":"https://api.github.com/repos/kont-noor/Theblog/stargazers","contributors_url":"https://api.github.com/repos/kont-noor/Theblog/contributors","subscribers_url":"https://api.github.com/repos/kont-noor/Theblog/subscribers","subscription_url":"https://api.github.com/repos/kont-noor/Theblog/subscription","commits_url":"https://api.github.com/repos/kont-noor/Theblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/kont-noor/Theblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/kont-noor/Theblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/kont-noor/Theblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/kont-noor/Theblog/contents/{+path}","compare_url":"https://api.github.com/repos/kont-noor/Theblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kont-noor/Theblog/merges","archive_url":"https://api.github.com/repos/kont-noor/Theblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kont-noor/Theblog/downloads","issues_url":"https://api.github.com/repos/kont-noor/Theblog/issues{/number}","pulls_url":"https://api.github.com/repos/kont-noor/Theblog/pulls{/number}","milestones_url":"https://api.github.com/repos/kont-noor/Theblog/milestones{/number}","notifications_url":"https://api.github.com/repos/kont-noor/Theblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kont-noor/Theblog/labels{/name}","releases_url":"https://api.github.com/repos/kont-noor/Theblog/releases{/id}","created_at":"2014-10-04T20:14:36Z","updated_at":"2015-11-25T19:54:27Z","pushed_at":"2015-11-27T19:03:28Z","git_url":"git://github.com/kont-noor/Theblog.git","ssh_url":"git@github.com:kont-noor/Theblog.git","clone_url":"https://github.com/kont-noor/Theblog.git","svn_url":"https://github.com/kont-noor/Theblog","homepage":"","size":183,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"kont-noor:master","ref":"master","sha":"41b6fd73590a045940464a3bace17fcfbed5d520","user":{"login":"kont-noor","id":559035,"avatar_url":"https://avatars.githubusercontent.com/u/559035?v=3","gravatar_id":"","url":"https://api.github.com/users/kont-noor","html_url":"https://github.com/kont-noor","followers_url":"https://api.github.com/users/kont-noor/followers","following_url":"https://api.github.com/users/kont-noor/following{/other_user}","gists_url":"https://api.github.com/users/kont-noor/gists{/gist_id}","starred_url":"https://api.github.com/users/kont-noor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kont-noor/subscriptions","organizations_url":"https://api.github.com/users/kont-noor/orgs","repos_url":"https://api.github.com/users/kont-noor/repos","events_url":"https://api.github.com/users/kont-noor/events{/privacy}","received_events_url":"https://api.github.com/users/kont-noor/received_events","type":"User","site_admin":false},"repo":{"id":24800460,"name":"Theblog","full_name":"kont-noor/Theblog","owner":{"login":"kont-noor","id":559035,"avatar_url":"https://avatars.githubusercontent.com/u/559035?v=3","gravatar_id":"","url":"https://api.github.com/users/kont-noor","html_url":"https://github.com/kont-noor","followers_url":"https://api.github.com/users/kont-noor/followers","following_url":"https://api.github.com/users/kont-noor/following{/other_user}","gists_url":"https://api.github.com/users/kont-noor/gists{/gist_id}","starred_url":"https://api.github.com/users/kont-noor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kont-noor/subscriptions","organizations_url":"https://api.github.com/users/kont-noor/orgs","repos_url":"https://api.github.com/users/kont-noor/repos","events_url":"https://api.github.com/users/kont-noor/events{/privacy}","received_events_url":"https://api.github.com/users/kont-noor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kont-noor/Theblog","description":"Default blogging engine for most purposes","fork":false,"url":"https://api.github.com/repos/kont-noor/Theblog","forks_url":"https://api.github.com/repos/kont-noor/Theblog/forks","keys_url":"https://api.github.com/repos/kont-noor/Theblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kont-noor/Theblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kont-noor/Theblog/teams","hooks_url":"https://api.github.com/repos/kont-noor/Theblog/hooks","issue_events_url":"https://api.github.com/repos/kont-noor/Theblog/issues/events{/number}","events_url":"https://api.github.com/repos/kont-noor/Theblog/events","assignees_url":"https://api.github.com/repos/kont-noor/Theblog/assignees{/user}","branches_url":"https://api.github.com/repos/kont-noor/Theblog/branches{/branch}","tags_url":"https://api.github.com/repos/kont-noor/Theblog/tags","blobs_url":"https://api.github.com/repos/kont-noor/Theblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kont-noor/Theblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kont-noor/Theblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/kont-noor/Theblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kont-noor/Theblog/statuses/{sha}","languages_url":"https://api.github.com/repos/kont-noor/Theblog/languages","stargazers_url":"https://api.github.com/repos/kont-noor/Theblog/stargazers","contributors_url":"https://api.github.com/repos/kont-noor/Theblog/contributors","subscribers_url":"https://api.github.com/repos/kont-noor/Theblog/subscribers","subscription_url":"https://api.github.com/repos/kont-noor/Theblog/subscription","commits_url":"https://api.github.com/repos/kont-noor/Theblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/kont-noor/Theblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/kont-noor/Theblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/kont-noor/Theblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/kont-noor/Theblog/contents/{+path}","compare_url":"https://api.github.com/repos/kont-noor/Theblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kont-noor/Theblog/merges","archive_url":"https://api.github.com/repos/kont-noor/Theblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kont-noor/Theblog/downloads","issues_url":"https://api.github.com/repos/kont-noor/Theblog/issues{/number}","pulls_url":"https://api.github.com/repos/kont-noor/Theblog/pulls{/number}","milestones_url":"https://api.github.com/repos/kont-noor/Theblog/milestones{/number}","notifications_url":"https://api.github.com/repos/kont-noor/Theblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kont-noor/Theblog/labels{/name}","releases_url":"https://api.github.com/repos/kont-noor/Theblog/releases{/id}","created_at":"2014-10-04T20:14:36Z","updated_at":"2015-11-25T19:54:27Z","pushed_at":"2015-11-27T19:03:28Z","git_url":"git://github.com/kont-noor/Theblog.git","ssh_url":"git@github.com:kont-noor/Theblog.git","clone_url":"https://github.com/kont-noor/Theblog.git","svn_url":"https://github.com/kont-noor/Theblog","homepage":"","size":183,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kont-noor/Theblog/pulls/16"},"html":{"href":"https://github.com/kont-noor/Theblog/pull/16"},"issue":{"href":"https://api.github.com/repos/kont-noor/Theblog/issues/16"},"comments":{"href":"https://api.github.com/repos/kont-noor/Theblog/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/kont-noor/Theblog/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/kont-noor/Theblog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kont-noor/Theblog/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/kont-noor/Theblog/statuses/8f210e0248a74f728fd6d174323c75adb40f2b29"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":219,"deletions":35,"changed_files":20}}