Sha256: eb42eae86b80f4c4f860bea384f20dd3eceb3477a063e6ec7e7dfee49de41d4e
Contents?: true
Size: 631 Bytes
Versions: 15
Compression:
Stored size: 631 Bytes
Contents
# frozen_string_literal: true require "rails/engine" module Litestream class Engine < ::Rails::Engine isolate_namespace Litestream config.litestream = ActiveSupport::OrderedOptions.new # Load the `litestream:install` generator into the host Rails app generators do require_relative "generators/litestream/install_generator" end initializer "litestream.config" do config.litestream.each do |name, value| Litestream.public_send(:"#{name}=", value) end end initializer "deprecator" do |app| app.deprecators[:litestream] = Litestream.deprecator end end end
Version data entries
15 entries across 15 versions & 1 rubygems