Sha256: 4fa5809a04d2aa6cfbcd8de146ff30eef47b341e124efe8a53b3a9f32a5b0668

Contents?: true

Size: 770 Bytes

Versions: 10

Compression:

Stored size: 770 Bytes

Contents

# frozen_string_literal: true

require 'haml'

module RailsExecution
  class Engine < ::Rails::Engine

    isolate_namespace ::RailsExecution

    initializer 'execution' do |app|
      if defined?(Sprockets)
        app.config.assets.precompile << 'executions/base.js'
        app.config.assets.precompile << 'executions/base.css'
        app.config.assets.precompile << 'executions/logo.png'
        app.config.assets.precompile << 'executions/robot.png'
        app.config.assets.precompile << 'executions/favicon.png'
        app.config.assets.precompile << 'executions/rejected.png'
        app.config.assets.precompile << 'executions/approved.png'
        app.config.assets.precompile << 'executions/bootstrap-icons.woff' # Icons font
      end
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_execution-0.1.12 lib/rails_execution/engine.rb
rails_execution-0.1.11 lib/rails_execution/engine.rb
rails_execution-0.1.10 lib/rails_execution/engine.rb
rails_execution-0.1.9 lib/rails_execution/engine.rb
rails_execution-0.1.8 lib/rails_execution/engine.rb
rails_execution-0.1.7 lib/rails_execution/engine.rb
rails_execution-0.1.5 lib/rails_execution/engine.rb
rails_execution-0.1.4 lib/rails_execution/engine.rb
rails_execution-0.1.2 lib/rails_execution/engine.rb
rails_execution-0.1.1 lib/rails_execution/engine.rb