{"action":"opened","number":67,"pull_request":{"url":"https://api.github.com/repos/kohana/cache/pulls/67","id":31031316,"html_url":"https://github.com/kohana/cache/pull/67","diff_url":"https://github.com/kohana/cache/pull/67.diff","patch_url":"https://github.com/kohana/cache/pull/67.patch","issue_url":"https://api.github.com/repos/kohana/cache/issues/67","number":67,"state":"open","locked":false,"title":"Prevent reading all file if cache expired","user":{"login":"rafis","id":3502395,"avatar_url":"https://avatars.githubusercontent.com/u/3502395?v=3","gravatar_id":"","url":"https://api.github.com/users/rafis","html_url":"https://github.com/rafis","followers_url":"https://api.github.com/users/rafis/followers","following_url":"https://api.github.com/users/rafis/following{/other_user}","gists_url":"https://api.github.com/users/rafis/gists{/gist_id}","starred_url":"https://api.github.com/users/rafis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafis/subscriptions","organizations_url":"https://api.github.com/users/rafis/orgs","repos_url":"https://api.github.com/users/rafis/repos","events_url":"https://api.github.com/users/rafis/events{/privacy}","received_events_url":"https://api.github.com/users/rafis/received_events","type":"User","site_admin":false},"body":"I don't understand why while loop is needed if we know that cache expired.","created_at":"2015-03-12T12:33:28Z","updated_at":"2015-03-12T12:33:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kohana/cache/pulls/67/commits","review_comments_url":"https://api.github.com/repos/kohana/cache/pulls/67/comments","review_comment_url":"https://api.github.com/repos/kohana/cache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kohana/cache/issues/67/comments","statuses_url":"https://api.github.com/repos/kohana/cache/statuses/8e1b871e134f337400d135c58d936314d35b7913","head":{"label":"rafis:3.3/master","ref":"3.3/master","sha":"8e1b871e134f337400d135c58d936314d35b7913","user":{"login":"rafis","id":3502395,"avatar_url":"https://avatars.githubusercontent.com/u/3502395?v=3","gravatar_id":"","url":"https://api.github.com/users/rafis","html_url":"https://github.com/rafis","followers_url":"https://api.github.com/users/rafis/followers","following_url":"https://api.github.com/users/rafis/following{/other_user}","gists_url":"https://api.github.com/users/rafis/gists{/gist_id}","starred_url":"https://api.github.com/users/rafis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafis/subscriptions","organizations_url":"https://api.github.com/users/rafis/orgs","repos_url":"https://api.github.com/users/rafis/repos","events_url":"https://api.github.com/users/rafis/events{/privacy}","received_events_url":"https://api.github.com/users/rafis/received_events","type":"User","site_admin":false},"repo":{"id":32075819,"name":"cache","full_name":"rafis/cache","owner":{"login":"rafis","id":3502395,"avatar_url":"https://avatars.githubusercontent.com/u/3502395?v=3","gravatar_id":"","url":"https://api.github.com/users/rafis","html_url":"https://github.com/rafis","followers_url":"https://api.github.com/users/rafis/followers","following_url":"https://api.github.com/users/rafis/following{/other_user}","gists_url":"https://api.github.com/users/rafis/gists{/gist_id}","starred_url":"https://api.github.com/users/rafis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafis/subscriptions","organizations_url":"https://api.github.com/users/rafis/orgs","repos_url":"https://api.github.com/users/rafis/repos","events_url":"https://api.github.com/users/rafis/events{/privacy}","received_events_url":"https://api.github.com/users/rafis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rafis/cache","description":"Cache library for Kohana 3","fork":true,"url":"https://api.github.com/repos/rafis/cache","forks_url":"https://api.github.com/repos/rafis/cache/forks","keys_url":"https://api.github.com/repos/rafis/cache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rafis/cache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rafis/cache/teams","hooks_url":"https://api.github.com/repos/rafis/cache/hooks","issue_events_url":"https://api.github.com/repos/rafis/cache/issues/events{/number}","events_url":"https://api.github.com/repos/rafis/cache/events","assignees_url":"https://api.github.com/repos/rafis/cache/assignees{/user}","branches_url":"https://api.github.com/repos/rafis/cache/branches{/branch}","tags_url":"https://api.github.com/repos/rafis/cache/tags","blobs_url":"https://api.github.com/repos/rafis/cache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rafis/cache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rafis/cache/git/refs{/sha}","trees_url":"https://api.github.com/repos/rafis/cache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rafis/cache/statuses/{sha}","languages_url":"https://api.github.com/repos/rafis/cache/languages","stargazers_url":"https://api.github.com/repos/rafis/cache/stargazers","contributors_url":"https://api.github.com/repos/rafis/cache/contributors","subscribers_url":"https://api.github.com/repos/rafis/cache/subscribers","subscription_url":"https://api.github.com/repos/rafis/cache/subscription","commits_url":"https://api.github.com/repos/rafis/cache/commits{/sha}","git_commits_url":"https://api.github.com/repos/rafis/cache/git/commits{/sha}","comments_url":"https://api.github.com/repos/rafis/cache/comments{/number}","issue_comment_url":"https://api.github.com/repos/rafis/cache/issues/comments{/number}","contents_url":"https://api.github.com/repos/rafis/cache/contents/{+path}","compare_url":"https://api.github.com/repos/rafis/cache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rafis/cache/merges","archive_url":"https://api.github.com/repos/rafis/cache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rafis/cache/downloads","issues_url":"https://api.github.com/repos/rafis/cache/issues{/number}","pulls_url":"https://api.github.com/repos/rafis/cache/pulls{/number}","milestones_url":"https://api.github.com/repos/rafis/cache/milestones{/number}","notifications_url":"https://api.github.com/repos/rafis/cache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rafis/cache/labels{/name}","releases_url":"https://api.github.com/repos/rafis/cache/releases{/id}","created_at":"2015-03-12T12:30:12Z","updated_at":"2015-03-12T12:32:35Z","pushed_at":"2015-03-12T12:32:35Z","git_url":"git://github.com/rafis/cache.git","ssh_url":"git@github.com:rafis/cache.git","clone_url":"https://github.com/rafis/cache.git","svn_url":"https://github.com/rafis/cache","homepage":"","size":1086,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"3.3/master"}},"base":{"label":"kohana:3.3/master","ref":"3.3/master","sha":"a5e5a070cb919b064e701e6b70d9d13a5f98f8f5","user":{"login":"kohana","id":39584,"avatar_url":"https://avatars.githubusercontent.com/u/39584?v=3","gravatar_id":"","url":"https://api.github.com/users/kohana","html_url":"https://github.com/kohana","followers_url":"https://api.github.com/users/kohana/followers","following_url":"https://api.github.com/users/kohana/following{/other_user}","gists_url":"https://api.github.com/users/kohana/gists{/gist_id}","starred_url":"https://api.github.com/users/kohana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohana/subscriptions","organizations_url":"https://api.github.com/users/kohana/orgs","repos_url":"https://api.github.com/users/kohana/repos","events_url":"https://api.github.com/users/kohana/events{/privacy}","received_events_url":"https://api.github.com/users/kohana/received_events","type":"Organization","site_admin":false},"repo":{"id":675444,"name":"cache","full_name":"kohana/cache","owner":{"login":"kohana","id":39584,"avatar_url":"https://avatars.githubusercontent.com/u/39584?v=3","gravatar_id":"","url":"https://api.github.com/users/kohana","html_url":"https://github.com/kohana","followers_url":"https://api.github.com/users/kohana/followers","following_url":"https://api.github.com/users/kohana/following{/other_user}","gists_url":"https://api.github.com/users/kohana/gists{/gist_id}","starred_url":"https://api.github.com/users/kohana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohana/subscriptions","organizations_url":"https://api.github.com/users/kohana/orgs","repos_url":"https://api.github.com/users/kohana/repos","events_url":"https://api.github.com/users/kohana/events{/privacy}","received_events_url":"https://api.github.com/users/kohana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kohana/cache","description":"Cache library for Kohana 3","fork":false,"url":"https://api.github.com/repos/kohana/cache","forks_url":"https://api.github.com/repos/kohana/cache/forks","keys_url":"https://api.github.com/repos/kohana/cache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kohana/cache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kohana/cache/teams","hooks_url":"https://api.github.com/repos/kohana/cache/hooks","issue_events_url":"https://api.github.com/repos/kohana/cache/issues/events{/number}","events_url":"https://api.github.com/repos/kohana/cache/events","assignees_url":"https://api.github.com/repos/kohana/cache/assignees{/user}","branches_url":"https://api.github.com/repos/kohana/cache/branches{/branch}","tags_url":"https://api.github.com/repos/kohana/cache/tags","blobs_url":"https://api.github.com/repos/kohana/cache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kohana/cache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kohana/cache/git/refs{/sha}","trees_url":"https://api.github.com/repos/kohana/cache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kohana/cache/statuses/{sha}","languages_url":"https://api.github.com/repos/kohana/cache/languages","stargazers_url":"https://api.github.com/repos/kohana/cache/stargazers","contributors_url":"https://api.github.com/repos/kohana/cache/contributors","subscribers_url":"https://api.github.com/repos/kohana/cache/subscribers","subscription_url":"https://api.github.com/repos/kohana/cache/subscription","commits_url":"https://api.github.com/repos/kohana/cache/commits{/sha}","git_commits_url":"https://api.github.com/repos/kohana/cache/git/commits{/sha}","comments_url":"https://api.github.com/repos/kohana/cache/comments{/number}","issue_comment_url":"https://api.github.com/repos/kohana/cache/issues/comments{/number}","contents_url":"https://api.github.com/repos/kohana/cache/contents/{+path}","compare_url":"https://api.github.com/repos/kohana/cache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kohana/cache/merges","archive_url":"https://api.github.com/repos/kohana/cache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kohana/cache/downloads","issues_url":"https://api.github.com/repos/kohana/cache/issues{/number}","pulls_url":"https://api.github.com/repos/kohana/cache/pulls{/number}","milestones_url":"https://api.github.com/repos/kohana/cache/milestones{/number}","notifications_url":"https://api.github.com/repos/kohana/cache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kohana/cache/labels{/name}","releases_url":"https://api.github.com/repos/kohana/cache/releases{/id}","created_at":"2010-05-19T16:56:39Z","updated_at":"2015-03-10T12:06:15Z","pushed_at":"2015-01-03T02:19:34Z","git_url":"git://github.com/kohana/cache.git","ssh_url":"git@github.com:kohana/cache.git","clone_url":"https://github.com/kohana/cache.git","svn_url":"https://github.com/kohana/cache","homepage":"","size":1086,"stargazers_count":81,"watchers_count":81,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":78,"mirror_url":null,"open_issues_count":10,"forks":78,"open_issues":10,"watchers":81,"default_branch":"3.3/master"}},"_links":{"self":{"href":"https://api.github.com/repos/kohana/cache/pulls/67"},"html":{"href":"https://github.com/kohana/cache/pull/67"},"issue":{"href":"https://api.github.com/repos/kohana/cache/issues/67"},"comments":{"href":"https://api.github.com/repos/kohana/cache/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/kohana/cache/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/kohana/cache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kohana/cache/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/kohana/cache/statuses/8e1b871e134f337400d135c58d936314d35b7913"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":9,"changed_files":1}}