{"action":"created","issue":{"url":"https://api.github.com/repos/colorbox/bento/issues/66","repository_url":"https://api.github.com/repos/colorbox/bento","labels_url":"https://api.github.com/repos/colorbox/bento/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/colorbox/bento/issues/66/comments","events_url":"https://api.github.com/repos/colorbox/bento/issues/66/events","html_url":"https://github.com/colorbox/bento/pull/66","id":216492374,"number":66,"title":"basic認証の追加","user":{"login":"colorbox","id":731436,"avatar_url":"https://avatars3.githubusercontent.com/u/731436?v=3","gravatar_id":"","url":"https://api.github.com/users/colorbox","html_url":"https://github.com/colorbox","followers_url":"https://api.github.com/users/colorbox/followers","following_url":"https://api.github.com/users/colorbox/following{/other_user}","gists_url":"https://api.github.com/users/colorbox/gists{/gist_id}","starred_url":"https://api.github.com/users/colorbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colorbox/subscriptions","organizations_url":"https://api.github.com/users/colorbox/orgs","repos_url":"https://api.github.com/users/colorbox/repos","events_url":"https://api.github.com/users/colorbox/events{/privacy}","received_events_url":"https://api.github.com/users/colorbox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-23T16:33:45Z","updated_at":"2017-03-26T15:25:02Z","closed_at":"2017-03-25T08:28:32Z","pull_request":{"url":"https://api.github.com/repos/colorbox/bento/pulls/66","html_url":"https://github.com/colorbox/bento/pull/66","diff_url":"https://github.com/colorbox/bento/pull/66.diff","patch_url":"https://github.com/colorbox/bento/pull/66.patch"},"body":"#### 概要\r\n\r\n#41 の対応です。\r\n\r\n#### 実施事項\r\n\r\n - ユーザー用のBASIC認証を追加\r\n - 管理者用のBASIC認証を追加\r\n - BASIC認証をパスするようにテスト用ヘルパを追加\r\n    - それに伴うテスト修正\r\n\r\n#### 備考\r\n\r\nBASIC認証のためのID,パスワードは環境変数に格納するようにしています。\r\n開発、及びテスト用に`.env`ファイルをプロジェクトのルートに置いてください。\r\ndotenvの[README](https://github.com/bkeepers/dotenv#should-i-commit-my-env-file)に従って`.env`ファイルはコミット対象から外しています。\r\n\r\nHerokuでのデプロイ時は下記環境変数の追加をお願いします。\r\n```\r\nUSER_ID\r\nUSER_PASS\r\nADMIN_ID\r\nADMIN_PASS\r\n```\r\n\r\nそもそも環境変数に置くべきでないなどあれば指摘をお願い致します\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/colorbox/bento/issues/comments/289291299","html_url":"https://github.com/colorbox/bento/pull/66#issuecomment-289291299","issue_url":"https://api.github.com/repos/colorbox/bento/issues/66","id":289291299,"user":{"login":"tkm-kj","id":3395349,"avatar_url":"https://avatars3.githubusercontent.com/u/3395349?v=3","gravatar_id":"","url":"https://api.github.com/users/tkm-kj","html_url":"https://github.com/tkm-kj","followers_url":"https://api.github.com/users/tkm-kj/followers","following_url":"https://api.github.com/users/tkm-kj/following{/other_user}","gists_url":"https://api.github.com/users/tkm-kj/gists{/gist_id}","starred_url":"https://api.github.com/users/tkm-kj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkm-kj/subscriptions","organizations_url":"https://api.github.com/users/tkm-kj/orgs","repos_url":"https://api.github.com/users/tkm-kj/repos","events_url":"https://api.github.com/users/tkm-kj/events{/privacy}","received_events_url":"https://api.github.com/users/tkm-kj/received_events","type":"User","site_admin":false},"created_at":"2017-03-26T15:25:01Z","updated_at":"2017-03-26T15:25:01Z","body":"値はまで決めてないですがリリース前にこちら側で決めて、リリース後に社内のツールで周知で大丈夫だと思ってますね！"}}
{"actor":{"display_login":"tkm-kj"}}