alula-plugins 0.4.13 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/alula/plugins/analytics.rb +6 -2
- data/lib/alula/plugins/version.rb +1 -1
- metadata +5 -4
|
@@ -22,12 +22,16 @@ module Alula
|
|
|
22
22
|
EOT
|
|
23
23
|
when "gosquared"
|
|
24
24
|
<<-EOT
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
<script type="text/javascript">var GoSquared={};GoSquared.acct="#{opts}",function(e){function t(){e._gstc_lt=+(new Date);var t=document,n=t.createElement("script");n.type="text/javascript",n.async=!0,n.src="//d1l6p2sc9645hc.cloudfront.net/tracker.js";var r=t.getElementsByTagName("script")[0];r.parentNode.insertBefore(n,r)}e.addEventListener?e.addEventListener("load",t,!1):e.attachEvent("onload",t)}(window);</script>
|
|
26
|
+
EOT
|
|
27
27
|
when "woopra"
|
|
28
28
|
<<-EOT
|
|
29
29
|
<script type="text/javascript">function woopraReady(e){return e.setDomain("#{opts}"),e.setIdleTimeout(3e5),e.track(),!1}(function(){var e=document.createElement("script");e.src=document.location.protocol+"//static.woopra.com/js/woopra.js",e.type="text/javascript",e.async=!0;var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})();</script>
|
|
30
30
|
EOT
|
|
31
|
+
when "gauges"
|
|
32
|
+
<<-EOT
|
|
33
|
+
<script type="text/javascript">var _gauges=_gauges||[];(function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.id="gauges-tracker",e.setAttribute("data-site-id","#{opts}"),e.src="//secure.gaug.es/track.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})();</script>
|
|
34
|
+
EOT
|
|
31
35
|
end
|
|
32
36
|
Alula::Plugin.addon(:body, ->(context) { tracker }) if tracker
|
|
33
37
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alula-plugins
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.14
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-08-
|
|
12
|
+
date: 2012-08-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: alula
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - '='
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 0.4.
|
|
21
|
+
version: 0.4.14
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - '='
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.4.
|
|
29
|
+
version: 0.4.14
|
|
30
30
|
description: Offers simple collection of basic plugins that are not necessary needed
|
|
31
31
|
for every blog.
|
|
32
32
|
email: mikko@owlforestry.com
|
|
@@ -69,3 +69,4 @@ signing_key:
|
|
|
69
69
|
specification_version: 3
|
|
70
70
|
summary: Basic plugins and extenstions for Alula blogs (part of Alula).
|
|
71
71
|
test_files: []
|
|
72
|
+
has_rdoc:
|