Sha256: 807ca506dcc8825ac2cf3274ca7687534ae8ad26f3275d1a41b4b0f39a44e5e9

Contents?: true

Size: 635 Bytes

Versions: 17

Compression:

Stored size: 635 Bytes

Contents

module Bootstrap
  module Rails
    class Engine < ::Rails::Engine
      initializer 'bootstrap-sass.assets.precompile' do |app|
        %w(stylesheets javascripts fonts images).each do |sub|
          app.config.assets.paths << root.join('assets', sub).to_s
        end

        # sprockets-rails 3 tracks down the calls to `font_path` and `image_path`
        # and automatically precompiles the referenced assets.
        unless Sprockets::Rails::VERSION.split('.', 2)[0].to_i >= 3
          app.config.assets.precompile << %r(bootstrap/glyphicons-halflings-regular\.(?:eot|svg|ttf|woff2?)$)
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
entreprise7pro-bootstrap-sass-3.4.7 lib/entreprise7pro-bootstrap-sass/engine.rb
entreprise7pro-bootstrap-sass-3.4.6 lib/entreprise7pro-bootstrap-sass/engine.rb
entreprise7pro-bootstrap-sass-3.4.4 lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/bootstrap-sass-3.4.1/lib/bootstrap-sass/engine.rb
bootstrap-sass-3.4.1 lib/bootstrap-sass/engine.rb
bootstrap-sass-3.4.0 lib/bootstrap-sass/engine.rb
bootstrap-sass-3.3.7 lib/bootstrap-sass/engine.rb
bootstrap-sass-3.3.6 lib/bootstrap-sass/engine.rb