2018/06/09分のコミットです。
CHANGELOGへの追加はありませんでした。
Inherit all actioncable's test classes from ActionCable::TestCase
Action Cableのテストの修正です。
各テストクラスの親クラスにActiveSupport::TestCase
を指定している箇所テストがあったのを、ActionCable::TestCase
を使用するよう統一しています。
Include ActiveSupport::Testing::MethodCallAssertions
to ActionCable::TestCase
Action Cableのテストの修正です。
テストクラス毎にActiveSupport::Testing::MethodCallAssertions
をincludeしていたのを、ActionCable::TestCase
でincludeするよう修正しています。
Remove extra include ActiveSupport::Testing::MethodCallAssertions
activesupport/test/testing/method_call_assertions_test.rb
の修正です。
ActiveSupport::Testing::MethodCallAssertions
のincludeを削除しています。
テスト実行前にActiveSupport::TestCase
にActiveSupport::Testing::MethodCallAssertions
をinclude済みの為。
Include ActiveSupport::Testing::MethodCallAssertions
in railties/test/isolation/abstract_unit.rb
railtiesのテストの修正です。
ActiveSupport::TestCase
でActiveSupport::Testing::MethodCallAssertions
をincludeするよう修正しています。
Merge pull request #27577 from maclover7/jm-fix-27547
actioncable/lib/action_cable/subscription_adapter/postgresql.rb
の修正です。
Action CableでadapterにPostgreSQL adapterを使用している場合に、Active Recordで管理しているDBのconnectionをそのまま使いまわしていたのを、connectionを取得した際そのconnectionをAction Recordの管理から外し、Action Cable側で管理するよう修正しています。
Active Recordで管理しているconnectionをそのまま利用していると、Active Record側でconnectionを破棄した際に、Aciton Cable側のconnectionも予期せず破棄されてしまう為。
Merge pull request #33087 from bogdanvlviv/document-CompareWithRange
activesupport/lib/active_support/core_ext/range/compare_range.rb
のdocの修正です。
CompareWithRange
moduleで定義されているメソッド(===
、include?
、cover?
)がAPI docに表示されるよう:nodoc:
を削除しています。これらのメソッドは既にguideに記載されており、publicメソッドな為。
.travis.yml
の修正です。
rails-ujsのテストで使用するNode.jsのバージョンを10.3.0に固定しています。10.4.0だと何故かエラーになってしまう為。
Merge pull request #33078 from bogdanvlviv/add-remove-require
Active Supportの修正です。
不要なrequireの削除、及び、不足していたrequireの追加を行っています。