{"action":"created","issue":{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/157","repository_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI","labels_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/157/comments","events_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/157/events","html_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/157","id":184706142,"number":157,"title":"add rspec for checking csv","user":{"login":"yumetodo","id":10869046,"avatar_url":"https://avatars.githubusercontent.com/u/10869046?v=3","gravatar_id":"","url":"https://api.github.com/users/yumetodo","html_url":"https://github.com/yumetodo","followers_url":"https://api.github.com/users/yumetodo/followers","following_url":"https://api.github.com/users/yumetodo/following{/other_user}","gists_url":"https://api.github.com/users/yumetodo/gists{/gist_id}","starred_url":"https://api.github.com/users/yumetodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yumetodo/subscriptions","organizations_url":"https://api.github.com/users/yumetodo/orgs","repos_url":"https://api.github.com/users/yumetodo/repos","events_url":"https://api.github.com/users/yumetodo/events{/privacy}","received_events_url":"https://api.github.com/users/yumetodo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/labels/do_not_marge(working)","name":"do_not_marge(working)","color":"ee827c"},{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/labels/kancolle_database","name":"kancolle_database","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-23T18:30:04Z","updated_at":"2016-10-24T11:38:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/pulls/157","html_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/157","diff_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/157.diff","patch_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/157.patch"},"body":"[![Run Status](https://api.shippable.com/projects/580d7e14a799120f00f41711/badge?branch=add_rspec)](https://app.shippable.com/projects/580d7e14a799120f00f41711)\r\n#152 #155 より。rspec(rubyのテストフレームワーク)と正規表現を用いてcsvのチェックを行う。\r\n\r\n- [ ] ``ships_all.csv``修正\r\n- [ ] shippableを有効にする\r\n- [ ] ReadmeにDevelop branchとmaster branchのbadgeをつける\r\n\r\n# 参考資料\r\n\r\n- [使えるRSpec入門・その1「RSpecの基本的な構文や便利な機能を理解する」 - Qiita](http://qiita.com/jnchito/items/42193d066bd61c740612)\r\n- [はじめてのRSpec - まずテスト書いてからコード書くシンプルなチュートリアル - Qiita](http://qiita.com/luckypool/items/e3662170033347510c3c)\r\n- [Rubyist Magazine - スはスペックのス 【第 1 回】 RSpec の概要と、RSpec on Rails (モデル編)](http://magazine.rubyist.net/?0021-Rspec)\r\n- [候補から選択(|) - 複数の候補から選択 - Ruby正規表現の使い方](http://www.rubylife.jp/regexp/select/index1.html)\r\n- [Ruby Samples - Shippable Documentation](http://docsshippable.readthedocs.io/en/latest/samples/ruby.html)\r\n- [ShippableでRailsアプリをCI＆CD - Qiita](http://qiita.com/na999ta/items/b89da87a3e6ebd95dde6)\r\n- [ci_reporter から rspec_junit_formatter に移行した - @znz blog](http://blog.n-z.jp/blog/2014-06-13-ci-reporter-to-rspec-junit-formatter.html)\r\n- [sj26/rspec_junit_formatter: RSpec results formatted as JUnit XML that Hudson can read](https://github.com/sj26/rspec_junit_formatter)\r\n- [Rubyで文字コードを変換 ‘kconv’ | rakkyooの備忘録](http://rakkyoo.net/?p=652)"},"comment":{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/comments/255717030","html_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/157#issuecomment-255717030","issue_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/157","id":255717030,"user":{"login":"YSRKEN","id":3734392,"avatar_url":"https://avatars.githubusercontent.com/u/3734392?v=3","gravatar_id":"","url":"https://api.github.com/users/YSRKEN","html_url":"https://github.com/YSRKEN","followers_url":"https://api.github.com/users/YSRKEN/followers","following_url":"https://api.github.com/users/YSRKEN/following{/other_user}","gists_url":"https://api.github.com/users/YSRKEN/gists{/gist_id}","starred_url":"https://api.github.com/users/YSRKEN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YSRKEN/subscriptions","organizations_url":"https://api.github.com/users/YSRKEN/orgs","repos_url":"https://api.github.com/users/YSRKEN/repos","events_url":"https://api.github.com/users/YSRKEN/events{/privacy}","received_events_url":"https://api.github.com/users/YSRKEN/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T11:38:11Z","updated_at":"2016-10-24T11:38:11Z","body":"Shippableは有効にしました。後、ships_all.csvにnullが含まれるのは当然です。\r\n- ships_all.csvは、「現時点で収集できる確実な情報」。艦これは途中から一部敵データを送ってこなくなったので、どうしても読めない「nullな部分」が存在する\r\n- ships.csvは、ships_all.csvにおけるnullを「適当に」潰したもの。要するにシミュレート用にやむを得ず作ったゴマカシ"}}
{"actor":{"display_login":"YSRKEN"}}