2015/10/23分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
config.generators
should be docummented since it is public API
railties/lib/rails/engine/configuration.rb
のdocの修正です。
config.generators
メソッドから、:nodoc:
の指定を削除しています。
config.generators
はpublic API(ユーザが通常使用するメソッド)の為、API docに表示されるよう、:nodoc:
を削除したようです。
rails guideのRuby on Rails 4.2 Release Notes
の修正です。
Active Job
の項の説明部分から、不要と思われるカンマを削除しています。
-[Sidekiq](https://github.com/mperham/sidekiq), and more. +[Sidekiq](https://github.com/mperham/sidekiq) and more.
が、元のカンマ書き方(Oxford comma)が今のRailsのdocのguideline的には正しい為、すぐrevertされています。
Revert "[ci skip] removed extra comma"
というわけで、[ci skip] removed extra comma をrevertしています。
API guidelines reword re the Oxford comma [ci skip]
rails guideのAPI Documentation Guidelines
の修正です。
Comma
の項のタイトルを、Oxford Comma
に修正しています。
[ci skip] Add more code examples for Module#anonymous?
docs
activesupport/lib/active_support/core_ext/module/anonymous.rb
のdocの修正です。
Module#anonymous?
メソッドのdocにexampleを追加しています。
Remove no need binds.empty?
checking
activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
の修正です。
exec_stmt
メソッド内で行っていたbinds
引数がemptyかどうかのチェック処理を削除しています。
exec_stmt
メソッドはprivate methodで、exec_query
メソッドからしか呼び出されておらず、そこでbinds
は必ず設定されるため、との事です。
remove unnecessary readme in dummy application
railties/lib/rails/generators/rails/plugin/plugin_generator.rb
の修正です。
plugin generatorがdummy applicationを作成する、不要なREADMEを削除するよう修正しています。
FIX: Randomly failing test when running without GIL.
actionpack/test/controller/live_stream_test.rb
の修正です。
GILのないJRubyなどでlive streamingのテストがコケてしまう事があったのを修正しています。
def test_exception_callback_when_committed + current_threads = Thread.list + capture_log_output do |output| get :exception_with_callback, format: 'text/event-stream' + + # Wait on the execution of all threads + (Thread.list - current_threads).each(&:join)
スレッドの終了待ちが足りてなかったようですねえ。
Catch invalid UTF-8 querystring values and respond with BadRequest
actionpack/lib/action_dispatch/http/request.rb
、
actionpack/lib/action_dispatch/request/utils.rb
の修正です。
クエリ文字列に不正なUTF8データが無いかチェック、及び、不正な値があった場合ActionController::BadRequest
をraiseするよう修正しています。