Sha256: c45ab03a9f8bca44a314f3187872dcd26809d83fe425fc7339ad07c7882b958d

Contents?: true

Size: 527 Bytes

Versions: 6

Compression:

Stored size: 527 Bytes

Contents

require_relative 'version'

case Bootstrap::Honoka::Rails.major_ver
when 4 then require 'bootstrap'
when 3 then require 'bootstrap-sass'
end

module Bootstrap
  module Honoka
    module Rails
      class Engine < ::Rails::Engine
        isolate_namespace Bootstrap::Honoka::Rails

        # initializer
        initializer 'bootstrap-honoka-rails.assets' do |app|
          %w[stylesheets].each do |sub|
            app.config.assets.paths << root.join('assets', sub).to_s
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bootstrap-honoka-rails-3.3.7.2 lib/bootstrap/honoka/rails/engine.rb
bootstrap-honoka-rails-4.0.0.2 lib/bootstrap/honoka/rails/engine.rb
bootstrap-honoka-rails-4.3.1.2 lib/bootstrap/honoka/rails/engine.rb
bootstrap-honoka-rails-4.3.1.1 lib/bootstrap/honoka/rails/engine.rb
bootstrap-honoka-rails-3.3.7 lib/bootstrap/honoka/rails/engine.rb
bootstrap-honoka-rails-4.0.0.1 lib/bootstrap/honoka/rails/engine.rb