-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor BCDice#check_suc #145
Conversation
Codecov Report
@@ Coverage Diff @@
## master #145 +/- ##
==========================================
+ Coverage 86.35% 86.41% +0.05%
==========================================
Files 197 201 +4
Lines 22249 22372 +123
==========================================
+ Hits 19214 19332 +118
- Misses 3035 3040 +5
Continue to review full report at Codecov.
|
4773d4c
to
199b119
Compare
- DiceBot#check_suc に移動 - パラメータを厳格化 - DiceBot#getDiceList, @diceText, @diffText を廃止
- GranCrest: 目標値?の挙動修正 - RuneQuest: 成功度の範囲を確認するテストを追加
199b119
to
0180772
Compare
|
Discordの会話で出てきた、 |
Normalizerモジュールの名前以外の部分は、これで大丈夫だと思います。 |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
BCDice#check_suc
関連のメソッドが遠回しな処理を多くするため、リファクタリングを実施した。 結果、不要なメソッドとインスタンス変数を削除した。コア機能の変更は 6bdb593 に、その変更に伴う各ダイスボットの修正は 0180772 にまとめています。
変更点
6bdb593
0180772