Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-sass.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2015-09-27 15:22:47 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2015-09-27 15:22:47 +0300
commitfdf1c797d4fb2e91d8645f02a5b96a85b37208fb (patch)
treec4b972401a0a48b094ea037360334dce5ce50391 /lib
parentfcd8c36f30c039647bce8cce47fd749f12f8c4e8 (diff)
sprockets-rails 3+ support
Diffstat (limited to 'lib')
-rw-r--r--lib/bootstrap-sass/engine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bootstrap-sass/engine.rb b/lib/bootstrap-sass/engine.rb
index d288080e..dbc261a9 100644
--- a/lib/bootstrap-sass/engine.rb
+++ b/lib/bootstrap-sass/engine.rb
@@ -8,7 +8,7 @@ module Bootstrap
# sprockets-rails 3 tracks down the calls to `font_path` and `image_path`
# and automatically precompiles the referenced assets.
- unless Sprockets::Rails::VERSION.starts_with?('3')
+ 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