2018/11/22分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activejob/CHANGELOG.md
actionmailer/CHANGELOG.md
Merge pull request #34498 from ThomBian/thombian/fix-opclass-parsing
activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
の修正です。
特定のカラム名(今回問題になったのはposition
)のカラムに対してindexを作成する際に、opclass
に指定した値が使用されないバグがあったのを修正しています。
特定のカラム名の場合のみカラムがquoteされるのですが、そのquoteに対する考慮が無かった為。
Allow all ActiveJob assertion helper to accept Proc in their only
kw:
activejob/lib/active_job/queue_adapters/test_adapter.rb
、
activejob/lib/active_job/test_helper.rb
の修正です。
Active Jobのassertion methosのonly
、except
引数にProcを指定出来るよう修正しています。
例。
assert_performed_jobs(1, only: ->(job) { job.is_a?(HelloJob) }) do HelloJob.perform_later('jeremy') LoggingJob.perform_later('stewie') RescueJob.perform_later('david') end
Fix ActionMailer assertion not working for mail defining delivery_job:
actionmailer/lib/action_mailer/test_helper.rb
の修正です。
mailerにcustom jobを指定した場合にAction Mailerのassertion methosが動作していなかった(対象となるjobがActionMailer::DeliveryJob
, ActionMailer::Parameterized::DeliveryJob
固定になっている為)のを、custom jobを指定した場合も動作するよう修正しています。
activesupport/test/dependencies_test.rb
の修正です。
テストでRubyのwarningがでていたのを修正しています。
railties/test/application/rake_test.rb
の修正です。
test_scaffold_tests_pass_by_default
でテスト実行前にpacksをcompileするよう修正しています。
テスト実行時にcompileすると、パラレルテストが有効の場合に同時にcompileが実行され、結果ファイルが不正な状態になってしまう事がある為。
Use squiggly heredoc to strip odd indentation in the executed SQL
Active Recordの修正です。