Sha256: b72717441f9a605afd1ff482bcd724d1bf459bc9dcca1368df38ab85d71a88f0

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module Wasmify
  module Rails
    class Railtie < ::Rails::Railtie
      rake_tasks do
        load "wasmify/rails/tasks.rake"
      end

      initializer "wasmify.rack_data_uri" do |app|
        require "rack/data_uri_uploads"

        app.middleware.use Rack::DataUriUploads
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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