Sha256: 13d3805c274d981f7383a68b361431cf5b50d53759e716fb6c310064ca09e1ef

Contents?: true

Size: 753 Bytes

Versions: 1

Compression:

Stored size: 753 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

# 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")

Version data entries

1 entries across 1 versions & 1 rubygems

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