2017/07/21分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #29851 from printercu/patch-1
railties/lib/rails/tasks/yarn.rake
の修正です。
yarn:yarn:install
task実行時に--production
オプションを指定するよう修正しています。dev dependenciesを無視する為。
Remove log directory in test postprocessing
actionview/Rakefile
の修正です。
rail-ujsのテストの後処理で、log
ディレクトリを削除するのに、FileUtils.rm_f
を使用していたのを、FileUtils.rm_rf
を使用するよう修正しています。
rails guideのA Guide for Upgrading Ruby on Rails
の修正です。
“ActionView::Helpers::RecordTagHelper
moved to external gem (record_tag_helper)"の項を追加し、content_tag_for
とdiv_for
メソッドが外部gem(record_tag_helper
)になった事についての説明を追加しています。
Suppress documentation for content_tag_for and div_for since they were removed already
actionview/lib/action_view/helpers/record_tag_helper.rb
のdocの修正です。
div_for
、content_tag_for
メソッドに:nodoc:
を指定して、API docに表示されないよう修正しています。外部gemに切り出されている為。
Fix false positive test related to wrong app root path.
railties/test/secrets_test.rb
の修正です。
Rails.application.config.read_encrypted_secrets
にfalse
を指定した場合にsecretesのparse処理が行われない事を確認するテストが正しく動作しないなかったのを修正しています。
Rails.application.config.root
の指定に誤りがあり、read_encrypted_secrets
の値にかかわらずsecretesのparse処理が行われない状態になってしまっていた為、Rails.application.config.root
に正しいpathを指定するようにしています。