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

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-10-30 08:26:01 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-10-30 08:26:01 +0300
commitd83deea4596c70b78f96dea24f1e9c4fd8898526 (patch)
tree5e84067c9f9511df2fdd12e1a7d04bb9fb2af5a6
parentf973ccf0369ecdd919e780be8e5b9fd9dbbd9f57 (diff)
Fix version in templates/project/_bootstrap-variables.sass
-rw-r--r--tasks/converter/less_conversion.rb2
-rw-r--r--templates/project/_bootstrap-variables.sass2
2 files changed, 2 insertions, 2 deletions
diff --git a/tasks/converter/less_conversion.rb b/tasks/converter/less_conversion.rb
index 0d46ce9..91cd683 100644
--- a/tasks/converter/less_conversion.rb
+++ b/tasks/converter/less_conversion.rb
@@ -145,7 +145,7 @@ class Converter
# generate variables template
save_file 'templates/project/_bootstrap-variables.sass',
- "// Override Bootstrap variables here (defaults from bootstrap-sass v<%= Bootstrap::VERSION %>):\n\n" +
+ "// Override Bootstrap variables here (defaults from bootstrap-sass v#{Bootstrap::VERSION}):\n\n" +
File.read("#{save_to}/_variables.scss").gsub(/^(?=\$)/, '// ').gsub(/ !default;/, '')
end
diff --git a/templates/project/_bootstrap-variables.sass b/templates/project/_bootstrap-variables.sass
index 917a457..48f2eec 100644
--- a/templates/project/_bootstrap-variables.sass
+++ b/templates/project/_bootstrap-variables.sass
@@ -1,4 +1,4 @@
-// Override Bootstrap variables here (defaults from bootstrap-sass v<%= Bootstrap::VERSION %>):
+// Override Bootstrap variables here (defaults from bootstrap-sass v3.3.0.1):
// When true, asset path helpers are used, otherwise the regular CSS `url()` is used.
// When there no function is defined, `fn('')` is parsed as string that equals the right hand side