{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls/5","id":64993253,"html_url":"https://github.com/spatie/laravel-demo-mode/pull/5","diff_url":"https://github.com/spatie/laravel-demo-mode/pull/5.diff","patch_url":"https://github.com/spatie/laravel-demo-mode/pull/5.patch","issue_url":"https://api.github.com/repos/spatie/laravel-demo-mode/issues/5","number":5,"state":"closed","locked":false,"title":"Add Logic to protectedByDemoMode method","user":{"login":"mercuryseries","id":5163810,"avatar_url":"https://avatars.githubusercontent.com/u/5163810?v=3","gravatar_id":"","url":"https://api.github.com/users/mercuryseries","html_url":"https://github.com/mercuryseries","followers_url":"https://api.github.com/users/mercuryseries/followers","following_url":"https://api.github.com/users/mercuryseries/following{/other_user}","gists_url":"https://api.github.com/users/mercuryseries/gists{/gist_id}","starred_url":"https://api.github.com/users/mercuryseries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercuryseries/subscriptions","organizations_url":"https://api.github.com/users/mercuryseries/orgs","repos_url":"https://api.github.com/users/mercuryseries/repos","events_url":"https://api.github.com/users/mercuryseries/events{/privacy}","received_events_url":"https://api.github.com/users/mercuryseries/received_events","type":"User","site_admin":false},"body":"I changed the protectedByDemoMode method signature and added the relevant logic. \r\nNote that we can also delete this method since currently it always return true. But leaving it like that (with the logic added) is a kind of double checking.\r\n\r\nLet me know if you want to delete it, I will update the pull request accordingly.","created_at":"2016-04-01T19:27:46Z","updated_at":"2016-04-01T20:19:32Z","closed_at":"2016-04-01T20:19:32Z","merged_at":null,"merge_commit_sha":"21e911038c0a075ab0045742b2541c76973eb697","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls/5/commits","review_comments_url":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls/5/comments","review_comment_url":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spatie/laravel-demo-mode/issues/5/comments","statuses_url":"https://api.github.com/repos/spatie/laravel-demo-mode/statuses/9e6c8816aef159b5eccccba48e79ac831864a009","head":{"label":"mercuryseries:patch-2","ref":"patch-2","sha":"9e6c8816aef159b5eccccba48e79ac831864a009","user":{"login":"mercuryseries","id":5163810,"avatar_url":"https://avatars.githubusercontent.com/u/5163810?v=3","gravatar_id":"","url":"https://api.github.com/users/mercuryseries","html_url":"https://github.com/mercuryseries","followers_url":"https://api.github.com/users/mercuryseries/followers","following_url":"https://api.github.com/users/mercuryseries/following{/other_user}","gists_url":"https://api.github.com/users/mercuryseries/gists{/gist_id}","starred_url":"https://api.github.com/users/mercuryseries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercuryseries/subscriptions","organizations_url":"https://api.github.com/users/mercuryseries/orgs","repos_url":"https://api.github.com/users/mercuryseries/repos","events_url":"https://api.github.com/users/mercuryseries/events{/privacy}","received_events_url":"https://api.github.com/users/mercuryseries/received_events","type":"User","site_admin":false},"repo":{"id":55249905,"name":"laravel-demo-mode","full_name":"mercuryseries/laravel-demo-mode","owner":{"login":"mercuryseries","id":5163810,"avatar_url":"https://avatars.githubusercontent.com/u/5163810?v=3","gravatar_id":"","url":"https://api.github.com/users/mercuryseries","html_url":"https://github.com/mercuryseries","followers_url":"https://api.github.com/users/mercuryseries/followers","following_url":"https://api.github.com/users/mercuryseries/following{/other_user}","gists_url":"https://api.github.com/users/mercuryseries/gists{/gist_id}","starred_url":"https://api.github.com/users/mercuryseries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercuryseries/subscriptions","organizations_url":"https://api.github.com/users/mercuryseries/orgs","repos_url":"https://api.github.com/users/mercuryseries/repos","events_url":"https://api.github.com/users/mercuryseries/events{/privacy}","received_events_url":"https://api.github.com/users/mercuryseries/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mercuryseries/laravel-demo-mode","description":"A package to protect your work in progress from prying eyes","fork":true,"url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode","forks_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/forks","keys_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/teams","hooks_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/hooks","issue_events_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/issues/events{/number}","events_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/events","assignees_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/assignees{/user}","branches_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/branches{/branch}","tags_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/tags","blobs_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/languages","stargazers_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/stargazers","contributors_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/contributors","subscribers_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/subscribers","subscription_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/subscription","commits_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/contents/{+path}","compare_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/merges","archive_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/downloads","issues_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/issues{/number}","pulls_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/labels{/name}","releases_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/releases{/id}","deployments_url":"https://api.github.com/repos/mercuryseries/laravel-demo-mode/deployments","created_at":"2016-04-01T17:25:00Z","updated_at":"2016-04-01T17:25:02Z","pushed_at":"2016-04-01T20:10:48Z","git_url":"git://github.com/mercuryseries/laravel-demo-mode.git","ssh_url":"git@github.com:mercuryseries/laravel-demo-mode.git","clone_url":"https://github.com/mercuryseries/laravel-demo-mode.git","svn_url":"https://github.com/mercuryseries/laravel-demo-mode","homepage":"https://murze.be/2016/03/package-protect-work-progress-prying-eyes/","size":43,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"spatie:master","ref":"master","sha":"7c16789f00f9f0adbd178cd55a97ffc9b20eb672","user":{"login":"spatie","id":7535935,"avatar_url":"https://avatars.githubusercontent.com/u/7535935?v=3","gravatar_id":"","url":"https://api.github.com/users/spatie","html_url":"https://github.com/spatie","followers_url":"https://api.github.com/users/spatie/followers","following_url":"https://api.github.com/users/spatie/following{/other_user}","gists_url":"https://api.github.com/users/spatie/gists{/gist_id}","starred_url":"https://api.github.com/users/spatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spatie/subscriptions","organizations_url":"https://api.github.com/users/spatie/orgs","repos_url":"https://api.github.com/users/spatie/repos","events_url":"https://api.github.com/users/spatie/events{/privacy}","received_events_url":"https://api.github.com/users/spatie/received_events","type":"Organization","site_admin":false},"repo":{"id":54675475,"name":"laravel-demo-mode","full_name":"spatie/laravel-demo-mode","owner":{"login":"spatie","id":7535935,"avatar_url":"https://avatars.githubusercontent.com/u/7535935?v=3","gravatar_id":"","url":"https://api.github.com/users/spatie","html_url":"https://github.com/spatie","followers_url":"https://api.github.com/users/spatie/followers","following_url":"https://api.github.com/users/spatie/following{/other_user}","gists_url":"https://api.github.com/users/spatie/gists{/gist_id}","starred_url":"https://api.github.com/users/spatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spatie/subscriptions","organizations_url":"https://api.github.com/users/spatie/orgs","repos_url":"https://api.github.com/users/spatie/repos","events_url":"https://api.github.com/users/spatie/events{/privacy}","received_events_url":"https://api.github.com/users/spatie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spatie/laravel-demo-mode","description":"A package to protect your work in progress from prying eyes","fork":false,"url":"https://api.github.com/repos/spatie/laravel-demo-mode","forks_url":"https://api.github.com/repos/spatie/laravel-demo-mode/forks","keys_url":"https://api.github.com/repos/spatie/laravel-demo-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spatie/laravel-demo-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spatie/laravel-demo-mode/teams","hooks_url":"https://api.github.com/repos/spatie/laravel-demo-mode/hooks","issue_events_url":"https://api.github.com/repos/spatie/laravel-demo-mode/issues/events{/number}","events_url":"https://api.github.com/repos/spatie/laravel-demo-mode/events","assignees_url":"https://api.github.com/repos/spatie/laravel-demo-mode/assignees{/user}","branches_url":"https://api.github.com/repos/spatie/laravel-demo-mode/branches{/branch}","tags_url":"https://api.github.com/repos/spatie/laravel-demo-mode/tags","blobs_url":"https://api.github.com/repos/spatie/laravel-demo-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spatie/laravel-demo-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spatie/laravel-demo-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/spatie/laravel-demo-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spatie/laravel-demo-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/spatie/laravel-demo-mode/languages","stargazers_url":"https://api.github.com/repos/spatie/laravel-demo-mode/stargazers","contributors_url":"https://api.github.com/repos/spatie/laravel-demo-mode/contributors","subscribers_url":"https://api.github.com/repos/spatie/laravel-demo-mode/subscribers","subscription_url":"https://api.github.com/repos/spatie/laravel-demo-mode/subscription","commits_url":"https://api.github.com/repos/spatie/laravel-demo-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/spatie/laravel-demo-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/spatie/laravel-demo-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/spatie/laravel-demo-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/spatie/laravel-demo-mode/contents/{+path}","compare_url":"https://api.github.com/repos/spatie/laravel-demo-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spatie/laravel-demo-mode/merges","archive_url":"https://api.github.com/repos/spatie/laravel-demo-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spatie/laravel-demo-mode/downloads","issues_url":"https://api.github.com/repos/spatie/laravel-demo-mode/issues{/number}","pulls_url":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/spatie/laravel-demo-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/spatie/laravel-demo-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spatie/laravel-demo-mode/labels{/name}","releases_url":"https://api.github.com/repos/spatie/laravel-demo-mode/releases{/id}","deployments_url":"https://api.github.com/repos/spatie/laravel-demo-mode/deployments","created_at":"2016-03-24T21:30:26Z","updated_at":"2016-04-01T16:38:19Z","pushed_at":"2016-04-01T20:10:48Z","git_url":"git://github.com/spatie/laravel-demo-mode.git","ssh_url":"git@github.com:spatie/laravel-demo-mode.git","clone_url":"https://github.com/spatie/laravel-demo-mode.git","svn_url":"https://github.com/spatie/laravel-demo-mode","homepage":"https://murze.be/2016/03/package-protect-work-progress-prying-eyes/","size":41,"stargazers_count":13,"watchers_count":13,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls/5"},"html":{"href":"https://github.com/spatie/laravel-demo-mode/pull/5"},"issue":{"href":"https://api.github.com/repos/spatie/laravel-demo-mode/issues/5"},"comments":{"href":"https://api.github.com/repos/spatie/laravel-demo-mode/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spatie/laravel-demo-mode/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/spatie/laravel-demo-mode/statuses/9e6c8816aef159b5eccccba48e79ac831864a009"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":7,"deletions":6,"changed_files":1}}