2019/08/24分のコミットです。
CHANGELOGへの追加はありませんでした。
Cleanup unneeded blank string params in ActionText
actiontext/app/helpers/action_text/content_helper.rb
、
actiontext/lib/action_text/plain_text_conversion.rb
の修正です。
Stringを結合する際に不要な空文字の指定があったのを削除しています。
Fix titleize to work with parentheses (#37029)
activesupport/lib/active_support/inflector/methods.rb
の修正です。
中括弧(()
)を含むStringに対してtitleize
メソッドを実行した際に、中括弧内の文字列が一文字の場合、大文字にしないよう修正しています。
# Before "name(s)".titleize #=> "Name(S)" # After "name(s)".titleize #=> "Name(s)"
Remove whitespace in environments/test.rb
railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
の修正です。
rails new
で生成されるenvironments/test.rb
から不要な空白を削除しています。