lib/rom.rb in rom-3.0.3 vs lib/rom.rb in rom-3.1.0
- old
+ new
@@ -28,16 +28,18 @@
require 'rom/create_container'
# register core plugins
require 'rom/plugins/configuration/configuration_dsl'
require 'rom/plugins/relation/registry_reader'
+require 'rom/plugins/relation/instrumentation'
require 'rom/plugins/command/schema'
module ROM
extend Global
plugins do
register :macros, ROM::ConfigurationPlugins::ConfigurationDSL, type: :configuration
register :registry_reader, ROM::Plugins::Relation::RegistryReader, type: :relation
+ register :instrumentation, ROM::Plugins::Relation::Instrumentation, type: :relation
register :schema, ROM::Plugins::Command::Schema, type: :command
end
end