2015/10/04分のコミットです。
CHANGELOGへの追加はありませんでした。
Update text on CSS Injection / Myspace
rails guideのRuby on Rails Security Guide
の修正です。
CSS Injection
の項の言い回し、グラマーの修正を行っています。
Wrong usage of 'a' in docs fixed [ci skip]
各docの修正です。
グラマーの修正(a
-> an
に修正)をまとめて行っています。
Revert "removing Rack::Runtime from the default stack."
先日対応された、デフォルトのmiddleware stackからRack::Runtime
を削除したコミットをrevertしています。
多くのengineで、default stackにRack::Runtime
がある事を前提としており、影響が多いためrevertしたとの事です。
Gemfile.lock
の修正です。
Gemfileから、不要なconcurrent-ruby
の指定を削除しています。実際concurrent-rubyを使用しているActive Supportのgemspecの方に指定があり、Gemfileでの指定は不要な為削除したようです。
ちなみにコミット対象がGemfile.lockだけになっており、コミットが漏れてしまったGemfileについては直後に別のコミットで対応されています。
Missed Gemfile change in f849cfe36c585fbc58c4a5fd91b0ae1571d38bcb
Gemfile
の修正です。
先の対応でコミットが漏れていたので対応しています。
Introduce Headers#add
. Move Response#add_header
upstream.
Action Packの修正です。
headerに値を追加する為の、ActionDispatch::Http::Headers#add
メソッドを追加、Response#add_header
メソッドをrack側に移動(Response#add_header
to add to a value to a multivalued header by jeremy · Pull Request #957 · rack/rack)、Response#have_header?
メソッドをResponse#has_header?
に名前を変更、をまとめて行っています。
Merge pull request #21848 from yui-knk/test_suppress_warnings
actionpack/test/dispatch/response_test.rb
の修正です。
charsetのテストから、使用していない変数を削除しています。
Use Time#current instead of Time#now to prevent zone issue inorder to use application's time zone
activesupport/lib/active_support/core_ext/time/calculations.rb
の修正です。
Time.days_in_month
メソッドのyear
引数のデフォルト値をnow.year
からcurrent.year
に修正しています。
Time#now
だとアプリケーションのTimeZoneが考慮されないので、TimeZoneが考慮されるTime#current
を使用するよう修正したとの事です。
Fix Time.now format in documentation
activesupport/lib/active_support/core_ext/time/conversions.rb
のdocの修正です。
Time#to_formatted_s
メソッドのdoc内のTime.now
の実行結果が、実際の結果と異なっていたのを修正しています。