caboose-cms 0.8.33 → 0.8.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/caboose/application.html.erb +6 -0
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10b912cc8b30e8569dcb1f1d2e9b9282fbc8c4cb
|
4
|
+
data.tar.gz: 4c7b76303acd61dfa695d381ccac0330520ebe25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aa8fe51db11317e5a6570caba27576ee6855c633e0d9204c19dbbe885118edb2ba2342c4ef0df80fb0b640b180c6bf56b491987eed5423517ed7163a7703ca6
|
7
|
+
data.tar.gz: 020d7efb4def9817166f65d9cc15f5b13bd0d5fcaa12d9acb5818d388eb2230840080ba649cf907ef9f3ce7f1444502f6e905796c1f2ad189d5c03e3c828504e
|
@@ -102,6 +102,12 @@
|
|
102
102
|
end
|
103
103
|
|
104
104
|
js = yield(:js)
|
105
|
+
js.gsub!("<script src=\"//", "<script src=\"#{protocol}")
|
106
|
+
js.gsub!("<script src='//" , "<script src='#{protocol}")
|
107
|
+
if protocol == 'https://'
|
108
|
+
js.gsub!("<script src=\"http://", "<script src=\"https://")
|
109
|
+
js.gsub!("<script src='http://" , "<script src='https://")
|
110
|
+
end
|
105
111
|
if @site.use_retargeting
|
106
112
|
js << b.partial('retargeting', options)
|
107
113
|
end
|
data/lib/caboose/version.rb
CHANGED