{"action":"created","issue":{"url":"https://api.github.com/repos/kayac/alphawing/issues/62","labels_url":"https://api.github.com/repos/kayac/alphawing/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/kayac/alphawing/issues/62/comments","events_url":"https://api.github.com/repos/kayac/alphawing/issues/62/events","html_url":"https://github.com/kayac/alphawing/pull/62","id":60321710,"number":62,"title":"[WIP]storage interface","user":{"login":"mackee","id":1021371,"avatar_url":"https://avatars.githubusercontent.com/u/1021371?v=3","gravatar_id":"","url":"https://api.github.com/users/mackee","html_url":"https://github.com/mackee","followers_url":"https://api.github.com/users/mackee/followers","following_url":"https://api.github.com/users/mackee/following{/other_user}","gists_url":"https://api.github.com/users/mackee/gists{/gist_id}","starred_url":"https://api.github.com/users/mackee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mackee/subscriptions","organizations_url":"https://api.github.com/users/mackee/orgs","repos_url":"https://api.github.com/users/mackee/repos","events_url":"https://api.github.com/users/mackee/events{/privacy}","received_events_url":"https://api.github.com/users/mackee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-09T10:08:50Z","updated_at":"2015-08-04T08:26:23Z","closed_at":"2015-08-04T08:26:23Z","pull_request":{"url":"https://api.github.com/repos/kayac/alphawing/pulls/62","html_url":"https://github.com/kayac/alphawing/pull/62","diff_url":"https://github.com/kayac/alphawing/pull/62.diff","patch_url":"https://github.com/kayac/alphawing/pull/62.patch"},"body":"### やること\r\n- 直接Google Drive APIを叩いている部分をinterfaceで分離する\r\n- 実装として従来のGoogle Drive APIを使うものとローカルを使うものと2つ用意する\r\n- app.confでどのstorageを使うかを切り替えられるようにする\r\n\r\n### 何故やるか\r\n- interfaceになっていないのでテストしにくい\r\n- Google Cloud Storageに容易に切り替えられるようにする準備\r\n\r\n### 進捗\r\n- [x] storage interfaceの定義\r\n- [x] google drive apiを使う部分をstorage interfaceに沿って実装\r\n- [ ] ローカルに保存するstorage interfaceを実装\r\n- [ ] ローカルに保存するバージョンのテスト"},"comment":{"url":"https://api.github.com/repos/kayac/alphawing/issues/comments/127522930","html_url":"https://github.com/kayac/alphawing/pull/62#issuecomment-127522930","issue_url":"https://api.github.com/repos/kayac/alphawing/issues/62","id":127522930,"user":{"login":"mackee","id":1021371,"avatar_url":"https://avatars.githubusercontent.com/u/1021371?v=3","gravatar_id":"","url":"https://api.github.com/users/mackee","html_url":"https://github.com/mackee","followers_url":"https://api.github.com/users/mackee/followers","following_url":"https://api.github.com/users/mackee/following{/other_user}","gists_url":"https://api.github.com/users/mackee/gists{/gist_id}","starred_url":"https://api.github.com/users/mackee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mackee/subscriptions","organizations_url":"https://api.github.com/users/mackee/orgs","repos_url":"https://api.github.com/users/mackee/repos","events_url":"https://api.github.com/users/mackee/events{/privacy}","received_events_url":"https://api.github.com/users/mackee/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T08:26:23Z","updated_at":"2015-08-04T08:26:23Z","body":"一旦諦める。次回作にご期待"}}