{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/tuateam/tua-storage/pulls/3","id":174987435,"html_url":"https://github.com/tuateam/tua-storage/pull/3","diff_url":"https://github.com/tuateam/tua-storage/pull/3.diff","patch_url":"https://github.com/tuateam/tua-storage/pull/3.patch","issue_url":"https://api.github.com/repos/tuateam/tua-storage/issues/3","number":3,"state":"closed","locked":false,"title":"Feature/auto remove","user":{"login":"BuptStEve","id":11501493,"avatar_url":"https://avatars2.githubusercontent.com/u/11501493?v=4","gravatar_id":"","url":"https://api.github.com/users/BuptStEve","html_url":"https://github.com/BuptStEve","followers_url":"https://api.github.com/users/BuptStEve/followers","following_url":"https://api.github.com/users/BuptStEve/following{/other_user}","gists_url":"https://api.github.com/users/BuptStEve/gists{/gist_id}","starred_url":"https://api.github.com/users/BuptStEve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuptStEve/subscriptions","organizations_url":"https://api.github.com/users/BuptStEve/orgs","repos_url":"https://api.github.com/users/BuptStEve/repos","events_url":"https://api.github.com/users/BuptStEve/events{/privacy}","received_events_url":"https://api.github.com/users/BuptStEve/received_events","type":"User","site_admin":false},"body":"## 1. because of the ES7 decorator, refactor the config to use babel instead of buble.\r\n## 2. add feature to  automaticly remove expired data\r\n* never save data which is destined to expired (`expires <= 0`)\r\n* clean initial expired data\r\n* setInterval to clean expired data\r\n## 3. add test to clear items not match prefix","created_at":"2018-03-14T15:12:08Z","updated_at":"2018-03-14T15:15:42Z","closed_at":"2018-03-14T15:15:42Z","merged_at":"2018-03-14T15:15:42Z","merge_commit_sha":"c8c2803bcd0b4ce22eab5b42ac0abd3e0c765a8c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tuateam/tua-storage/pulls/3/commits","review_comments_url":"https://api.github.com/repos/tuateam/tua-storage/pulls/3/comments","review_comment_url":"https://api.github.com/repos/tuateam/tua-storage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tuateam/tua-storage/issues/3/comments","statuses_url":"https://api.github.com/repos/tuateam/tua-storage/statuses/3a27ede1e7491f75d52e62542cb0401385784b2b","head":{"label":"tuateam:feature/auto-remove","ref":"feature/auto-remove","sha":"3a27ede1e7491f75d52e62542cb0401385784b2b","user":{"login":"tuateam","id":29087647,"avatar_url":"https://avatars3.githubusercontent.com/u/29087647?v=4","gravatar_id":"","url":"https://api.github.com/users/tuateam","html_url":"https://github.com/tuateam","followers_url":"https://api.github.com/users/tuateam/followers","following_url":"https://api.github.com/users/tuateam/following{/other_user}","gists_url":"https://api.github.com/users/tuateam/gists{/gist_id}","starred_url":"https://api.github.com/users/tuateam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuateam/subscriptions","organizations_url":"https://api.github.com/users/tuateam/orgs","repos_url":"https://api.github.com/users/tuateam/repos","events_url":"https://api.github.com/users/tuateam/events{/privacy}","received_events_url":"https://api.github.com/users/tuateam/received_events","type":"Organization","site_admin":false},"repo":{"id":115928189,"name":"tua-storage","full_name":"tuateam/tua-storage","owner":{"login":"tuateam","id":29087647,"avatar_url":"https://avatars3.githubusercontent.com/u/29087647?v=4","gravatar_id":"","url":"https://api.github.com/users/tuateam","html_url":"https://github.com/tuateam","followers_url":"https://api.github.com/users/tuateam/followers","following_url":"https://api.github.com/users/tuateam/following{/other_user}","gists_url":"https://api.github.com/users/tuateam/gists{/gist_id}","starred_url":"https://api.github.com/users/tuateam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuateam/subscriptions","organizations_url":"https://api.github.com/users/tuateam/orgs","repos_url":"https://api.github.com/users/tuateam/repos","events_url":"https://api.github.com/users/tuateam/events{/privacy}","received_events_url":"https://api.github.com/users/tuateam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tuateam/tua-storage","description":"统一封装各个端（小程序、web 端、React-Native）中对于缓存层的使用","fork":false,"url":"https://api.github.com/repos/tuateam/tua-storage","forks_url":"https://api.github.com/repos/tuateam/tua-storage/forks","keys_url":"https://api.github.com/repos/tuateam/tua-storage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuateam/tua-storage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuateam/tua-storage/teams","hooks_url":"https://api.github.com/repos/tuateam/tua-storage/hooks","issue_events_url":"https://api.github.com/repos/tuateam/tua-storage/issues/events{/number}","events_url":"https://api.github.com/repos/tuateam/tua-storage/events","assignees_url":"https://api.github.com/repos/tuateam/tua-storage/assignees{/user}","branches_url":"https://api.github.com/repos/tuateam/tua-storage/branches{/branch}","tags_url":"https://api.github.com/repos/tuateam/tua-storage/tags","blobs_url":"https://api.github.com/repos/tuateam/tua-storage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuateam/tua-storage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuateam/tua-storage/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuateam/tua-storage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuateam/tua-storage/statuses/{sha}","languages_url":"https://api.github.com/repos/tuateam/tua-storage/languages","stargazers_url":"https://api.github.com/repos/tuateam/tua-storage/stargazers","contributors_url":"https://api.github.com/repos/tuateam/tua-storage/contributors","subscribers_url":"https://api.github.com/repos/tuateam/tua-storage/subscribers","subscription_url":"https://api.github.com/repos/tuateam/tua-storage/subscription","commits_url":"https://api.github.com/repos/tuateam/tua-storage/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuateam/tua-storage/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuateam/tua-storage/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuateam/tua-storage/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuateam/tua-storage/contents/{+path}","compare_url":"https://api.github.com/repos/tuateam/tua-storage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuateam/tua-storage/merges","archive_url":"https://api.github.com/repos/tuateam/tua-storage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuateam/tua-storage/downloads","issues_url":"https://api.github.com/repos/tuateam/tua-storage/issues{/number}","pulls_url":"https://api.github.com/repos/tuateam/tua-storage/pulls{/number}","milestones_url":"https://api.github.com/repos/tuateam/tua-storage/milestones{/number}","notifications_url":"https://api.github.com/repos/tuateam/tua-storage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuateam/tua-storage/labels{/name}","releases_url":"https://api.github.com/repos/tuateam/tua-storage/releases{/id}","deployments_url":"https://api.github.com/repos/tuateam/tua-storage/deployments","created_at":"2018-01-01T15:34:12Z","updated_at":"2018-01-25T02:49:41Z","pushed_at":"2018-03-14T15:15:42Z","git_url":"git://github.com/tuateam/tua-storage.git","ssh_url":"git@github.com:tuateam/tua-storage.git","clone_url":"https://github.com/tuateam/tua-storage.git","svn_url":"https://github.com/tuateam/tua-storage","homepage":"","size":86,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"tuateam:master","ref":"master","sha":"233502848c915ebfd42bd94df7ac754a890c8894","user":{"login":"tuateam","id":29087647,"avatar_url":"https://avatars3.githubusercontent.com/u/29087647?v=4","gravatar_id":"","url":"https://api.github.com/users/tuateam","html_url":"https://github.com/tuateam","followers_url":"https://api.github.com/users/tuateam/followers","following_url":"https://api.github.com/users/tuateam/following{/other_user}","gists_url":"https://api.github.com/users/tuateam/gists{/gist_id}","starred_url":"https://api.github.com/users/tuateam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuateam/subscriptions","organizations_url":"https://api.github.com/users/tuateam/orgs","repos_url":"https://api.github.com/users/tuateam/repos","events_url":"https://api.github.com/users/tuateam/events{/privacy}","received_events_url":"https://api.github.com/users/tuateam/received_events","type":"Organization","site_admin":false},"repo":{"id":115928189,"name":"tua-storage","full_name":"tuateam/tua-storage","owner":{"login":"tuateam","id":29087647,"avatar_url":"https://avatars3.githubusercontent.com/u/29087647?v=4","gravatar_id":"","url":"https://api.github.com/users/tuateam","html_url":"https://github.com/tuateam","followers_url":"https://api.github.com/users/tuateam/followers","following_url":"https://api.github.com/users/tuateam/following{/other_user}","gists_url":"https://api.github.com/users/tuateam/gists{/gist_id}","starred_url":"https://api.github.com/users/tuateam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuateam/subscriptions","organizations_url":"https://api.github.com/users/tuateam/orgs","repos_url":"https://api.github.com/users/tuateam/repos","events_url":"https://api.github.com/users/tuateam/events{/privacy}","received_events_url":"https://api.github.com/users/tuateam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tuateam/tua-storage","description":"统一封装各个端（小程序、web 端、React-Native）中对于缓存层的使用","fork":false,"url":"https://api.github.com/repos/tuateam/tua-storage","forks_url":"https://api.github.com/repos/tuateam/tua-storage/forks","keys_url":"https://api.github.com/repos/tuateam/tua-storage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuateam/tua-storage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuateam/tua-storage/teams","hooks_url":"https://api.github.com/repos/tuateam/tua-storage/hooks","issue_events_url":"https://api.github.com/repos/tuateam/tua-storage/issues/events{/number}","events_url":"https://api.github.com/repos/tuateam/tua-storage/events","assignees_url":"https://api.github.com/repos/tuateam/tua-storage/assignees{/user}","branches_url":"https://api.github.com/repos/tuateam/tua-storage/branches{/branch}","tags_url":"https://api.github.com/repos/tuateam/tua-storage/tags","blobs_url":"https://api.github.com/repos/tuateam/tua-storage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuateam/tua-storage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuateam/tua-storage/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuateam/tua-storage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuateam/tua-storage/statuses/{sha}","languages_url":"https://api.github.com/repos/tuateam/tua-storage/languages","stargazers_url":"https://api.github.com/repos/tuateam/tua-storage/stargazers","contributors_url":"https://api.github.com/repos/tuateam/tua-storage/contributors","subscribers_url":"https://api.github.com/repos/tuateam/tua-storage/subscribers","subscription_url":"https://api.github.com/repos/tuateam/tua-storage/subscription","commits_url":"https://api.github.com/repos/tuateam/tua-storage/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuateam/tua-storage/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuateam/tua-storage/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuateam/tua-storage/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuateam/tua-storage/contents/{+path}","compare_url":"https://api.github.com/repos/tuateam/tua-storage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuateam/tua-storage/merges","archive_url":"https://api.github.com/repos/tuateam/tua-storage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuateam/tua-storage/downloads","issues_url":"https://api.github.com/repos/tuateam/tua-storage/issues{/number}","pulls_url":"https://api.github.com/repos/tuateam/tua-storage/pulls{/number}","milestones_url":"https://api.github.com/repos/tuateam/tua-storage/milestones{/number}","notifications_url":"https://api.github.com/repos/tuateam/tua-storage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuateam/tua-storage/labels{/name}","releases_url":"https://api.github.com/repos/tuateam/tua-storage/releases{/id}","deployments_url":"https://api.github.com/repos/tuateam/tua-storage/deployments","created_at":"2018-01-01T15:34:12Z","updated_at":"2018-01-25T02:49:41Z","pushed_at":"2018-03-14T15:15:42Z","git_url":"git://github.com/tuateam/tua-storage.git","ssh_url":"git@github.com:tuateam/tua-storage.git","clone_url":"https://github.com/tuateam/tua-storage.git","svn_url":"https://github.com/tuateam/tua-storage","homepage":"","size":86,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tuateam/tua-storage/pulls/3"},"html":{"href":"https://github.com/tuateam/tua-storage/pull/3"},"issue":{"href":"https://api.github.com/repos/tuateam/tua-storage/issues/3"},"comments":{"href":"https://api.github.com/repos/tuateam/tua-storage/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/tuateam/tua-storage/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/tuateam/tua-storage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tuateam/tua-storage/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/tuateam/tua-storage/statuses/3a27ede1e7491f75d52e62542cb0401385784b2b"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"BuptStEve","id":11501493,"avatar_url":"https://avatars2.githubusercontent.com/u/11501493?v=4","gravatar_id":"","url":"https://api.github.com/users/BuptStEve","html_url":"https://github.com/BuptStEve","followers_url":"https://api.github.com/users/BuptStEve/followers","following_url":"https://api.github.com/users/BuptStEve/following{/other_user}","gists_url":"https://api.github.com/users/BuptStEve/gists{/gist_id}","starred_url":"https://api.github.com/users/BuptStEve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BuptStEve/subscriptions","organizations_url":"https://api.github.com/users/BuptStEve/orgs","repos_url":"https://api.github.com/users/BuptStEve/repos","events_url":"https://api.github.com/users/BuptStEve/events{/privacy}","received_events_url":"https://api.github.com/users/BuptStEve/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":2324,"deletions":1141,"changed_files":17}}
{"actor":{"display_login":"BuptStEve"}}