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>2015-08-26 04:59:48 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2015-08-26 04:59:48 +0300
commit72a53828fac5f025848b62594c257fadcf24fb0c (patch)
treeb4cffd4b97c20a940275c745f29ce07a625f0497 /tasks/updater.rb
parent5091bc672da48b7f45b6daa0270752844ddd5da7 (diff)
Remove obsolete files, s/bootstrap-sass/bootstrap
Diffstat (limited to 'tasks/updater.rb')
-rw-r--r--tasks/updater.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/updater.rb b/tasks/updater.rb
index c7db6d6..5f8b386 100644
--- a/tasks/updater.rb
+++ b/tasks/updater.rb
@@ -25,7 +25,7 @@ require_relative 'updater/scss_conversion'
require_relative 'updater/js_conversion'
require_relative 'updater/logger'
require_relative 'updater/network'
-require 'bootstrap-sass/version'
+require 'bootstrap/version'
class Updater
extend Forwardable
@@ -72,7 +72,7 @@ class Updater
# Update version.rb file with BOOTSTRAP_SHA
def store_version
- path = 'lib/bootstrap-sass/version.rb'
+ path = 'lib/bootstrap/version.rb'
content = File.read(path).sub(/BOOTSTRAP_SHA\s*=\s*['"][\w]+['"]/, "BOOTSTRAP_SHA = '#@branch_sha'")
File.open(path, 'w') { |f| f.write(content) }
end