なるようになるブログ

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

rails commit log流し読み(2022/12/29)

2022/12/29分のコミットです。

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


s/the the /the /

activejob/lib/rails/generators/job/USAGEの修正です。

the thetheに修正しています。


Refactor message metadata tests

Active Supportのテストの修正です。

message metadataに関するテストについて、テストクラスのリファクタリング、正しくテストが行われてなかったテストの修正を行っています。


Don't extend the return value of DelegateClass

activesupport/lib/active_support/cache/mem_cache_store.rbactivesupport/lib/active_support/syntax_error_proxy.rbの修正です。

DelegateClassの戻り値をclassとして定義せず、そのまま変数に代入するよう修正しています。不要な中間クラスが中間クラスが生成されるのを避ける為、との事です。が、後ほどRevertされています。


rubocop --only Layout/IndentationConsistency -a

activesupport/lib/active_support/syntax_error_proxy.rbの修正です。

rubocop --only Layout/IndentationConsistency -aを実行しています。が、railsのRubocopの設定と違う修正がされたようで、後ほどRevertされています。


Revert "rubocop --only Layout/IndentationConsistency -a"

直前のrubocopの実行をRevertしています。


Revert "Don't extend the return value of DelegateClass"

その前にDelegateClassに関する修正をRevertしています。こちらの理由は不明。