2018/02/21分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #32026 from bogdanvlviv/improve-30941
Active Jobの修正です。
ActiveSupport::TimeWithZone
用のserializerを追加、及び、serializerのdocのグラマー、フォーマットの修正等を行っています。
activestorage/app/models/active_storage/identification.rb
の修正です。
ActiveStorage::Identification#identifiable_chunk
メソッドでRangeヘッダーの指定方法に誤りがあったのを修正しています。
Undocument ActiveStorage::Identification
activestorage/app/models/active_storage/identification.rb
のdocの修正です。
ActiveStorage::Identification
クラスに:nodoc:
を指定しています。
activestorage/app/models/active_storage/blob/identifiable.rb
、
activestorage/app/models/active_storage/identification.rb
の修正です。
ActiveStorage::Blob::Identifiable
moduleのidentify
メソッドで実際の更新処理をActiveStorage::Identification
クラスに委譲していたのを、identify
メソッドの中で実際の更新処理を行うようにしています。
その方がわかりやすいから、とのこと。
CI with jruby-head
compatible with Ruby 2.4.1
.travis.yml
の修正です、
CIで使用するJRubyのバージョンを9.1.15.0
からhead
に変更しています。
今のmasterはRuby 2.4.1以上のみをサポートするようになったのですが、リリースされているJRubyはMRI 2.3系対応のみで、2.4系対応のバージョンはまだリリースされていない為、head
を参照するようにしています。
Allow S3 tests against buckets in other regions
activestorage/test/controllers/direct_uploads_controller_test.rb
、
activestorage/test/service/s3_service_test.rb
の修正です。
Active StorageのS3にアップロードする場合のテストで、テスト内のbucketsのチェックがus-east-1
のみを想定したチェックになっていたのを、他のregionの場合でもテストが通るようbucketsのチェックを修正しています。
Add note to Active Storage guide about S3 permissions [ci skip]
rails guideのActive Storage Overview
の修正です。
Amazon S3 Service
の項に必要なS3のpermissionsについての説明を追加しています。
Gemfile.lock
の修正です。
sinatra(Active Jobのテストで使用している)のバージョンを更新しています。security vulnerabilityがあった為。