{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/isaacsloan/petergate/pulls/7","id":30999202,"html_url":"https://github.com/isaacsloan/petergate/pull/7","diff_url":"https://github.com/isaacsloan/petergate/pull/7.diff","patch_url":"https://github.com/isaacsloan/petergate/pull/7.patch","issue_url":"https://api.github.com/repos/isaacsloan/petergate/issues/7","number":7,"state":"closed","locked":false,"title":"Tests for forbidden! method","user":{"login":"sutanto","id":1724690,"avatar_url":"https://avatars.githubusercontent.com/u/1724690?v=3","gravatar_id":"","url":"https://api.github.com/users/sutanto","html_url":"https://github.com/sutanto","followers_url":"https://api.github.com/users/sutanto/followers","following_url":"https://api.github.com/users/sutanto/following{/other_user}","gists_url":"https://api.github.com/users/sutanto/gists{/gist_id}","starred_url":"https://api.github.com/users/sutanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sutanto/subscriptions","organizations_url":"https://api.github.com/users/sutanto/orgs","repos_url":"https://api.github.com/users/sutanto/repos","events_url":"https://api.github.com/users/sutanto/events{/privacy}","received_events_url":"https://api.github.com/users/sutanto/received_events","type":"User","site_admin":false},"body":"This PR add tests for `forbidden!` method.","created_at":"2015-03-12T00:35:43Z","updated_at":"2015-03-20T17:52:26Z","closed_at":"2015-03-20T17:52:26Z","merged_at":"2015-03-20T17:52:26Z","merge_commit_sha":"038a0c8632a5346f68411772edb850a09c42a4fd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/isaacsloan/petergate/pulls/7/commits","review_comments_url":"https://api.github.com/repos/isaacsloan/petergate/pulls/7/comments","review_comment_url":"https://api.github.com/repos/isaacsloan/petergate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/isaacsloan/petergate/issues/7/comments","statuses_url":"https://api.github.com/repos/isaacsloan/petergate/statuses/c9ebce5e89212d58ce652325cd1a8adf202acdd3","head":{"label":"sutanto:feature/forbidden-test","ref":"feature/forbidden-test","sha":"c9ebce5e89212d58ce652325cd1a8adf202acdd3","user":{"login":"sutanto","id":1724690,"avatar_url":"https://avatars.githubusercontent.com/u/1724690?v=3","gravatar_id":"","url":"https://api.github.com/users/sutanto","html_url":"https://github.com/sutanto","followers_url":"https://api.github.com/users/sutanto/followers","following_url":"https://api.github.com/users/sutanto/following{/other_user}","gists_url":"https://api.github.com/users/sutanto/gists{/gist_id}","starred_url":"https://api.github.com/users/sutanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sutanto/subscriptions","organizations_url":"https://api.github.com/users/sutanto/orgs","repos_url":"https://api.github.com/users/sutanto/repos","events_url":"https://api.github.com/users/sutanto/events{/privacy}","received_events_url":"https://api.github.com/users/sutanto/received_events","type":"User","site_admin":false},"repo":{"id":27950862,"name":"petergate","full_name":"sutanto/petergate","owner":{"login":"sutanto","id":1724690,"avatar_url":"https://avatars.githubusercontent.com/u/1724690?v=3","gravatar_id":"","url":"https://api.github.com/users/sutanto","html_url":"https://github.com/sutanto","followers_url":"https://api.github.com/users/sutanto/followers","following_url":"https://api.github.com/users/sutanto/following{/other_user}","gists_url":"https://api.github.com/users/sutanto/gists{/gist_id}","starred_url":"https://api.github.com/users/sutanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sutanto/subscriptions","organizations_url":"https://api.github.com/users/sutanto/orgs","repos_url":"https://api.github.com/users/sutanto/repos","events_url":"https://api.github.com/users/sutanto/events{/privacy}","received_events_url":"https://api.github.com/users/sutanto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sutanto/petergate","description":"","fork":true,"url":"https://api.github.com/repos/sutanto/petergate","forks_url":"https://api.github.com/repos/sutanto/petergate/forks","keys_url":"https://api.github.com/repos/sutanto/petergate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sutanto/petergate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sutanto/petergate/teams","hooks_url":"https://api.github.com/repos/sutanto/petergate/hooks","issue_events_url":"https://api.github.com/repos/sutanto/petergate/issues/events{/number}","events_url":"https://api.github.com/repos/sutanto/petergate/events","assignees_url":"https://api.github.com/repos/sutanto/petergate/assignees{/user}","branches_url":"https://api.github.com/repos/sutanto/petergate/branches{/branch}","tags_url":"https://api.github.com/repos/sutanto/petergate/tags","blobs_url":"https://api.github.com/repos/sutanto/petergate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sutanto/petergate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sutanto/petergate/git/refs{/sha}","trees_url":"https://api.github.com/repos/sutanto/petergate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sutanto/petergate/statuses/{sha}","languages_url":"https://api.github.com/repos/sutanto/petergate/languages","stargazers_url":"https://api.github.com/repos/sutanto/petergate/stargazers","contributors_url":"https://api.github.com/repos/sutanto/petergate/contributors","subscribers_url":"https://api.github.com/repos/sutanto/petergate/subscribers","subscription_url":"https://api.github.com/repos/sutanto/petergate/subscription","commits_url":"https://api.github.com/repos/sutanto/petergate/commits{/sha}","git_commits_url":"https://api.github.com/repos/sutanto/petergate/git/commits{/sha}","comments_url":"https://api.github.com/repos/sutanto/petergate/comments{/number}","issue_comment_url":"https://api.github.com/repos/sutanto/petergate/issues/comments{/number}","contents_url":"https://api.github.com/repos/sutanto/petergate/contents/{+path}","compare_url":"https://api.github.com/repos/sutanto/petergate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sutanto/petergate/merges","archive_url":"https://api.github.com/repos/sutanto/petergate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sutanto/petergate/downloads","issues_url":"https://api.github.com/repos/sutanto/petergate/issues{/number}","pulls_url":"https://api.github.com/repos/sutanto/petergate/pulls{/number}","milestones_url":"https://api.github.com/repos/sutanto/petergate/milestones{/number}","notifications_url":"https://api.github.com/repos/sutanto/petergate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sutanto/petergate/labels{/name}","releases_url":"https://api.github.com/repos/sutanto/petergate/releases{/id}","created_at":"2014-12-13T05:41:21Z","updated_at":"2015-03-12T00:35:06Z","pushed_at":"2015-03-12T00:35:05Z","git_url":"git://github.com/sutanto/petergate.git","ssh_url":"git@github.com:sutanto/petergate.git","clone_url":"https://github.com/sutanto/petergate.git","svn_url":"https://github.com/sutanto/petergate","homepage":null,"size":212,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"isaacsloan:master","ref":"master","sha":"cfe072241500049d1982cbb30fc232c0ccc55d87","user":{"login":"isaacsloan","id":124580,"avatar_url":"https://avatars.githubusercontent.com/u/124580?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacsloan","html_url":"https://github.com/isaacsloan","followers_url":"https://api.github.com/users/isaacsloan/followers","following_url":"https://api.github.com/users/isaacsloan/following{/other_user}","gists_url":"https://api.github.com/users/isaacsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacsloan/subscriptions","organizations_url":"https://api.github.com/users/isaacsloan/orgs","repos_url":"https://api.github.com/users/isaacsloan/repos","events_url":"https://api.github.com/users/isaacsloan/events{/privacy}","received_events_url":"https://api.github.com/users/isaacsloan/received_events","type":"User","site_admin":false},"repo":{"id":26458639,"name":"petergate","full_name":"isaacsloan/petergate","owner":{"login":"isaacsloan","id":124580,"avatar_url":"https://avatars.githubusercontent.com/u/124580?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacsloan","html_url":"https://github.com/isaacsloan","followers_url":"https://api.github.com/users/isaacsloan/followers","following_url":"https://api.github.com/users/isaacsloan/following{/other_user}","gists_url":"https://api.github.com/users/isaacsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacsloan/subscriptions","organizations_url":"https://api.github.com/users/isaacsloan/orgs","repos_url":"https://api.github.com/users/isaacsloan/repos","events_url":"https://api.github.com/users/isaacsloan/events{/privacy}","received_events_url":"https://api.github.com/users/isaacsloan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/isaacsloan/petergate","description":"Easy to use and read action and content based authorizations.","fork":false,"url":"https://api.github.com/repos/isaacsloan/petergate","forks_url":"https://api.github.com/repos/isaacsloan/petergate/forks","keys_url":"https://api.github.com/repos/isaacsloan/petergate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isaacsloan/petergate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isaacsloan/petergate/teams","hooks_url":"https://api.github.com/repos/isaacsloan/petergate/hooks","issue_events_url":"https://api.github.com/repos/isaacsloan/petergate/issues/events{/number}","events_url":"https://api.github.com/repos/isaacsloan/petergate/events","assignees_url":"https://api.github.com/repos/isaacsloan/petergate/assignees{/user}","branches_url":"https://api.github.com/repos/isaacsloan/petergate/branches{/branch}","tags_url":"https://api.github.com/repos/isaacsloan/petergate/tags","blobs_url":"https://api.github.com/repos/isaacsloan/petergate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isaacsloan/petergate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isaacsloan/petergate/git/refs{/sha}","trees_url":"https://api.github.com/repos/isaacsloan/petergate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isaacsloan/petergate/statuses/{sha}","languages_url":"https://api.github.com/repos/isaacsloan/petergate/languages","stargazers_url":"https://api.github.com/repos/isaacsloan/petergate/stargazers","contributors_url":"https://api.github.com/repos/isaacsloan/petergate/contributors","subscribers_url":"https://api.github.com/repos/isaacsloan/petergate/subscribers","subscription_url":"https://api.github.com/repos/isaacsloan/petergate/subscription","commits_url":"https://api.github.com/repos/isaacsloan/petergate/commits{/sha}","git_commits_url":"https://api.github.com/repos/isaacsloan/petergate/git/commits{/sha}","comments_url":"https://api.github.com/repos/isaacsloan/petergate/comments{/number}","issue_comment_url":"https://api.github.com/repos/isaacsloan/petergate/issues/comments{/number}","contents_url":"https://api.github.com/repos/isaacsloan/petergate/contents/{+path}","compare_url":"https://api.github.com/repos/isaacsloan/petergate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isaacsloan/petergate/merges","archive_url":"https://api.github.com/repos/isaacsloan/petergate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isaacsloan/petergate/downloads","issues_url":"https://api.github.com/repos/isaacsloan/petergate/issues{/number}","pulls_url":"https://api.github.com/repos/isaacsloan/petergate/pulls{/number}","milestones_url":"https://api.github.com/repos/isaacsloan/petergate/milestones{/number}","notifications_url":"https://api.github.com/repos/isaacsloan/petergate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isaacsloan/petergate/labels{/name}","releases_url":"https://api.github.com/repos/isaacsloan/petergate/releases{/id}","created_at":"2014-11-10T22:22:14Z","updated_at":"2015-03-05T19:35:26Z","pushed_at":"2015-03-20T17:52:26Z","git_url":"git://github.com/isaacsloan/petergate.git","ssh_url":"git@github.com:isaacsloan/petergate.git","clone_url":"https://github.com/isaacsloan/petergate.git","svn_url":"https://github.com/isaacsloan/petergate","homepage":"","size":646,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/isaacsloan/petergate/pulls/7"},"html":{"href":"https://github.com/isaacsloan/petergate/pull/7"},"issue":{"href":"https://api.github.com/repos/isaacsloan/petergate/issues/7"},"comments":{"href":"https://api.github.com/repos/isaacsloan/petergate/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/isaacsloan/petergate/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/isaacsloan/petergate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/isaacsloan/petergate/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/isaacsloan/petergate/statuses/c9ebce5e89212d58ce652325cd1a8adf202acdd3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"isaacsloan","id":124580,"avatar_url":"https://avatars.githubusercontent.com/u/124580?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacsloan","html_url":"https://github.com/isaacsloan","followers_url":"https://api.github.com/users/isaacsloan/followers","following_url":"https://api.github.com/users/isaacsloan/following{/other_user}","gists_url":"https://api.github.com/users/isaacsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacsloan/subscriptions","organizations_url":"https://api.github.com/users/isaacsloan/orgs","repos_url":"https://api.github.com/users/isaacsloan/repos","events_url":"https://api.github.com/users/isaacsloan/events{/privacy}","received_events_url":"https://api.github.com/users/isaacsloan/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":52,"deletions":1,"changed_files":4}}