{"action":"created","comment":{"url":"https://api.github.com/repos/lenazh/scheduler/pulls/comments/35765055","id":35765055,"diff_hunk":"@@ -0,0 +1,8 @@\n+module PunditHelper\r\n+  def stub_policy(policy)\r\n+    policy.any_instance.stub(:show?) { true }\r\n+    policy.any_instance.stub(:create?) { true }\r\n+    policy.any_instance.stub(:update?) { true }\r\n+    policy.any_instance.stub(:destroy?) { true }\r\n+  end\r\n+end","path":"spec/helpers/pundit_helper.rb","position":null,"original_position":8,"commit_id":"cbf9cda621b16fa34e492a051562859e06795a53","original_commit_id":"141e5b76d7b45b77fd1082518142b2004b081848","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":"Final newline missing.","created_at":"2015-07-29T14:29:45Z","updated_at":"2015-07-29T14:29:45Z","html_url":"https://github.com/lenazh/scheduler/pull/10#discussion_r35765055","pull_request_url":"https://api.github.com/repos/lenazh/scheduler/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/lenazh/scheduler/pulls/comments/35765055"},"html":{"href":"https://github.com/lenazh/scheduler/pull/10#discussion_r35765055"},"pull_request":{"href":"https://api.github.com/repos/lenazh/scheduler/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/lenazh/scheduler/pulls/10","id":41079247,"html_url":"https://github.com/lenazh/scheduler/pull/10","diff_url":"https://github.com/lenazh/scheduler/pull/10.diff","patch_url":"https://github.com/lenazh/scheduler/pull/10.patch","issue_url":"https://api.github.com/repos/lenazh/scheduler/issues/10","number":10,"state":"closed","locked":false,"title":"Pundit","user":{"login":"lenazh","id":10641698,"avatar_url":"https://avatars.githubusercontent.com/u/10641698?v=3","gravatar_id":"","url":"https://api.github.com/users/lenazh","html_url":"https://github.com/lenazh","followers_url":"https://api.github.com/users/lenazh/followers","following_url":"https://api.github.com/users/lenazh/following{/other_user}","gists_url":"https://api.github.com/users/lenazh/gists{/gist_id}","starred_url":"https://api.github.com/users/lenazh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenazh/subscriptions","organizations_url":"https://api.github.com/users/lenazh/orgs","repos_url":"https://api.github.com/users/lenazh/repos","events_url":"https://api.github.com/users/lenazh/events{/privacy}","received_events_url":"https://api.github.com/users/lenazh/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-29T01:32:45Z","updated_at":"2015-07-29T14:29:46Z","closed_at":"2015-07-29T01:50:54Z","merged_at":"2015-07-29T01:50:54Z","merge_commit_sha":"41792b88a5cc9ff124577ed36042ff3f4f1d712e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lenazh/scheduler/pulls/10/commits","review_comments_url":"https://api.github.com/repos/lenazh/scheduler/pulls/10/comments","review_comment_url":"https://api.github.com/repos/lenazh/scheduler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lenazh/scheduler/issues/10/comments","statuses_url":"https://api.github.com/repos/lenazh/scheduler/statuses/cbf9cda621b16fa34e492a051562859e06795a53","head":{"label":"lenazh:pundit","ref":"pundit","sha":"cbf9cda621b16fa34e492a051562859e06795a53","user":{"login":"lenazh","id":10641698,"avatar_url":"https://avatars.githubusercontent.com/u/10641698?v=3","gravatar_id":"","url":"https://api.github.com/users/lenazh","html_url":"https://github.com/lenazh","followers_url":"https://api.github.com/users/lenazh/followers","following_url":"https://api.github.com/users/lenazh/following{/other_user}","gists_url":"https://api.github.com/users/lenazh/gists{/gist_id}","starred_url":"https://api.github.com/users/lenazh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenazh/subscriptions","organizations_url":"https://api.github.com/users/lenazh/orgs","repos_url":"https://api.github.com/users/lenazh/repos","events_url":"https://api.github.com/users/lenazh/events{/privacy}","received_events_url":"https://api.github.com/users/lenazh/received_events","type":"User","site_admin":false},"repo":{"id":36823152,"name":"scheduler","full_name":"lenazh/scheduler","owner":{"login":"lenazh","id":10641698,"avatar_url":"https://avatars.githubusercontent.com/u/10641698?v=3","gravatar_id":"","url":"https://api.github.com/users/lenazh","html_url":"https://github.com/lenazh","followers_url":"https://api.github.com/users/lenazh/followers","following_url":"https://api.github.com/users/lenazh/following{/other_user}","gists_url":"https://api.github.com/users/lenazh/gists{/gist_id}","starred_url":"https://api.github.com/users/lenazh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenazh/subscriptions","organizations_url":"https://api.github.com/users/lenazh/orgs","repos_url":"https://api.github.com/users/lenazh/repos","events_url":"https://api.github.com/users/lenazh/events{/privacy}","received_events_url":"https://api.github.com/users/lenazh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lenazh/scheduler","description":"","fork":false,"url":"https://api.github.com/repos/lenazh/scheduler","forks_url":"https://api.github.com/repos/lenazh/scheduler/forks","keys_url":"https://api.github.com/repos/lenazh/scheduler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lenazh/scheduler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lenazh/scheduler/teams","hooks_url":"https://api.github.com/repos/lenazh/scheduler/hooks","issue_events_url":"https://api.github.com/repos/lenazh/scheduler/issues/events{/number}","events_url":"https://api.github.com/repos/lenazh/scheduler/events","assignees_url":"https://api.github.com/repos/lenazh/scheduler/assignees{/user}","branches_url":"https://api.github.com/repos/lenazh/scheduler/branches{/branch}","tags_url":"https://api.github.com/repos/lenazh/scheduler/tags","blobs_url":"https://api.github.com/repos/lenazh/scheduler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lenazh/scheduler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lenazh/scheduler/git/refs{/sha}","trees_url":"https://api.github.com/repos/lenazh/scheduler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lenazh/scheduler/statuses/{sha}","languages_url":"https://api.github.com/repos/lenazh/scheduler/languages","stargazers_url":"https://api.github.com/repos/lenazh/scheduler/stargazers","contributors_url":"https://api.github.com/repos/lenazh/scheduler/contributors","subscribers_url":"https://api.github.com/repos/lenazh/scheduler/subscribers","subscription_url":"https://api.github.com/repos/lenazh/scheduler/subscription","commits_url":"https://api.github.com/repos/lenazh/scheduler/commits{/sha}","git_commits_url":"https://api.github.com/repos/lenazh/scheduler/git/commits{/sha}","comments_url":"https://api.github.com/repos/lenazh/scheduler/comments{/number}","issue_comment_url":"https://api.github.com/repos/lenazh/scheduler/issues/comments{/number}","contents_url":"https://api.github.com/repos/lenazh/scheduler/contents/{+path}","compare_url":"https://api.github.com/repos/lenazh/scheduler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lenazh/scheduler/merges","archive_url":"https://api.github.com/repos/lenazh/scheduler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lenazh/scheduler/downloads","issues_url":"https://api.github.com/repos/lenazh/scheduler/issues{/number}","pulls_url":"https://api.github.com/repos/lenazh/scheduler/pulls{/number}","milestones_url":"https://api.github.com/repos/lenazh/scheduler/milestones{/number}","notifications_url":"https://api.github.com/repos/lenazh/scheduler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lenazh/scheduler/labels{/name}","releases_url":"https://api.github.com/repos/lenazh/scheduler/releases{/id}","created_at":"2015-06-03T18:42:28Z","updated_at":"2015-06-03T20:10:41Z","pushed_at":"2015-07-29T01:51:00Z","git_url":"git://github.com/lenazh/scheduler.git","ssh_url":"git@github.com:lenazh/scheduler.git","clone_url":"https://github.com/lenazh/scheduler.git","svn_url":"https://github.com/lenazh/scheduler","homepage":null,"size":592,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lenazh:master","ref":"master","sha":"162a83ed5cb820f4d3acce4180e9926be7d32d89","user":{"login":"lenazh","id":10641698,"avatar_url":"https://avatars.githubusercontent.com/u/10641698?v=3","gravatar_id":"","url":"https://api.github.com/users/lenazh","html_url":"https://github.com/lenazh","followers_url":"https://api.github.com/users/lenazh/followers","following_url":"https://api.github.com/users/lenazh/following{/other_user}","gists_url":"https://api.github.com/users/lenazh/gists{/gist_id}","starred_url":"https://api.github.com/users/lenazh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenazh/subscriptions","organizations_url":"https://api.github.com/users/lenazh/orgs","repos_url":"https://api.github.com/users/lenazh/repos","events_url":"https://api.github.com/users/lenazh/events{/privacy}","received_events_url":"https://api.github.com/users/lenazh/received_events","type":"User","site_admin":false},"repo":{"id":36823152,"name":"scheduler","full_name":"lenazh/scheduler","owner":{"login":"lenazh","id":10641698,"avatar_url":"https://avatars.githubusercontent.com/u/10641698?v=3","gravatar_id":"","url":"https://api.github.com/users/lenazh","html_url":"https://github.com/lenazh","followers_url":"https://api.github.com/users/lenazh/followers","following_url":"https://api.github.com/users/lenazh/following{/other_user}","gists_url":"https://api.github.com/users/lenazh/gists{/gist_id}","starred_url":"https://api.github.com/users/lenazh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenazh/subscriptions","organizations_url":"https://api.github.com/users/lenazh/orgs","repos_url":"https://api.github.com/users/lenazh/repos","events_url":"https://api.github.com/users/lenazh/events{/privacy}","received_events_url":"https://api.github.com/users/lenazh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lenazh/scheduler","description":"","fork":false,"url":"https://api.github.com/repos/lenazh/scheduler","forks_url":"https://api.github.com/repos/lenazh/scheduler/forks","keys_url":"https://api.github.com/repos/lenazh/scheduler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lenazh/scheduler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lenazh/scheduler/teams","hooks_url":"https://api.github.com/repos/lenazh/scheduler/hooks","issue_events_url":"https://api.github.com/repos/lenazh/scheduler/issues/events{/number}","events_url":"https://api.github.com/repos/lenazh/scheduler/events","assignees_url":"https://api.github.com/repos/lenazh/scheduler/assignees{/user}","branches_url":"https://api.github.com/repos/lenazh/scheduler/branches{/branch}","tags_url":"https://api.github.com/repos/lenazh/scheduler/tags","blobs_url":"https://api.github.com/repos/lenazh/scheduler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lenazh/scheduler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lenazh/scheduler/git/refs{/sha}","trees_url":"https://api.github.com/repos/lenazh/scheduler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lenazh/scheduler/statuses/{sha}","languages_url":"https://api.github.com/repos/lenazh/scheduler/languages","stargazers_url":"https://api.github.com/repos/lenazh/scheduler/stargazers","contributors_url":"https://api.github.com/repos/lenazh/scheduler/contributors","subscribers_url":"https://api.github.com/repos/lenazh/scheduler/subscribers","subscription_url":"https://api.github.com/repos/lenazh/scheduler/subscription","commits_url":"https://api.github.com/repos/lenazh/scheduler/commits{/sha}","git_commits_url":"https://api.github.com/repos/lenazh/scheduler/git/commits{/sha}","comments_url":"https://api.github.com/repos/lenazh/scheduler/comments{/number}","issue_comment_url":"https://api.github.com/repos/lenazh/scheduler/issues/comments{/number}","contents_url":"https://api.github.com/repos/lenazh/scheduler/contents/{+path}","compare_url":"https://api.github.com/repos/lenazh/scheduler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lenazh/scheduler/merges","archive_url":"https://api.github.com/repos/lenazh/scheduler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lenazh/scheduler/downloads","issues_url":"https://api.github.com/repos/lenazh/scheduler/issues{/number}","pulls_url":"https://api.github.com/repos/lenazh/scheduler/pulls{/number}","milestones_url":"https://api.github.com/repos/lenazh/scheduler/milestones{/number}","notifications_url":"https://api.github.com/repos/lenazh/scheduler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lenazh/scheduler/labels{/name}","releases_url":"https://api.github.com/repos/lenazh/scheduler/releases{/id}","created_at":"2015-06-03T18:42:28Z","updated_at":"2015-06-03T20:10:41Z","pushed_at":"2015-07-29T01:51:00Z","git_url":"git://github.com/lenazh/scheduler.git","ssh_url":"git@github.com:lenazh/scheduler.git","clone_url":"https://github.com/lenazh/scheduler.git","svn_url":"https://github.com/lenazh/scheduler","homepage":null,"size":592,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lenazh/scheduler/pulls/10"},"html":{"href":"https://github.com/lenazh/scheduler/pull/10"},"issue":{"href":"https://api.github.com/repos/lenazh/scheduler/issues/10"},"comments":{"href":"https://api.github.com/repos/lenazh/scheduler/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/lenazh/scheduler/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/lenazh/scheduler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lenazh/scheduler/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/lenazh/scheduler/statuses/cbf9cda621b16fa34e492a051562859e06795a53"}}}}