Sha256: abf4045bb68c354afa51168693340de384ef0418974d090b692f63b92e1096b4

Contents?: true

Size: 633 Bytes

Versions: 12

Compression:

Stored size: 633 Bytes

Contents

# frozen_string_literal: true

require 'dry/core/extensions'

module ROM
  module SQL
    extend Dry::Core::Extensions

    register_extension(:postgres) do
      require 'rom/sql/extensions/postgres'
    end

    register_extension(:mysql) do
      require 'rom/sql/extensions/mysql'
    end

    register_extension(:sqlite) do
      require 'rom/sql/extensions/sqlite'
    end

    register_extension(:active_support_notifications) do
      require 'rom/sql/extensions/active_support_notifications'
    end

    register_extension(:rails_log_subscriber) do
      require 'rom/sql/extensions/rails_log_subscriber'
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rom-sql-3.6.4 lib/rom/sql/extensions.rb
rom-sql-3.6.3 lib/rom/sql/extensions.rb
rom-sql-3.6.2 lib/rom/sql/extensions.rb
rom-sql-3.6.1 lib/rom/sql/extensions.rb
rom-sql-3.6.0 lib/rom/sql/extensions.rb
rom-sql-3.5.0 lib/rom/sql/extensions.rb
rom-sql-3.4.0 lib/rom/sql/extensions.rb
rom-sql-3.3.3 lib/rom/sql/extensions.rb
rom-sql-3.3.2 lib/rom/sql/extensions.rb
rom-sql-3.3.1 lib/rom/sql/extensions.rb
rom-sql-3.3.0 lib/rom/sql/extensions.rb
rom-sql-3.2.0 lib/rom/sql/extensions.rb