2022/09/06分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Remove obsolete word_wrap test
actionview/test/template/text_helper_test.rb
の修正です。
word_wrap
の引数の値が変更されていない事を確認するテストを削除しています。現在引数の指定はキーワード引数になっており、引数の変更は出来なくなっている為。
Chomp the break_sequence in word_wrap
actionview/lib/action_view/helpers/text_helper.rb
の修正です。
word_wrap
のbreak_sequence
オプションにprintable charactersが含まれている場合に、break_sequence
の削除がされないバグがあったのを修正しています。
# <%= word_wrap("11 22\n33 44", line_width: 2, break_sequence: "\n# ") %>
Before:
# 11 # 22 # # 33 # 44 #
After:
# 11 # 22 # 33 # 44
Expand word_wrap test coverage
actionview/test/template/text_helper_test.rb
の修正です。
word_wrap
メソッドのテストを追加しています。
Clarify description of --force-plural option
railties/lib/rails/generators/model_helpers.rb
の修正です。
--force-plural
オプションのdescriptionをより適切な内容に修正しています。
Clarify description of --api option
railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb
の修正です。
--api
optionのdescriptionを追加しています。