2018/04/13分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Add WebSocket URI support to CSP DSL mappings
actionpack/lib/action_dispatch/http/content_security_policy.rb
の修正です。
Content-Security-Policyのscript-src
ディレクティブにWebSocketのURL(ws
及びwss
)を指定出来るよう修正しています。
Don't doc _original_sum_with_required_identity
activesupport/lib/active_support/core_ext/enumerable.rb
のdocの修正です。
内部用メソッドの_original_sum_with_required_identity
に:nodoc:
の指定を追加しています。
Merge pull request #32539 from chancancode/anticompress
activesupport/lib/active_support/cache.rb
の修正です。
ActiveSupport::Cache
でcompressionが有効になっている場合に、書き込まれる値が圧縮する前の元の値より大きくなってしまう(圧縮前、圧縮後両方の値を書き込んでいた)バグがあったのを修正しています。
activerecord/lib/active_record/database_configurations.rb
の修正です。
database.yml
にshared
セクションを使用していた場合に、shared
セクションの値が正しく使用されないバグがあったのを修正しています。
Use SecureRandom.random_bytes
instead of SecureRandom.bytes
activesupport/test/cache/behaviors/cache_store_behavior.rb
の修正です。
ランダムなバイナリ文字列を作成するのにSecureRandom.bytes
メソッドを使用していたのを、SecureRandom.random_bytes
を使用するよう修正しています。
SecureRandom.bytes
メソッドはRuby 2.3以下に存在しないメソッドで、このメソッドを使用している影響で5-2-stableのテストがこけていました。また、SecureRandom.bytes
はpublicなメソッドではないような為、ドキュメントにも記載されているSecureRandom.random_bytes
メソッドを使用するようにしています。
Add .keep exception for storage folder
railties/lib/rails/generators/rails/app/templates/gitignore.tt
の修正です。
デフォルトで生成されるgitignoreファイルに!/storage/.keep
の指定が漏れていたのを修正しています。
この指定が無いとstorage
フォルダ自体がバージョン管理に追加されない為、指定を追加しています。
fix spelling in docs for ActiveJob::Serializers::ObjectSerializer#deserialize
activejob/lib/active_job/serializers/object_serializer.rb
のdocの修正です。
ActiveJob::Serializers::ObjectSerializer#deserialize
メソッドのdocのグラマーの修正を行なっています。
Update security.md with latest underground market prices
rails guideのSecuring Rails Applications
の修正です。
Session Hijacking
の項、Symantec ISTRの報告内容を紹介している箇所を、最新の内容に更新しています。
actionview/Rakefile
のdocの修正です。
taskのコメントに記載されているRailsのコンポーネント名を、正式名称(ActiveRecord
-> Active Record
、ActionPack
-> Action Pack
)に修正しています。