Sha256: 2f80bf3d9b4c736ffb5abc10ba3822d5a183705cc08b604f7fe6b142fd5bc392

Contents?: true

Size: 656 Bytes

Versions: 6

Compression:

Stored size: 656 Bytes

Contents

require "console1984"
require 'rinku'

module Audits1984
  class Engine < ::Rails::Engine
    isolate_namespace Audits1984

    config.audits1984 = ActiveSupport::OrderedOptions.new

    initializer "audits1984.config" do
      config.audits1984.each do |key, value|
        Audits1984.send("#{key}=", value)
      end
    end

    initializer "audits1984.session" do
      ActiveSupport.on_load(:console_1984_session) do
        include Audits1984::Session::Auditable, Audits1984::Session::Iterable
      end
    end

    initializer "audits1984.assets.precompile" do |app|
      app.config.assets.precompile << "audits1984_manifest.js"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
audits1984-0.1.7 lib/audits1984/engine.rb
audits1984-0.1.6 lib/audits1984/engine.rb
audits1984-0.1.5 lib/audits1984/engine.rb
audits1984-0.1.4 lib/audits1984/engine.rb
audits1984-0.1.3 lib/audits1984/engine.rb
audits1984-0.1.2 lib/audits1984/engine.rb