Sha256: 76c25128a98f949f3ddc452907e9330f8c7620683bdfc96f14d24f9e24209562
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 KB
Contents
# frozen_string_literal: true require 'dry/equalizer' require 'dry/core/constants' require 'rom/version' require 'rom/constants' # core parts require 'rom/configuration_plugin' require 'rom/plugin' require 'rom/schema_plugin' require 'rom/relation' require 'rom/mapper' require 'rom/processor/transproc' require 'rom/mapper/configuration_plugin' require 'rom/commands' # rom Global require 'rom/global' # rom configurations require 'rom/configuration' # container with registries require 'rom/container' # container factory require 'rom/create_container' # register core plugins require 'rom/plugins/relation/registry_reader' require 'rom/plugins/relation/instrumentation' require 'rom/plugins/command/schema' require 'rom/plugins/command/timestamps' require 'rom/plugins/schema/timestamps' module ROM extend Global plugins do register :mappers, ROM::Mapper::ConfigurationPlugin, type: :configuration register :timestamps, ROM::Plugins::Schema::Timestamps, type: :schema 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 register :timestamps, ROM::Plugins::Command::Timestamps, type: :command end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rom-core-5.0.2 | lib/rom/core.rb |
rom-core-5.0.1 | lib/rom/core.rb |
rom-core-5.0.0 | lib/rom/core.rb |