Sha256: c81cd5ff9c23719e5ec04b66dcfbcc782bb30da4ad685fefecc0080a990524d4

Contents?: true

Size: 965 Bytes

Versions: 1

Compression:

Stored size: 965 Bytes

Contents

# frozen_string_literal: true

require "wasmify/rails/version"
require "wasmify/rails/configuration"
require "wasmify/rails/shim"
require "wasmify/rails/railtie"

module Wasmify
  module Rails
    class << self
      def config = @config ||= Configuration.new
    end
  end
end

# Autoloadable extensions
module ImageProcessing
  autoload :Null, "image_processing/null"
end

require "action_mailer/null_delivery"

# NullDB for Active Record
ActiveRecord::ConnectionAdapters.register("nulldb", "ActiveRecord::ConnectionAdapters::NullDBAdapter", "active_record/connection_adapters/nulldb_adapter")

# SQLite3 Wasm adapter
ActiveRecord::ConnectionAdapters.register("sqlite3_wasm", "ActiveRecord::ConnectionAdapters::SQLite3WasmAdapter", "active_record/connection_adapters/sqlite3_wasm_adapter")

# PGlite adapter
ActiveRecord::ConnectionAdapters.register("pglite", "ActiveRecord::ConnectionAdapters::PGliteAdapter", "active_record/connection_adapters/pglite_adapter")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wasmify-rails-0.2.0 lib/wasmify-rails.rb