moj_template 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/moj_helper.rb +0 -4
- data/app/views/layouts/moj_template.html.erb +0 -14
- data/lib/moj_template/version.rb +1 -1
- 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: 077f97f68b8217e7fb9e86d602addc3eb044a114
|
4
|
+
data.tar.gz: c1e2d13ed5c3b4dc9325e3c9e17b5ed88d7163d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c152cdadbd47145fabe265374c415b9d813b148f10233ef28cb5682e0a15635fbbc9a905f8a43c6bf69314222121708be3b1a22a2c6a4421539e417dcdf4f809
|
7
|
+
data.tar.gz: 568eb902dad4c65f6456f900a821d4d771e79c9a2cf21e4a1cea2c14c3993a049a6950f5a30e64e94e210f127e12976bb2f0d3d0000c4a617535084f297ef491
|
data/app/helpers/moj_helper.rb
CHANGED
@@ -56,20 +56,6 @@
|
|
56
56
|
<link href="<%= asset_path "moj-template.css" %>" media="screen" rel="stylesheet" type="text/css" />
|
57
57
|
|
58
58
|
<%= yield :stylesheets %>
|
59
|
-
<% if environment == 'production' %>
|
60
|
-
<!-- Google Analytics tracking -->
|
61
|
-
<script>
|
62
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
63
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
64
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
65
|
-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
66
|
-
|
67
|
-
ga('create', '<%= config_item :ga_id %>', 'service.gov.uk');
|
68
|
-
<%= yield :analytics %>
|
69
|
-
ga('set', 'anonymizeIp', true);
|
70
|
-
ga('send', 'pageview');
|
71
|
-
</script>
|
72
|
-
<% end %>
|
73
59
|
<%= yield :head %>
|
74
60
|
|
75
61
|
</head>
|
data/lib/moj_template/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moj_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dom Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|