2016/05/10分のコミットです。
CHANGELOGへの追加はありませんでした。
use Rack::Utils.valid_path? to check path
actionpack/lib/action_dispatch/middleware/static.rbの修正です。
pathのチェック処理にRack::Utils.valid_path?メソッドを使用するよう修正しています。
No need to call remove_template.
actionview/test/template/digestor_test.rbの修正です。
test_explicit_dependency_wildcard_picks_up_added_fileの後処理でtemplateファイルを削除していたのを、削除しないよう修正しています。templateファイルはtmpディレクトリに作成しており、テスト全体の後処理でtmpディレクトリ毎削除している為。
Extract resolver cache disabling to a method.
actionview/test/template/digestor_test.rbの修正です。
各テスト内で個別に行っていたActionView::Resolver.cachingの無効化処理を、メソッドに切り出しています。
Add :ssl/:tls to ActionMailer [ci skip]
actionmailer/lib/action_mailer/base.rbのdocの修正です。
ActionMailer::Baseクラスのdoc内のsmtp_settingsオプションについて説明している箇所に、:ssl/:tlsオプションについての説明を追加しています。
Improve AV changelog with regards to default RAW handler
actionview/CHANGELOG.mdの修正です。
default template handlerがERBからRawに変更になった対応(Change the default template handler from ERB to Raw. · rails/rails@4be859f)についてのentryに、plain JS / HTMLをrenderする場合のexampleを追加しています。
Grammar corrections to Getting Started Guide [ci skip]
rails guideのGetting Started with Railsの修正です。
グラマーの修正をまとめて行っています。
Update rails-dom-testing gem to 2.0
各コンポーネントのgemspecの修正です。
2.0系のrails-dom-testingを使用するよう修正しています。
Fix Gemfile.lock by updating rails-dom-testing
Gemfile.lockの修正です。
先のgemspecの対応の際にGemfile.lockの修正が漏れていたので、追加で対応しています。
Start Rails 5.1 development :tada:
railsのバージョンを5.0.0.rc1から5.1.0.alphaに修正しています。合わせて、CHANGELOGの中身を空にする修正等を行っています。
Add migration compatibility class for Rails 5.1
activerecord/lib/active_record/migration/compatibility.rbの修正です。
Currentの値をV5_0からV5_1に変更しています。
activesupport/lib/active_support/deprecation.rb、
activesupport/test/deprecation_test.rbの修正です。
deprecation horizonの値を5.1から5.2に修正しています。
bug report templatesで使用するRailsのgemのバージョンを4.2.0から5.0.0.rc1に修正しています。
Use sass-rails and coffee-rails that work with Rails 5.1
railties/lib/rails/generators/app_base.rbの修正です。
masterブランチのsass-rails / rails/coffee-rails gemを使用するよう修正しています。
Replacement cycle for readability
activerecord/lib/active_record/associations/association_scope.rbの修正です。
loop doを使用していたのをwhileを使用するよう修正しています。そちらの方が読みやすいだろう、という事の為。
Should quote lock_name to pass to get_advisory_lock
activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rbの修正です。
get_advisory_lock、release_advisory_lockメソッドで、lock_nameをquoteするよう修正しています。 'のような文字をlock_nameに使用していた場合、quoteを行わないと正しく処理が行われない為。