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を行わないと正しく処理が行われない為。