2016/07/05分のコミットです。
CHANGELOGへの追加はありませんでした。
Robots.txt removed disallow all instructions
railties/lib/rails/generators/rails/app/templates/public/robots.txt
の修正です。
デフォルトで生成されるrobots.txt
に記載されていたdisallow
の設定を削除しています。
-# -# To ban all spiders from the entire site uncomment the next two lines: -# User-agent: * -# Disallow: /
通常、全てのクローラーに対してのDisallowはやらないだろう、という事で削除されたようです。
Merge pull request #25678 from voxik/DRY-downloader
Active Supportのテストの修正です。
Multibyteのテストで、テスト実行時にUnicode ConsortiumからUCD(Unicode Character Database)をダウンロードするテストがあるのですが、ファイルのダウンロード処理が各テストクラス毎に定義されていたのを、MultibyteTestHelpers::Downloader
クラスに処理を切り出して、まとめてそちらを使用するよう修正しています。
Allow rake notes to work with other directories.
railties/lib/rails/source_annotation_extractor.rb
の修正です。
rake notesの対象となるディレクトリを登録する為のメソッド(SourceAnnotationExtractor::Annotation.register_directories
)を追加しています。 config経由から設定する場合は、config.annotations.register_directories("spec")
で設定出来るようになっています。
railties/test/application/rake/notes_test.rb
の修正です。
rake notesのテストかあら不要な空行を削除しています。
Point to the correct documentation [ci skip]
railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults.rb.tt
の修正です。
オプションの詳細についてはRails 5.0 release note
を見るようコメントが入っていたのですが、Rails 5.0 release note
ではなく、Guide for Upgrading Ruby on Rails
の方を参照するようコメントを修正しています。
Add header demarcation to Action Cable guide
rails guideのAction Cable Overview
の修正です。
ヘッダーにあるガイドについての説明のリストの最後に、空行を追加しています。改行が無いとフォーマットが正しく解釈されず、kindle版でガイドのタイトルが表示されない、という問題があった為との事です。
Fix test to try spec/
directory as opposed to app/spec
which I had
railties/test/application/rake/notes_test.rb
の修正です。
rake notesのテストで、テスト用に生成するファイルのパスに誤りがあったのを修正しています。