2017/09/30分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #30735 from tjschuck/fix_doc_code_formatting
actionpack/lib/action_dispatch/middleware/ssl.rb
のdocの修正です。
ActionDispatch::SSL
クラスのdocのフォーマットを修正しています。
Fix "warning: `*' interpreted as argument prefix"
activestorage/lib/active_storage/previewer.rb
の修正です。
ActiveStorage::Previewer#draw
メソッドでRubyのwarning("warning: `*' interpreted as argument prefix")が出ていたので、中括弧を追加し対応しています。
Fix test "signed URL generation"
failure
activestorage/test/service/azure_storage_service_test.rb
の修正です。
signed URLを生成するテストがCIでエラーになっていたのを修正しています。
Preview PDFs and videos でURLの生成処理に変更が入っており、その影響のようです。
Fix "warning: method redefined; discarding old test_scaffold_plural_names"
railties/test/generators/named_base_test.rb
の修正です。
NamedBase
のテストでRubyのwarning("warning: method redefined; discarding old test_scaffold_plural_names")が出ていたので、重複していたテスト名を変更しています。
Don't use Active Support where it is not needed.
actionpack/lib/action_dispatch/middleware/ssl.rb
の修正です。
ActionDispatch::SSL
クラスでdays
メソッドを使用していたのを、使用しないよう修正しています。
active_support/time
はデフォルトではrequireされないので、ここでdays
メソッドを使用するとAction Packを単体で使用するような場合にエラーになってしまう為。
Remove unused methods from RenderPartialWithRecordIdentificationController
actionview/test/activerecord/render_partial_with_record_identification_test.rb
の修正です。
使用していないrender_with_has_many_through_association
、render_with_belongs_to_association
メソッドを削除しています。
Testing to ensure both bang and non-bang methods behaves consistently
activesupport/test/hash_with_indifferent_access_test.rb
の修正です。
HashWithIndifferentAccess#transform_values
メソッドと#transform_keys
メソッドがそれぞれbang付きメソッド(#transform_values!
、#transform_keys!
)と同じ挙動をする事を確認するテストを追加しています。
Remove :api:
tag that has leaked on the doc directly [ci skip]
各docから:api:
タグを削除しています。
メソッドをAPI docに表示するかどうかの管理の為に設定したいたようなのですが、RDocでは:api:
タグは動作しない為、:api:
タグは削除し:nodoc:
を使用するよう修正しています。 因みに:api:
タグはYARDだと使用出来るようです。
Ensure AliasTracker
respects a custom table name
activerecord/lib/active_record/associations/association_scope.rb
、
activerecord/lib/active_record/associations/join_dependency.rb
の修正です。
custom table nameを使用している場合にもtable aliasesを追跡出来るよう対応しています。