caboose-cms 0.5.193 → 0.5.194

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDgzYmEyYzE1Mjg5ZDljNGJhYWUzMjhlOTYwZmVhZmFjZTdkZGEwMQ==
4
+ YTI4NDUyZWM4ZDQyZjMyYTFkMTRlZDAyYjY5NDkzOGViOTI2N2U5YQ==
5
5
  data.tar.gz: !binary |-
6
- ODY1NDE2MmQzZTdhN2Y5YWE1MDIwMmUwYzM4MWVhOTI4MGZiY2U5Zg==
6
+ OWVjMjAxMjZjNDUyNjUwNTMxNDJkNzA5ODc2OWUxMjYxNWQ2ZDhlMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzIzMmEzMDY3Zjk4NmFkYTRlNTkxYTZjZWQ2ZjA2NzMzYjRjMzA1ZDE4MmNh
10
- MTVjOTAyMDA5ZWE4NjFmNWRjYmZhNTJjZDMzZGY1ODk5ZDkxZTNlNzk2M2Rl
11
- ZWQ3ZDczZWNjOGNlMjY0YTAxNmQ2ODJiYmQzZTg3NWI1YTA2NTE=
9
+ ZWY0ODkwOWNjNzEyYzliMmFiNzE5YWY5MDI1MDA1NWQ4ZjQ2MWY2ZWExMTFk
10
+ YmY4MDViY2FlY2VlODFmM2VhYzVhODMwNWFiZDI0MWY1NTc1Y2M1ZjExMzMw
11
+ ZTlhMjViNjYzYWIzODFhOThmMjQxODRjN2E2M2I5NzJmYjkyZjg=
12
12
  data.tar.gz: !binary |-
13
- MmM0OTI5YjcwNjVmM2QzNTE5OTM0NDNiNWIwMWM0NzNlZjI4Yjk0MzEzZTU1
14
- MTA3ZmNmNzljMzIyNzczMmJhYmJkMjI1ZDZiNDUzMDk3YzA3ZDE0NjIwZDYy
15
- YWYwYTQzMzFjOWZmZGE4YjQ0YTU1NWIyMWJlNzM3MDZkNTVmZGQ=
13
+ MTFmZTE3OTNlODY3MmU2MmUyMDNkZTZhOWEwZGY0MjMwYzZmNGM5NTRlZTg0
14
+ M2I4OWY2NTBmY2ZhZWYxNDNlNzUxZjk0NmE3ZWQ1YzY3MzZlYWJmYWFjNjUz
15
+ ODc3ZDc4ZGJkNGZlMjk1MmI5NzQ0MmMwMTkzNjU1OTg0OGI4Yzc=
@@ -74,9 +74,14 @@
74
74
  css.gsub!("<link href=\"//", "<link href=\"#{protocol}")
75
75
  css.gsub!("<link href='//" , "<link href='#{protocol}")
76
76
 
77
+ js = yield(:js)
78
+ if @site.use_retargeting
79
+ js << b.partial('retargeting', options)
80
+ end
81
+
77
82
  str.gsub!('|CABOOSE_CSS|' , css)
78
83
  str.gsub!('|CABOOSE_PROTOCOL|' , protocol)
79
- str.gsub!('|CABOOSE_JAVASCRIPT|' , yield(:js))
84
+ str.gsub!('|CABOOSE_JAVASCRIPT|' , js)
80
85
  str.gsub!('|CABOOSE_CSRF|' , csrf_meta_tags)
81
86
 
82
87
  %><%= raw str %><%
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.193'
2
+ VERSION = '0.5.194'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.193
4
+ version: 0.5.194
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry