rom-rb / rom

Data mapping and persistence toolkit for Ruby
https://rom-rb.org
MIT License
2.08k stars 161 forks source link

Turn Plugins module into global plugins container #660

Closed solnic closed 2 years ago

solnic commented 2 years ago

To make things consistent and simpler, this renames ROM.plugins_registry to ROM.plugins which is just a shortcut for for accessing ROM::Plugins and it also exposes plugin configuration/registration DSL. It's consistent with ROM.components now and we no longer need an additional "registry" class (so, less code).