2016/05/05分のコミットです。
CHANGELOGへの追加はありませんでした。
.travis.yml
の修正です。
Travisで使用するRubyのバージョンを、2.2.5
及び2.3.1
に修正しています。
各ファイルのコメント内にあったタイポをまとめて修正しています。
Ensure compatibility between ActionDispatch::Request::Session and Rack
actionpack/lib/action_dispatch/request/session.rb
の修正です。
ActionDispatch::Request::Session
クラスにeach
メソッドを追加しています。
このメソッドが無いとRackに対応したフレームワーク(Sinatra等)をRailsにmountして使用した場合に、エラーになってしまう為追加したとの事です。
Fix to_yaml test when run individually
activesupport/test/core_ext/string_ext_test.rb
の修正です。
不足していたyaml
のrequireを追加しています。
Fix tests when preserving timezones
activesupport/test/core_ext/date_time_ext_test.rb
、
activesupport/test/core_ext/string_ext_test.rb
の修正です。
to_time
メソッドについのテストで、ActiveSupport.to_time_preserves_timezone
が設定されてるかどうかで確認する値を変えるよう修正しています。
Run Active Support tests when preserving timezones
.travis.yml
、
activesupport/test/abstract_unit.rb
の修正です。
travis上でActiveSupport.to_time_preserves_timezone
を設定した場合のテストを行うよう修正しています。
do not pass conditions to #destroy_all
[ci skip]
activerecord/lib/active_record/callbacks.rb
、activerecord/lib/active_record/relation/batches/batch_enumerator.rb
のdocの修正です。
各メソッド内のexampleで、deprecateになったdestroy_all
メソッドにconditionsを渡すコードがあったのを、conditionsを渡さないよう修正しています。
- # People.in_batches.destroy_all('age < 10') + # People.where('age < 10').in_batches.destroy_all
guides/bug_report_templates/active_record_master.rb
の修正です。
テスト用のテーブル作成処理から不要なスペースを削除しています。