2017/12/10分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Add secure
X-Download-Options
andX-Permitted-Cross-Domain-Policies
to default headers set. - Change the system tests to set Puma as default server only when the user haven't specified manually another server.
Add secure X-Download-Options
and X-Permitted-Cross-Domain-Policies
to default headers set.
actionpack/lib/action_dispatch/railtie.rb
の修正です。
defaultのhttp headerの一覧にX-Download-Options
(値はnoopen)、及び、X-Permitted-Cross-Domain-Policies
(値はnone)を追加しています。
actionpack/lib/action_dispatch/system_testing/server.rb
の修正です。
System testで使用するサーバに強制的にPuma
が使われるようになっていたのを、Capybara.server
が明示的に指定されている場合は指定されているサーバを使用するよう修正しています。
activerecord/test/cases/primary_keys_test.rb
の修正です。
test_any_type_primary_key
の後処理でBarcode
modelのcolumn情報をリセットするよう修正しています。
テスト内でcolumn情報がキャッシュされてしまうのですが、キャッシュされたままだと他のテストが通らない、という問題がある為、リセットするようにしています。