weaver 0.7.0 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/weaver/version.rb +1 -1
- data/lib/weaver.rb +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc0d4f8751b60f127795d985ebb546d9eda2777f
|
4
|
+
data.tar.gz: df225282e333193aac53cc8bea9e488de1eb6d4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac19aedb633a8e6fbe2adfc681f2f3f1d48866251a82af93d6bedb6e241729004f7da9280bb85404f88ceba500b58112a76b336a0dc6f6df68dfd14abe3c177d
|
7
|
+
data.tar.gz: bdb2b6d29ea3a1a578e31374557123db135b83eb38f58f72bb0dc5e25cfc2327fa01f64c299c00591be8746175147a920d788f0d46964649336ec29957a07c42
|
data/lib/weaver/version.rb
CHANGED
data/lib/weaver.rb
CHANGED
@@ -1993,6 +1993,20 @@ for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElemen
|
|
1993
1993
|
mixpanel.init("'+@global_settings[:mixpanel_token]+'");</script><!-- end Mixpanel -->'
|
1994
1994
|
end
|
1995
1995
|
|
1996
|
+
if @global_settings[:google_tracking_code]
|
1997
|
+
extra_stuff += <<-GOOGLE
|
1998
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
1999
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=#{@global_settings[:google_tracking_code]}"></script>
|
2000
|
+
<script>
|
2001
|
+
window.dataLayer = window.dataLayer || [];
|
2002
|
+
function gtag(){dataLayer.push(arguments);}
|
2003
|
+
gtag('js', new Date());
|
2004
|
+
|
2005
|
+
gtag('config', '#{@global_settings[:google_tracking_code]}');
|
2006
|
+
</script>
|
2007
|
+
GOOGLE
|
2008
|
+
end
|
2009
|
+
|
1996
2010
|
|
1997
2011
|
result =<<-SKELETON
|
1998
2012
|
<!DOCTYPE html>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: weaver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Siaw
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|