cache-busting asset id for bushido.js + new bushido config var (app_name)
This commit is contained in:
parent
4518cfda1f
commit
4618b35318
@ -1,6 +1,6 @@
|
|||||||
GIT
|
GIT
|
||||||
remote: git://github.com/did/bushido_stub.git
|
remote: git://github.com/did/bushido_stub.git
|
||||||
revision: 6b83b2c4847832ffe7a213e725d2ceb7f864e360
|
revision: 87f64541b4444dd3ff9fd1c1c44ac20c549ce2c6
|
||||||
specs:
|
specs:
|
||||||
bushido_stub (0.0.1)
|
bushido_stub (0.0.1)
|
||||||
activesupport (>= 3.0.7)
|
activesupport (>= 3.0.7)
|
||||||
@ -65,7 +65,7 @@ GEM
|
|||||||
bson (1.3.1)
|
bson (1.3.1)
|
||||||
bson_ext (1.3.1)
|
bson_ext (1.3.1)
|
||||||
builder (2.1.2)
|
builder (2.1.2)
|
||||||
bushido (0.0.14)
|
bushido (0.0.16)
|
||||||
highline (>= 1.6.1)
|
highline (>= 1.6.1)
|
||||||
json (>= 1.4.6)
|
json (>= 1.4.6)
|
||||||
rest-client (>= 1.6.1)
|
rest-client (>= 1.6.1)
|
||||||
@ -127,7 +127,7 @@ GEM
|
|||||||
nokogiri (~> 1.4.3.1)
|
nokogiri (~> 1.4.3.1)
|
||||||
ruby-hmac
|
ruby-hmac
|
||||||
formatador (0.1.4)
|
formatador (0.1.4)
|
||||||
formtastic (1.2.3)
|
formtastic (1.2.4)
|
||||||
actionpack (>= 2.3.7)
|
actionpack (>= 2.3.7)
|
||||||
activesupport (>= 2.3.7)
|
activesupport (>= 2.3.7)
|
||||||
i18n (~> 0.4)
|
i18n (~> 0.4)
|
||||||
@ -139,7 +139,7 @@ GEM
|
|||||||
heroku (1.19.1)
|
heroku (1.19.1)
|
||||||
activesupport (>= 2.1.0)
|
activesupport (>= 2.1.0)
|
||||||
launchy (~> 0.3.2)
|
launchy (~> 0.3.2)
|
||||||
rest-client (< 1.7.0, >= 1.4.0)
|
rest-client (>= 1.4.0, < 1.7.0)
|
||||||
highline (1.6.2)
|
highline (1.6.2)
|
||||||
httparty (0.7.7)
|
httparty (0.7.7)
|
||||||
crack (= 0.1.8)
|
crack (= 0.1.8)
|
||||||
|
@ -4,5 +4,6 @@
|
|||||||
"ruby_version": "1.9.2",
|
"ruby_version": "1.9.2",
|
||||||
"sql": false,
|
"sql": false,
|
||||||
"mongodb": true,
|
"mongodb": true,
|
||||||
"start_page": "admin/pages"
|
"start_page": "admin/pages",
|
||||||
|
"project_name": "locomotive"
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ module Locomotive
|
|||||||
var _bushido_claimed = #{@bushido_claimed.to_s};
|
var _bushido_claimed = #{@bushido_claimed.to_s};
|
||||||
(function() {
|
(function() {
|
||||||
var bushido = document.createElement('script'); bushido.type = 'text/javascript'; bushido.async = true;
|
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);
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(bushido, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user