diff --git a/Gemfile.lock b/Gemfile.lock index b5638138..1d1d894a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: git://github.com/did/bushido_stub.git - revision: 6b83b2c4847832ffe7a213e725d2ceb7f864e360 + revision: 87f64541b4444dd3ff9fd1c1c44ac20c549ce2c6 specs: bushido_stub (0.0.1) activesupport (>= 3.0.7) @@ -65,7 +65,7 @@ GEM bson (1.3.1) bson_ext (1.3.1) builder (2.1.2) - bushido (0.0.14) + bushido (0.0.16) highline (>= 1.6.1) json (>= 1.4.6) rest-client (>= 1.6.1) @@ -127,7 +127,7 @@ GEM nokogiri (~> 1.4.3.1) ruby-hmac formatador (0.1.4) - formtastic (1.2.3) + formtastic (1.2.4) actionpack (>= 2.3.7) activesupport (>= 2.3.7) i18n (~> 0.4) @@ -139,7 +139,7 @@ GEM heroku (1.19.1) activesupport (>= 2.1.0) launchy (~> 0.3.2) - rest-client (< 1.7.0, >= 1.4.0) + rest-client (>= 1.4.0, < 1.7.0) highline (1.6.2) httparty (0.7.7) crack (= 0.1.8) diff --git a/config/bushido.json b/config/bushido.json index 5d646519..2d34fae2 100644 --- a/config/bushido.json +++ b/config/bushido.json @@ -4,5 +4,6 @@ "ruby_version": "1.9.2", "sql": false, "mongodb": true, - "start_page": "admin/pages" + "start_page": "admin/pages", + "project_name": "locomotive" } diff --git a/lib/locomotive/hosting/bushido/middleware.rb b/lib/locomotive/hosting/bushido/middleware.rb index 3a0cde73..50a250b2 100644 --- a/lib/locomotive/hosting/bushido/middleware.rb +++ b/lib/locomotive/hosting/bushido/middleware.rb @@ -29,7 +29,7 @@ module Locomotive var _bushido_claimed = #{@bushido_claimed.to_s}; (function() { var bushido = document.createElement('script'); bushido.type = 'text/javascript'; bushido.async = true; - bushido.src = '#{BUSHIDO_JS_URL}'; + bushido.src = '#{BUSHIDO_JS_URL}?#{::Bushido::VERSION.gsub('.', '')}'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(bushido, s); })();