Sha256: 447f44636bd89ffb4be0453a80ac674dbde5b21143b06eaa6703e375705c1372

Contents?: true

Size: 595 Bytes

Versions: 14

Compression:

Stored size: 595 Bytes

Contents

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

        unless Sprockets::Rails::VERSION.starts_with?('3')
          app.config.assets.precompile << %r(material-design-icons/Material-Design-Icons\.(?:eot|svg|ttf|woff|woff2?)$)
          app.config.assets.precompile << %r(roboto/Roboto-[\w-]+\.(?:eot|svg|ttf|woff|woff2?)$)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
materialize-sass-0.100.2.1 lib/materialize-sass/engine.rb
materialize-sass-0.100.2 lib/materialize-sass/engine.rb
materialize-sass-0.100.1 lib/materialize-sass/engine.rb
materialize-sass-0.100.0 lib/materialize-sass/engine.rb
materialize-sass-0.99.0 lib/materialize-sass/engine.rb
materialize-sass-0.98.2 lib/materialize-sass/engine.rb
materialize-sass-0.98.1 lib/materialize-sass/engine.rb
materialize-sass-0.98.0 lib/materialize-sass/engine.rb
materialize-sass-0.97.8 lib/materialize-sass/engine.rb
materialize-sass-0.97.7 lib/materialize-sass/engine.rb
materialize-sass-0.97.6 lib/materialize-sass/engine.rb
materialize-sass-0.97.5 lib/materialize-sass/engine.rb
materialize-sass-0.97.4 lib/materialize-sass/engine.rb
materialize-sass-0.97.3 lib/materialize-sass/engine.rb