{"action":"created","comment":{"url":"https://api.github.com/repos/Shkrt/trainer/pulls/comments/47012791","id":47012791,"diff_hunk":"@@ -0,0 +1,7 @@\n+Rolify.configure do |config|\n+  # By default ORM adapter is ActiveRecord. uncomment to use mongoid\n+  # config.use_mongoid\n+\n+  # Dynamic shortcuts for User class (user.is_admin? like methods). Default is: false","path":"config/initializers/rolify.rb","position":5,"original_position":5,"commit_id":"48f7a268ae1fc952aa120194bb291cb05d9bf670","original_commit_id":"48f7a268ae1fc952aa120194bb291cb05d9bf670","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [85/80]","created_at":"2015-12-08T21:00:25Z","updated_at":"2015-12-08T21:00:25Z","html_url":"https://github.com/Shkrt/trainer/pull/4#discussion_r47012791","pull_request_url":"https://api.github.com/repos/Shkrt/trainer/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/Shkrt/trainer/pulls/comments/47012791"},"html":{"href":"https://github.com/Shkrt/trainer/pull/4#discussion_r47012791"},"pull_request":{"href":"https://api.github.com/repos/Shkrt/trainer/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Shkrt/trainer/pulls/4","id":53037609,"html_url":"https://github.com/Shkrt/trainer/pull/4","diff_url":"https://github.com/Shkrt/trainer/pull/4.diff","patch_url":"https://github.com/Shkrt/trainer/pull/4.patch","issue_url":"https://api.github.com/repos/Shkrt/trainer/issues/4","number":4,"state":"open","locked":false,"title":"use active_admin","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"body":"Solution with activeadmin, rolify, pundit","created_at":"2015-12-08T20:59:52Z","updated_at":"2015-12-08T21:00:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fb838f09f427f9acd5c849c180fb789fb09c434","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shkrt/trainer/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Shkrt/trainer/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Shkrt/trainer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shkrt/trainer/issues/4/comments","statuses_url":"https://api.github.com/repos/Shkrt/trainer/statuses/48f7a268ae1fc952aa120194bb291cb05d9bf670","head":{"label":"Shkrt:use_activeadmin","ref":"use_activeadmin","sha":"48f7a268ae1fc952aa120194bb291cb05d9bf670","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"repo":{"id":46862770,"name":"trainer","full_name":"Shkrt/trainer","owner":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shkrt/trainer","description":"","fork":false,"url":"https://api.github.com/repos/Shkrt/trainer","forks_url":"https://api.github.com/repos/Shkrt/trainer/forks","keys_url":"https://api.github.com/repos/Shkrt/trainer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shkrt/trainer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shkrt/trainer/teams","hooks_url":"https://api.github.com/repos/Shkrt/trainer/hooks","issue_events_url":"https://api.github.com/repos/Shkrt/trainer/issues/events{/number}","events_url":"https://api.github.com/repos/Shkrt/trainer/events","assignees_url":"https://api.github.com/repos/Shkrt/trainer/assignees{/user}","branches_url":"https://api.github.com/repos/Shkrt/trainer/branches{/branch}","tags_url":"https://api.github.com/repos/Shkrt/trainer/tags","blobs_url":"https://api.github.com/repos/Shkrt/trainer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shkrt/trainer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shkrt/trainer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shkrt/trainer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shkrt/trainer/statuses/{sha}","languages_url":"https://api.github.com/repos/Shkrt/trainer/languages","stargazers_url":"https://api.github.com/repos/Shkrt/trainer/stargazers","contributors_url":"https://api.github.com/repos/Shkrt/trainer/contributors","subscribers_url":"https://api.github.com/repos/Shkrt/trainer/subscribers","subscription_url":"https://api.github.com/repos/Shkrt/trainer/subscription","commits_url":"https://api.github.com/repos/Shkrt/trainer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shkrt/trainer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shkrt/trainer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shkrt/trainer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shkrt/trainer/contents/{+path}","compare_url":"https://api.github.com/repos/Shkrt/trainer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shkrt/trainer/merges","archive_url":"https://api.github.com/repos/Shkrt/trainer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shkrt/trainer/downloads","issues_url":"https://api.github.com/repos/Shkrt/trainer/issues{/number}","pulls_url":"https://api.github.com/repos/Shkrt/trainer/pulls{/number}","milestones_url":"https://api.github.com/repos/Shkrt/trainer/milestones{/number}","notifications_url":"https://api.github.com/repos/Shkrt/trainer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shkrt/trainer/labels{/name}","releases_url":"https://api.github.com/repos/Shkrt/trainer/releases{/id}","created_at":"2015-11-25T13:18:57Z","updated_at":"2015-11-25T13:41:37Z","pushed_at":"2015-12-08T20:59:52Z","git_url":"git://github.com/Shkrt/trainer.git","ssh_url":"git@github.com:Shkrt/trainer.git","clone_url":"https://github.com/Shkrt/trainer.git","svn_url":"https://github.com/Shkrt/trainer","homepage":null,"size":392,"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":"master"}},"base":{"label":"Shkrt:master","ref":"master","sha":"70c0ce558ef6f3e74dc560a040e0b2b1772dc737","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"repo":{"id":46862770,"name":"trainer","full_name":"Shkrt/trainer","owner":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shkrt/trainer","description":"","fork":false,"url":"https://api.github.com/repos/Shkrt/trainer","forks_url":"https://api.github.com/repos/Shkrt/trainer/forks","keys_url":"https://api.github.com/repos/Shkrt/trainer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shkrt/trainer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shkrt/trainer/teams","hooks_url":"https://api.github.com/repos/Shkrt/trainer/hooks","issue_events_url":"https://api.github.com/repos/Shkrt/trainer/issues/events{/number}","events_url":"https://api.github.com/repos/Shkrt/trainer/events","assignees_url":"https://api.github.com/repos/Shkrt/trainer/assignees{/user}","branches_url":"https://api.github.com/repos/Shkrt/trainer/branches{/branch}","tags_url":"https://api.github.com/repos/Shkrt/trainer/tags","blobs_url":"https://api.github.com/repos/Shkrt/trainer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shkrt/trainer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shkrt/trainer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shkrt/trainer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shkrt/trainer/statuses/{sha}","languages_url":"https://api.github.com/repos/Shkrt/trainer/languages","stargazers_url":"https://api.github.com/repos/Shkrt/trainer/stargazers","contributors_url":"https://api.github.com/repos/Shkrt/trainer/contributors","subscribers_url":"https://api.github.com/repos/Shkrt/trainer/subscribers","subscription_url":"https://api.github.com/repos/Shkrt/trainer/subscription","commits_url":"https://api.github.com/repos/Shkrt/trainer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shkrt/trainer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shkrt/trainer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shkrt/trainer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shkrt/trainer/contents/{+path}","compare_url":"https://api.github.com/repos/Shkrt/trainer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shkrt/trainer/merges","archive_url":"https://api.github.com/repos/Shkrt/trainer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shkrt/trainer/downloads","issues_url":"https://api.github.com/repos/Shkrt/trainer/issues{/number}","pulls_url":"https://api.github.com/repos/Shkrt/trainer/pulls{/number}","milestones_url":"https://api.github.com/repos/Shkrt/trainer/milestones{/number}","notifications_url":"https://api.github.com/repos/Shkrt/trainer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shkrt/trainer/labels{/name}","releases_url":"https://api.github.com/repos/Shkrt/trainer/releases{/id}","created_at":"2015-11-25T13:18:57Z","updated_at":"2015-11-25T13:41:37Z","pushed_at":"2015-12-08T20:59:52Z","git_url":"git://github.com/Shkrt/trainer.git","ssh_url":"git@github.com:Shkrt/trainer.git","clone_url":"https://github.com/Shkrt/trainer.git","svn_url":"https://github.com/Shkrt/trainer","homepage":null,"size":392,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shkrt/trainer/pulls/4"},"html":{"href":"https://github.com/Shkrt/trainer/pull/4"},"issue":{"href":"https://api.github.com/repos/Shkrt/trainer/issues/4"},"comments":{"href":"https://api.github.com/repos/Shkrt/trainer/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Shkrt/trainer/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Shkrt/trainer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shkrt/trainer/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Shkrt/trainer/statuses/48f7a268ae1fc952aa120194bb291cb05d9bf670"}}}}