Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#load
だったのが#safe_load
になり、デフォルトのオプションも変わったため、互換になるように修正した 4ad0c4cObject#=~
がなくなり(String と Regexp は残る)、元々結果が nil だったもの(String や Regexp 以外は nil になってた)が落ちるようになったので、String かどうかをチェックするようにした(Regexp は来ないだろうと判断) 72e1306new
でそのままキーワード引数にできるようになった影響の修正(元々は payload が Hash を受け取るとしていた) 0b88b88