{"push_id":3092153277,"size":5,"distinct_size":1,"ref":"refs/heads/master","head":"2caac60f77cbe852990818926cc1a791588c814e","before":"11c34f378382ebc8576d8579dbed9b691d00e5e2","commits":[{"sha":"3277b031617093b393c88840406782e0632c4bca","author":{"name":"chikako-LLB","email":"716499cac69140dfe2b07c203567efad0cde6618@gmail.com"},"message":"自動更新の実装\n\napp/controllers/messages_controller.rb\nrespond_to do |format|endを使いhtmlとjsonの処理を分ける。\n\napp/views/messages/index.json.jbuilder\njson.array!(配列) do |要素名| end を使い配列構造を作る。\napp/views/messages/create.json.jbuilder\nと情報内容を揃える。\nそれぞれのメッセージにmessage.id, user.nameなど必要な情報を持たせて、配列に格納する。\n\napp/assets/javascripts/message.js\nsetInterval(updateMessage,5000);と\nfunction updateMessage()を設定し、自動更新を実装。\napp/views/messages/_message.html.haml\n.chatmain__body__message__wrapperクラスにmessage.idの属性値を持たせる。","distinct":false,"url":"https://api.github.com/repos/chikako-LLB/chat-space/commits/3277b031617093b393c88840406782e0632c4bca"},{"sha":"e1bcc71b397755d60633843d6faafff3b0f74a05","author":{"name":"chikako-LLB","email":"716499cac69140dfe2b07c203567efad0cde6618@gmail.com"},"message":"リファクタリング","distinct":false,"url":"https://api.github.com/repos/chikako-LLB/chat-space/commits/e1bcc71b397755d60633843d6faafff3b0f74a05"},{"sha":"44e047b0a7584d8d2a64c77e7d007b7e39ff86f5","author":{"name":"chikako-LLB","email":"716499cac69140dfe2b07c203567efad0cde6618@gmail.com"},"message":"バグの修正","distinct":false,"url":"https://api.github.com/repos/chikako-LLB/chat-space/commits/44e047b0a7584d8d2a64c77e7d007b7e39ff86f5"},{"sha":"85971d8026fa9feb3ecf3fb9c65f55c5d356d1eb","author":{"name":"chikako-LLB","email":"716499cac69140dfe2b07c203567efad0cde6618@gmail.com"},"message":"自動更新条件分岐コード変更\n\napp/assets/javascripts/message.jsに書いていた自動更新条件分岐をapp/controllers/messages\n_controller.rbに書き換えた。","distinct":false,"url":"https://api.github.com/repos/chikako-LLB/chat-space/commits/85971d8026fa9feb3ecf3fb9c65f55c5d356d1eb"},{"sha":"2caac60f77cbe852990818926cc1a791588c814e","author":{"name":"chikako-LLB","email":"64dec236737b63e06a2118e5ee397a0c22a20dfe@users.noreply.github.com"},"message":"Merge pull request #14 from chikako-LLB/Automatic-updating\n\nAutomatic updating","distinct":true,"url":"https://api.github.com/repos/chikako-LLB/chat-space/commits/2caac60f77cbe852990818926cc1a791588c814e"}]}
{"actor":{"display_login":"chikako-LLB"}}