{"action":"created","comment":{"url":"https://api.github.com/repos/ScoutRFP/pretender/pulls/comments/62306806","id":62306806,"diff_hunk":"@@ -42,5 +43,3 @@ def impersonates(scope = :user, opts = {})\n     end\n   end\n end\n-\n-ActionController::Base.send(:extend, Pretender) if defined?(ActionController::Base)","path":"lib/pretender.rb","position":21,"original_position":21,"commit_id":"88972f783d0fd398154a236362e9d157b63e2e72","original_commit_id":"88972f783d0fd398154a236362e9d157b63e2e72","user":{"login":"samofals","id":524011,"avatar_url":"https://avatars.githubusercontent.com/u/524011?v=3","gravatar_id":"","url":"https://api.github.com/users/samofals","html_url":"https://github.com/samofals","followers_url":"https://api.github.com/users/samofals/followers","following_url":"https://api.github.com/users/samofals/following{/other_user}","gists_url":"https://api.github.com/users/samofals/gists{/gist_id}","starred_url":"https://api.github.com/users/samofals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samofals/subscriptions","organizations_url":"https://api.github.com/users/samofals/orgs","repos_url":"https://api.github.com/users/samofals/repos","events_url":"https://api.github.com/users/samofals/events{/privacy}","received_events_url":"https://api.github.com/users/samofals/received_events","type":"User","site_admin":false},"body":"Comment only please","created_at":"2016-05-06T09:24:28Z","updated_at":"2016-05-06T09:24:28Z","html_url":"https://github.com/ScoutRFP/pretender/pull/1#discussion_r62306806","pull_request_url":"https://api.github.com/repos/ScoutRFP/pretender/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ScoutRFP/pretender/pulls/comments/62306806"},"html":{"href":"https://github.com/ScoutRFP/pretender/pull/1#discussion_r62306806"},"pull_request":{"href":"https://api.github.com/repos/ScoutRFP/pretender/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ScoutRFP/pretender/pulls/1","id":69124962,"html_url":"https://github.com/ScoutRFP/pretender/pull/1","diff_url":"https://github.com/ScoutRFP/pretender/pull/1.diff","patch_url":"https://github.com/ScoutRFP/pretender/pull/1.patch","issue_url":"https://api.github.com/repos/ScoutRFP/pretender/issues/1","number":1,"state":"open","locked":false,"title":"Usage for base and api","user":{"login":"astikans","id":606500,"avatar_url":"https://avatars.githubusercontent.com/u/606500?v=3","gravatar_id":"","url":"https://api.github.com/users/astikans","html_url":"https://github.com/astikans","followers_url":"https://api.github.com/users/astikans/followers","following_url":"https://api.github.com/users/astikans/following{/other_user}","gists_url":"https://api.github.com/users/astikans/gists{/gist_id}","starred_url":"https://api.github.com/users/astikans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astikans/subscriptions","organizations_url":"https://api.github.com/users/astikans/orgs","repos_url":"https://api.github.com/users/astikans/repos","events_url":"https://api.github.com/users/astikans/events{/privacy}","received_events_url":"https://api.github.com/users/astikans/received_events","type":"User","site_admin":false},"body":"Refactore pretender gem to use it in `ApplicationController` and `ApiController`","created_at":"2016-05-06T09:21:57Z","updated_at":"2016-05-06T09:24:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6dccfc403d60bb35fbcd5b7f92fceffac5cae23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ScoutRFP/pretender/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ScoutRFP/pretender/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ScoutRFP/pretender/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ScoutRFP/pretender/issues/1/comments","statuses_url":"https://api.github.com/repos/ScoutRFP/pretender/statuses/88972f783d0fd398154a236362e9d157b63e2e72","head":{"label":"ScoutRFP:usage-for-base-and-api","ref":"usage-for-base-and-api","sha":"88972f783d0fd398154a236362e9d157b63e2e72","user":{"login":"ScoutRFP","id":6330660,"avatar_url":"https://avatars.githubusercontent.com/u/6330660?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoutRFP","html_url":"https://github.com/ScoutRFP","followers_url":"https://api.github.com/users/ScoutRFP/followers","following_url":"https://api.github.com/users/ScoutRFP/following{/other_user}","gists_url":"https://api.github.com/users/ScoutRFP/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoutRFP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoutRFP/subscriptions","organizations_url":"https://api.github.com/users/ScoutRFP/orgs","repos_url":"https://api.github.com/users/ScoutRFP/repos","events_url":"https://api.github.com/users/ScoutRFP/events{/privacy}","received_events_url":"https://api.github.com/users/ScoutRFP/received_events","type":"Organization","site_admin":false},"repo":{"id":58192668,"name":"pretender","full_name":"ScoutRFP/pretender","owner":{"login":"ScoutRFP","id":6330660,"avatar_url":"https://avatars.githubusercontent.com/u/6330660?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoutRFP","html_url":"https://github.com/ScoutRFP","followers_url":"https://api.github.com/users/ScoutRFP/followers","following_url":"https://api.github.com/users/ScoutRFP/following{/other_user}","gists_url":"https://api.github.com/users/ScoutRFP/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoutRFP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoutRFP/subscriptions","organizations_url":"https://api.github.com/users/ScoutRFP/orgs","repos_url":"https://api.github.com/users/ScoutRFP/repos","events_url":"https://api.github.com/users/ScoutRFP/events{/privacy}","received_events_url":"https://api.github.com/users/ScoutRFP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScoutRFP/pretender","description":"Simple, powerful user impersonation for Rails","fork":true,"url":"https://api.github.com/repos/ScoutRFP/pretender","forks_url":"https://api.github.com/repos/ScoutRFP/pretender/forks","keys_url":"https://api.github.com/repos/ScoutRFP/pretender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScoutRFP/pretender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScoutRFP/pretender/teams","hooks_url":"https://api.github.com/repos/ScoutRFP/pretender/hooks","issue_events_url":"https://api.github.com/repos/ScoutRFP/pretender/issues/events{/number}","events_url":"https://api.github.com/repos/ScoutRFP/pretender/events","assignees_url":"https://api.github.com/repos/ScoutRFP/pretender/assignees{/user}","branches_url":"https://api.github.com/repos/ScoutRFP/pretender/branches{/branch}","tags_url":"https://api.github.com/repos/ScoutRFP/pretender/tags","blobs_url":"https://api.github.com/repos/ScoutRFP/pretender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScoutRFP/pretender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScoutRFP/pretender/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScoutRFP/pretender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScoutRFP/pretender/statuses/{sha}","languages_url":"https://api.github.com/repos/ScoutRFP/pretender/languages","stargazers_url":"https://api.github.com/repos/ScoutRFP/pretender/stargazers","contributors_url":"https://api.github.com/repos/ScoutRFP/pretender/contributors","subscribers_url":"https://api.github.com/repos/ScoutRFP/pretender/subscribers","subscription_url":"https://api.github.com/repos/ScoutRFP/pretender/subscription","commits_url":"https://api.github.com/repos/ScoutRFP/pretender/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScoutRFP/pretender/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScoutRFP/pretender/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScoutRFP/pretender/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScoutRFP/pretender/contents/{+path}","compare_url":"https://api.github.com/repos/ScoutRFP/pretender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScoutRFP/pretender/merges","archive_url":"https://api.github.com/repos/ScoutRFP/pretender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScoutRFP/pretender/downloads","issues_url":"https://api.github.com/repos/ScoutRFP/pretender/issues{/number}","pulls_url":"https://api.github.com/repos/ScoutRFP/pretender/pulls{/number}","milestones_url":"https://api.github.com/repos/ScoutRFP/pretender/milestones{/number}","notifications_url":"https://api.github.com/repos/ScoutRFP/pretender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScoutRFP/pretender/labels{/name}","releases_url":"https://api.github.com/repos/ScoutRFP/pretender/releases{/id}","deployments_url":"https://api.github.com/repos/ScoutRFP/pretender/deployments","created_at":"2016-05-06T08:27:49Z","updated_at":"2016-05-06T08:27:50Z","pushed_at":"2016-05-06T09:21:59Z","git_url":"git://github.com/ScoutRFP/pretender.git","ssh_url":"git@github.com:ScoutRFP/pretender.git","clone_url":"https://github.com/ScoutRFP/pretender.git","svn_url":"https://github.com/ScoutRFP/pretender","homepage":"","size":54,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ScoutRFP:master","ref":"master","sha":"596d62525286fc9e878442d5c92792ddf32f9f71","user":{"login":"ScoutRFP","id":6330660,"avatar_url":"https://avatars.githubusercontent.com/u/6330660?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoutRFP","html_url":"https://github.com/ScoutRFP","followers_url":"https://api.github.com/users/ScoutRFP/followers","following_url":"https://api.github.com/users/ScoutRFP/following{/other_user}","gists_url":"https://api.github.com/users/ScoutRFP/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoutRFP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoutRFP/subscriptions","organizations_url":"https://api.github.com/users/ScoutRFP/orgs","repos_url":"https://api.github.com/users/ScoutRFP/repos","events_url":"https://api.github.com/users/ScoutRFP/events{/privacy}","received_events_url":"https://api.github.com/users/ScoutRFP/received_events","type":"Organization","site_admin":false},"repo":{"id":58192668,"name":"pretender","full_name":"ScoutRFP/pretender","owner":{"login":"ScoutRFP","id":6330660,"avatar_url":"https://avatars.githubusercontent.com/u/6330660?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoutRFP","html_url":"https://github.com/ScoutRFP","followers_url":"https://api.github.com/users/ScoutRFP/followers","following_url":"https://api.github.com/users/ScoutRFP/following{/other_user}","gists_url":"https://api.github.com/users/ScoutRFP/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoutRFP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoutRFP/subscriptions","organizations_url":"https://api.github.com/users/ScoutRFP/orgs","repos_url":"https://api.github.com/users/ScoutRFP/repos","events_url":"https://api.github.com/users/ScoutRFP/events{/privacy}","received_events_url":"https://api.github.com/users/ScoutRFP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScoutRFP/pretender","description":"Simple, powerful user impersonation for Rails","fork":true,"url":"https://api.github.com/repos/ScoutRFP/pretender","forks_url":"https://api.github.com/repos/ScoutRFP/pretender/forks","keys_url":"https://api.github.com/repos/ScoutRFP/pretender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScoutRFP/pretender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScoutRFP/pretender/teams","hooks_url":"https://api.github.com/repos/ScoutRFP/pretender/hooks","issue_events_url":"https://api.github.com/repos/ScoutRFP/pretender/issues/events{/number}","events_url":"https://api.github.com/repos/ScoutRFP/pretender/events","assignees_url":"https://api.github.com/repos/ScoutRFP/pretender/assignees{/user}","branches_url":"https://api.github.com/repos/ScoutRFP/pretender/branches{/branch}","tags_url":"https://api.github.com/repos/ScoutRFP/pretender/tags","blobs_url":"https://api.github.com/repos/ScoutRFP/pretender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScoutRFP/pretender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScoutRFP/pretender/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScoutRFP/pretender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScoutRFP/pretender/statuses/{sha}","languages_url":"https://api.github.com/repos/ScoutRFP/pretender/languages","stargazers_url":"https://api.github.com/repos/ScoutRFP/pretender/stargazers","contributors_url":"https://api.github.com/repos/ScoutRFP/pretender/contributors","subscribers_url":"https://api.github.com/repos/ScoutRFP/pretender/subscribers","subscription_url":"https://api.github.com/repos/ScoutRFP/pretender/subscription","commits_url":"https://api.github.com/repos/ScoutRFP/pretender/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScoutRFP/pretender/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScoutRFP/pretender/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScoutRFP/pretender/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScoutRFP/pretender/contents/{+path}","compare_url":"https://api.github.com/repos/ScoutRFP/pretender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScoutRFP/pretender/merges","archive_url":"https://api.github.com/repos/ScoutRFP/pretender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScoutRFP/pretender/downloads","issues_url":"https://api.github.com/repos/ScoutRFP/pretender/issues{/number}","pulls_url":"https://api.github.com/repos/ScoutRFP/pretender/pulls{/number}","milestones_url":"https://api.github.com/repos/ScoutRFP/pretender/milestones{/number}","notifications_url":"https://api.github.com/repos/ScoutRFP/pretender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScoutRFP/pretender/labels{/name}","releases_url":"https://api.github.com/repos/ScoutRFP/pretender/releases{/id}","deployments_url":"https://api.github.com/repos/ScoutRFP/pretender/deployments","created_at":"2016-05-06T08:27:49Z","updated_at":"2016-05-06T08:27:50Z","pushed_at":"2016-05-06T09:21:59Z","git_url":"git://github.com/ScoutRFP/pretender.git","ssh_url":"git@github.com:ScoutRFP/pretender.git","clone_url":"https://github.com/ScoutRFP/pretender.git","svn_url":"https://github.com/ScoutRFP/pretender","homepage":"","size":54,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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/ScoutRFP/pretender/pulls/1"},"html":{"href":"https://github.com/ScoutRFP/pretender/pull/1"},"issue":{"href":"https://api.github.com/repos/ScoutRFP/pretender/issues/1"},"comments":{"href":"https://api.github.com/repos/ScoutRFP/pretender/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ScoutRFP/pretender/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ScoutRFP/pretender/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ScoutRFP/pretender/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ScoutRFP/pretender/statuses/88972f783d0fd398154a236362e9d157b63e2e72"}}}}