GitHub PullRequestEvent at 2014-04-18 16:27:51
Repository: framework
Actor: taylorotwell
Payload: {"action":"closed","number":4132,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/4132","id":14781821,"html_url":"https://github.com/laravel/framework/pull/4132","diff_url":"https://github.com/laravel/framework/pull/4132.diff","patch_url":"https://github.com/laravel/framework/pull/4132.patch","issue_url":"https://api.github.com/repos/laravel/framework/issues/4132","number":4132,"state":"closed","title":"fire an event on cache clear","user":{"login":"ceejayoz","id":2825,"avatar_url":"https://avatars.githubusercontent.com/u/2825?","gravatar_id":"a19f9308334d07d4be19c8f6d11151ff","url":"https://api.github.com/users/ceejayoz","html_url":"https://github.com/ceejayoz","followers_url":"https://api.github.com/users/ceejayoz/followers","following_url":"https://api.github.com/users/ceejayoz/following{/other_user}","gists_url":"https://api.github.com/users/ceejayoz/gists{/gist_id}","starred_url":"https://api.github.com/users/ceejayoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceejayoz/subscriptions","organizations_url":"https://api.github.com/users/ceejayoz/orgs","repos_url":"https://api.github.com/users/ceejayoz/repos","events_url":"https://api.github.com/users/ceejayoz/events{/privacy}","received_events_url":"https://api.github.com/users/ceejayoz/received_events","type":"User","site_admin":false},"body":"In some situations, users may store certain cache-style data in a more custom manner than the Cache functions permit. For example, we store most cache data in Redis, but have a few larger cacheable items (rendered, minified CSS) that would incur high levels of unnecessary network traffic from the Redis server if stored there. For these larger items, we manually store to the db and/or the filesystem.\r\n\r\nAdding a `cache:clear` event to `php artisan cache:clear` allows for a cache clearing to be hooked into via an event for additional custom processing.","created_at":"2014-04-15T17:19:10Z","updated_at":"2014-04-18T16:27:50Z","closed_at":"2014-04-18T16:27:50Z","merged_at":"2014-04-18T16:27:50Z","merge_commit_sha":"db3f3458f488f5de290892f5c387445b743649c3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel/framework/pulls/4132/commits","review_comments_url":"https://api.github.com/repos/laravel/framework/pulls/4132/comments","review_comment_url":"https://api.github.com/repos/laravel/framework/pulls/comments/{number}","comments_url":"https://api.github.com/repos/laravel/framework/issues/4132/comments","statuses_url":"https://api.github.com/repos/laravel/framework/statuses/be52b848c877717c9ed1c7f05256d575b247ea04","head":{"label":"ceejayoz:patch-1","ref":"patch-1","sha":"be52b848c877717c9ed1c7f05256d575b247ea04","user":{"login":"ceejayoz","id":2825,"avatar_url":"https://avatars.githubusercontent.com/u/2825?","gravatar_id":"a19f9308334d07d4be19c8f6d11151ff","url":"https://api.github.com/users/ceejayoz","html_url":"https://github.com/ceejayoz","followers_url":"https://api.github.com/users/ceejayoz/followers","following_url":"https://api.github.com/users/ceejayoz/following{/other_user}","gists_url":"https://api.github.com/users/ceejayoz/gists{/gist_id}","starred_url":"https://api.github.com/users/ceejayoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceejayoz/subscriptions","organizations_url":"https://api.github.com/users/ceejayoz/orgs","repos_url":"https://api.github.com/users/ceejayoz/repos","events_url":"https://api.github.com/users/ceejayoz/events{/privacy}","received_events_url":"https://api.github.com/users/ceejayoz/received_events","type":"User","site_admin":false},"repo":{"id":17488039,"name":"laravel","full_name":"ceejayoz/laravel","owner":{"login":"ceejayoz","id":2825,"avatar_url":"https://avatars.githubusercontent.com/u/2825?","gravatar_id":"a19f9308334d07d4be19c8f6d11151ff","url":"https://api.github.com/users/ceejayoz","html_url":"https://github.com/ceejayoz","followers_url":"https://api.github.com/users/ceejayoz/followers","following_url":"https://api.github.com/users/ceejayoz/following{/other_user}","gists_url":"https://api.github.com/users/ceejayoz/gists{/gist_id}","starred_url":"https://api.github.com/users/ceejayoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceejayoz/subscriptions","organizations_url":"https://api.github.com/users/ceejayoz/orgs","repos_url":"https://api.github.com/users/ceejayoz/repos","events_url":"https://api.github.com/users/ceejayoz/events{/privacy}","received_events_url":"https://api.github.com/users/ceejayoz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ceejayoz/laravel","description":"","fork":true,"url":"https://api.github.com/repos/ceejayoz/laravel","forks_url":"https://api.github.com/repos/ceejayoz/laravel/forks","keys_url":"https://api.github.com/repos/ceejayoz/laravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceejayoz/laravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceejayoz/laravel/teams","hooks_url":"https://api.github.com/repos/ceejayoz/laravel/hooks","issue_events_url":"https://api.github.com/repos/ceejayoz/laravel/issues/events{/number}","events_url":"https://api.github.com/repos/ceejayoz/laravel/events","assignees_url":"https://api.github.com/repos/ceejayoz/laravel/assignees{/user}","branches_url":"https://api.github.com/repos/ceejayoz/laravel/branches{/branch}","tags_url":"https://api.github.com/repos/ceejayoz/laravel/tags","blobs_url":"https://api.github.com/repos/ceejayoz/laravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceejayoz/laravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceejayoz/laravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceejayoz/laravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceejayoz/laravel/statuses/{sha}","languages_url":"https://api.github.com/repos/ceejayoz/laravel/languages","stargazers_url":"https://api.github.com/repos/ceejayoz/laravel/stargazers","contributors_url":"https://api.github.com/repos/ceejayoz/laravel/contributors","subscribers_url":"https://api.github.com/repos/ceejayoz/laravel/subscribers","subscription_url":"https://api.github.com/repos/ceejayoz/laravel/subscription","commits_url":"https://api.github.com/repos/ceejayoz/laravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceejayoz/laravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceejayoz/laravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceejayoz/laravel/issues/comments/{number}","contents_url":"https://api.github.com/repos/ceejayoz/laravel/contents/{+path}","compare_url":"https://api.github.com/repos/ceejayoz/laravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceejayoz/laravel/merges","archive_url":"https://api.github.com/repos/ceejayoz/laravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceejayoz/laravel/downloads","issues_url":"https://api.github.com/repos/ceejayoz/laravel/issues{/number}","pulls_url":"https://api.github.com/repos/ceejayoz/laravel/pulls{/number}","milestones_url":"https://api.github.com/repos/ceejayoz/laravel/milestones{/number}","notifications_url":"https://api.github.com/repos/ceejayoz/laravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceejayoz/laravel/labels{/name}","releases_url":"https://api.github.com/repos/ceejayoz/laravel/releases{/id}","created_at":"2014-03-06T18:30:19Z","updated_at":"2014-04-18T16:27:50Z","pushed_at":"2014-04-16T18:36:23Z","git_url":"git://github.com/ceejayoz/laravel.git","ssh_url":"git@github.com:ceejayoz/laravel.git","clone_url":"https://github.com/ceejayoz/laravel.git","svn_url":"https://github.com/ceejayoz/laravel","homepage":"http://laravel.com","size":8053,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"laravel:master","ref":"master","sha":"c6a1bb2f7e77a2cb126b5b8ea21c352c5cfdcf47","user":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?","gravatar_id":"94305630bd933660cf2597c0f9c548d4","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":7548986,"name":"framework","full_name":"laravel/framework","owner":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?","gravatar_id":"94305630bd933660cf2597c0f9c548d4","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel/framework","description":"","fork":false,"url":"https://api.github.com/repos/laravel/framework","forks_url":"https://api.github.com/repos/laravel/framework/forks","keys_url":"https://api.github.com/repos/laravel/framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/framework/teams","hooks_url":"https://api.github.com/repos/laravel/framework/hooks","issue_events_url":"https://api.github.com/repos/laravel/framework/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/framework/events","assignees_url":"https://api.github.com/repos/laravel/framework/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/framework/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/framework/tags","blobs_url":"https://api.github.com/repos/laravel/framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/framework/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/framework/languages","stargazers_url":"https://api.github.com/repos/laravel/framework/stargazers","contributors_url":"https://api.github.com/repos/laravel/framework/contributors","subscribers_url":"https://api.github.com/repos/laravel/framework/subscribers","subscription_url":"https://api.github.com/repos/laravel/framework/subscription","commits_url":"https://api.github.com/repos/laravel/framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/framework/issues/comments/{number}","contents_url":"https://api.github.com/repos/laravel/framework/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/framework/merges","archive_url":"https://api.github.com/repos/laravel/framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/framework/downloads","issues_url":"https://api.github.com/repos/laravel/framework/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/framework/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/framework/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/framework/labels{/name}","releases_url":"https://api.github.com/repos/laravel/framework/releases{/id}","created_at":"2013-01-10T21:27:28Z","updated_at":"2014-04-18T16:27:50Z","pushed_at":"2014-04-18T16:27:50Z","git_url":"git://github.com/laravel/framework.git","ssh_url":"git@github.com:laravel/framework.git","clone_url":"https://github.com/laravel/framework.git","svn_url":"https://github.com/laravel/framework","homepage":"http://laravel.com","size":34021,"stargazers_count":1876,"watchers_count":1876,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1027,"mirror_url":null,"open_issues_count":96,"forks":1027,"open_issues":96,"watchers":1876,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/framework/pulls/4132"},"html":{"href":"https://github.com/laravel/framework/pull/4132"},"issue":{"href":"https://api.github.com/repos/laravel/framework/issues/4132"},"comments":{"href":"https://api.github.com/repos/laravel/framework/issues/4132/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/framework/pulls/4132/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/framework/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/laravel/framework/pulls/4132/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/framework/statuses/be52b848c877717c9ed1c7f05256d575b247ea04"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"taylorotwell","id":463230,"avatar_url":"https://avatars.githubusercontent.com/u/463230?","gravatar_id":"f30ff8ad2367afd407a1678e7d8d851f","url":"https://api.github.com/users/taylorotwell","html_url":"https://github.com/taylorotwell","followers_url":"https://api.github.com/users/taylorotwell/followers","following_url":"https://api.github.com/users/taylorotwell/following{/other_user}","gists_url":"https://api.github.com/users/taylorotwell/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorotwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorotwell/subscriptions","organizations_url":"https://api.github.com/users/taylorotwell/orgs","repos_url":"https://api.github.com/users/taylorotwell/repos","events_url":"https://api.github.com/users/taylorotwell/events{/privacy}","received_events_url":"https://api.github.com/users/taylorotwell/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":2,"deletions":0,"changed_files":1}}