2015/11/12分のコミットです。
CHANGELOGへの追加はありませんでした。
Show middleware classes on /rails/info/properties
actionpack/lib/action_dispatch/middleware/stack.rb
の修正です。
/rails/info/properties
及びrake middleware
でmiddlewareを表示する際、一部インスタンスのデータが表示されてしまっていたのを、クラス名が表示されるよう統一しています。
# before use Rack::Sendfile use ActionDispatch::Static use ActionDispatch::LoadInterlock use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x007f292d79d828> use Rack::Runtime use Rack::MethodOverride use ActionDispatch::RequestId use Rails::Rack::Logger use ActionDispatch::ShowExceptions use WebConsole::Middleware use ActionDispatch::DebugExceptions use ActionDispatch::RemoteIp use ActionDispatch::Reloader use ActionDispatch::Callbacks use ActiveRecord::Migration::CheckPending use ActiveRecord::ConnectionAdapters::ConnectionManagement use ActiveRecord::QueryCache use ActionDispatch::Cookies use ActionDispatch::Session::CookieStore use ActionDispatch::Flash use Rack::Head use Rack::ConditionalGet use Rack::ETag use ActionView::Digestor::PerRequestDigestCacheExpiry run Master::Application.routes # after use Rack::Sendfile use ActionDispatch::Static use ActionDispatch::LoadInterlock use ActiveSupport::Cache::Strategy::LocalCache::Middleware use Rack::Runtime use Rack::MethodOverride use ActionDispatch::RequestId use Rails::Rack::Logger use ActionDispatch::ShowExceptions use WebConsole::Middleware use ActionDispatch::DebugExceptions use ActionDispatch::RemoteIp use ActionDispatch::Reloader use ActionDispatch::Callbacks use ActiveRecord::Migration::CheckPending use ActiveRecord::ConnectionAdapters::ConnectionManagement use ActiveRecord::QueryCache use ActionDispatch::Cookies use ActionDispatch::Session::CookieStore use ActionDispatch::Flash use Rack::Head use Rack::ConditionalGet use Rack::ETag use ActionView::Digestor::PerRequestDigestCacheExpiry run Master::Application.routes
ActiveSupport::Cache::Strategy::LocalCache::Middleware
がそうですね。
let filter_out_descendants do less passes
activesupport/lib/active_support/file_evented_update_checker.rb
の修正です。
ActiveSupport::FileEventedUpdateChecker::PathHelper#filter_out_descendants
メソッドで、子ディレクトリを除外するのに、ディレクトリをチェック後にselect
+ concat
していたのを、ループ内で結果を追加、及びreject!
を使用しループを減らせるよう改善しています。
Use the file watcher defined by the app config
activesupport/lib/active_support/i18n_railtie.rb
の修正です。
initialize_i18n
メソッドで、reloaderをActiveSupport::FileUpdateChecker
に固定していたのを、config.file_watcher
に指定された値を使用するよう修正しています。
base (refined) Pathname#ascendant_of? also on Pathname#ascend
activesupport/lib/active_support/file_evented_update_checker.rb
の修正です。
Pathname#ascendant_of?
メソッドを、Pathname#ascend
メソッドを使用してチェックを行うよう、再度修正しています。
Fix instance variable not defined warning from Active Support test suite
activesupport/test/file_update_checker_shared_tests.rb
の修正です。
ファイル更新処理についてのテストでの後処理で、@tmpdir
を削除する際に、@tmpdir
変数が定義されているかどうかチェックするよう修正しています。
warning: instance variable @tmpdir not initialized
が出てしまっていたので、その対応の為との事です。