<commit_before>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/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/configuration/configuration_dsl'
require 'rom/plugins/relation/registry_reader'
require 'rom/plugins/relation/instrumentation'
require 'rom/plugins/command/schema'
require 'rom/plugins/schema/timestamps'

module ROM
  extend Global

  plugins do
    register :mappers, ROM::Mapper::ConfigurationPlugin, type: :configuration
    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<commit_msg>Register schema :timestamp plugin automatically<commit_after>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/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/configuration/configuration_dsl'
require 'rom/plugins/relation/registry_reader'
require 'rom/plugins/relation/instrumentation'
require 'rom/plugins/command/schema'
require 'rom/plugins/schema/timestamps'

module ROM
  extend Global

  plugins do
    register :mappers, ROM::Mapper::ConfigurationPlugin, type: :configuration
    register :macros, ROM::ConfigurationPlugins::ConfigurationDSL, 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
  end
end
{'fraction_non_alphanumeric': 0.10714285714285714, 'fraction_numerical': 0.0, 'mean_word_length': 6.7620481927710845, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6497939', 'n_tokens_mistral': 744, 'n_tokens_neox': 726, 'n_words': 182}