rails/activerecord/test/cases/connection_adapters
John Crepezzi 8d5a4ff6a7 Remove ConnectionAdapters::Resolver in favor of DatabaseConfigurations
We have these two objects, `ConnectionAdapters::Resolver` and
`DatabaseConfiguratons` that implement a lot of the same logic. One of
them is used for configurations defined in `config/database.yml` and the
other is used when passing raw configurations `String` or `Hash` objects
into methods like `establish_connection`.

Over time these two have diverged a bit. In the interest of less code
complexity, and more consistency for users this commit brings them back
together.

* Remove `Resolver` altogether and replace its primary method with
  `DatabaseConfigurations#resolve`.

* Move `resolve_pool_config` over to the `ConnectionPool` alongside the code
  that uses it.
2019-11-12 22:30:31 -08:00
..
adapter_leasing_test.rb Rename the classes 2019-11-06 19:08:47 -05:00
connection_handler_test.rb Remove ConnectionAdapters::Resolver in favor of DatabaseConfigurations 2019-11-12 22:30:31 -08:00
connection_handlers_multi_db_test.rb Return db_config from resolve_config_for_connection 2019-10-21 08:31:48 -05:00
connection_handlers_multi_pool_config_test.rb Rename the classes 2019-11-06 19:08:47 -05:00
merge_and_resolve_default_url_config_test.rb Remove ConnectionAdapters::Resolver in favor of DatabaseConfigurations 2019-11-12 22:30:31 -08:00
mysql_type_lookup_test.rb MySQL: Fix schema dumping enum and set columns correctly 2019-07-05 18:42:41 +09:00
schema_cache_test.rb Cache full MySQL version in schema cache 2019-04-11 12:57:19 -04:00
type_lookup_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00