2016/10/20分のコミットです。
CHANGELOGへの追加はありませんでした。
Fix indentation of code examples
activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
のdocの修正です。
ActiveRecord::ConnectionAdapters::Table#column_exists?
、#index_exists?
メソッドのdoc内のコードexampleのインデントがずれていて、コードが正しく表示されてなかったのを修正しています。
Merge pull request #26829 from headius/wait_for_events_in_listen_tests
activesupport/test/file_update_checker_shared_tests.rb
の修正です。
FileUpdateChecker
のテストで、ファイルの更新処理後にwait(sleep 1
)をするよう修正しています。
JRubyでは、listen
がファイルの更新イベントを非同期で取得する為、wait処理を入れないと更新を正しく検知出来ない為、との事です。
activerecord/lib/active_record/log_subscriber.rb
の修正です。
ActiveRecord::LogSubscriber#render_bind
の可視性をprivateに変更しています。ActiveRecord::LogSubscriber
クラスの中だけで使うメソッドだからですかねえ。
Merge pull request #26830 from headius/mask_forking_fsevent_test_on_jruby
activesupport/test/evented_file_update_checker_test.rb
の修正です。
EventedFileUpdateChecker
のテストでforkしたprocessに対してnotify処理が正しく行われる事が確認するテストがあるのですが、JRubyではfork
が無いので、該当のテストをJRubyではskipするよう修正しています。