Sha256: 6a6dedaa21cb06954ffd83d498f67d1e769d2ff1186b777036cfd302879f12be

Contents?: true

Size: 602 Bytes

Versions: 33

Compression:

Stored size: 602 Bytes

Contents

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

33 entries across 33 versions & 1 rubygems

Version Path
rom-sql-3.1.0 lib/rom/sql/extensions.rb
rom-sql-3.0.1 lib/rom/sql/extensions.rb
rom-sql-3.0.0 lib/rom/sql/extensions.rb
rom-sql-2.5.0 lib/rom/sql/extensions.rb
rom-sql-2.4.0 lib/rom/sql/extensions.rb
rom-sql-2.3.0 lib/rom/sql/extensions.rb
rom-sql-2.2.1 lib/rom/sql/extensions.rb
rom-sql-2.2.0 lib/rom/sql/extensions.rb
rom-sql-2.1.0 lib/rom/sql/extensions.rb
rom-sql-2.0.0 lib/rom/sql/extensions.rb
rom-sql-1.3.5 lib/rom/sql/extensions.rb
rom-sql-2.0.0.rc1 lib/rom/sql/extensions.rb
rom-sql-1.3.4 lib/rom/sql/extensions.rb
rom-sql-2.0.0.beta3 lib/rom/sql/extensions.rb
rom-sql-2.0.0.beta2 lib/rom/sql/extensions.rb
rom-sql-2.0.0.beta1 lib/rom/sql/extensions.rb
rom-sql-1.3.3 lib/rom/sql/extensions.rb
rom-sql-1.3.2 lib/rom/sql/extensions.rb
rom-sql-1.3.1 lib/rom/sql/extensions.rb
rom-sql-1.3.0 lib/rom/sql/extensions.rb