Sha256: 5a2dbf51f6d1ffdfee0c434989aef0e19e91a74eaa853299bc9fca80a50de0d5

Contents?: true

Size: 792 Bytes

Versions: 5

Compression:

Stored size: 792 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")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wasmify-rails-0.1.5 lib/wasmify-rails.rb
wasmify-rails-0.1.4 lib/wasmify-rails.rb
wasmify-rails-0.1.3 lib/wasmify-rails.rb
wasmify-rails-0.1.2 lib/wasmify-rails.rb
wasmify-rails-0.1.1 lib/wasmify-rails.rb