2015/06/06分のコミットです。
CHANGELOGへの追加はありませんでした。
Add the bug report templates to the Travis CI build
Travisの設定を変更し、バグ報告用テンプレートファイルをTravis CI buildで実行するよう対応しています。 バグ報告用テンプレートファイルは、元々、それ単体で動作するような書き方になていたので、単純にruby
コマンドでファイルを実行する形で対応しています。
Merge pull request #20442 from arunagw/aa-remove-warning-eager-load
railties/test/application/multiple_applications_test.rb
の修正です。
initializersが実行される事を確認するテストで、AppTemplate::Application.new
メソッドでconfig
の設定処理行っていたのですが、現在、AppTemplate::Application.new
メソッドはhooksのロード処理が実行されないので、代わりにAppTemplate::Application.create
メソッドを使用するよう修正しています。
Merge pull request #20444 from y-yagi/can_use_path_helper_method_in_console
railties/lib/rails/console/app.rb
の修正です。
rails console
のapp
インスタンスがpath helperメソッドを呼び出せるよう、ActionDispatch::Integration::Session
クラスのインスタンス作成後、インスタンスにapp.routes.url_helpers
、app.routes.mounted_helpers
をextendしています。
Skip url_helpers instead of caching, speed up integration tests · rails/rails@0acd4a5 の対応でActionDispatch::Integration::Session
クラスからroutesの情報が削除されてしまい、app.root_path
の用な形でhelperメソッドが呼び出せなくなっていたのですが、ちょっと不便だったので、呼び出せるよう対応しています。
Merge pull request #20423 from Erol/remove-assets-version-documentation
rails guideのConfiguring Rails Applications
の修正です。
既に存在していないconfig.assets.version
についての説明を削除しています。
Output an error message and raise an error if bundler 1.10.x is not installed when reporting bugs
バグ報告用テンプレートファイルの修正です。
バグ報告用テンプレートファイルではinline Gemfileを使用するようになった為、使用するにはBundler 1.10以上が必要になっています。ただ、その点についてどこにも説明がされてなかったので、bundler/inline
のrequire
に失敗した場合、Bundler 1.10 以上が必要な旨適切なエラーメッセージを表示するよう対応しています。