なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2021/03/27)

2021/03/27分のコミットです。

CHANGELOGへの追加はありませんでした。


Fix deprecation warning on Actionpack request test

actionpack/test/dispatch/request_test.rbの修正です。

ActionDispatch::RemoteIpに関するdeprecateメッセージが表示されていたのを修正しています。


Replace mimemagic with mini_mime

Active Storageの修正です。

mimeの取得にmimemagicを使用していたのを、mini_mimeを使用するよう修正しています。ライセンス周りの対応があった影響。


Upgrade to Marcel 1.0.0

activestorage/activestorage.gemspecの修正です。

marcel 1系を使用するようdependencyを更新しています。


Active Storage representations: respond with 404 given invalid variation key

Active Storagの修正です。

不正なvariation keyが指定された場合に、representations処理で404を返すよう修正しています。


Add frozen_string_literal pragma

activestorage/app/controllers/active_storage/representations/base_controller.rbの修正です。

ファイルにfrozen_string_literalの指定を追加しています。