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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6d43e004ce82bc973297e0b3bd9b90a6d3f997a
4
- data.tar.gz: b0ed00895e03b42eb08b3e41e5f4655f3509bdeb
3
+ metadata.gz: 077f97f68b8217e7fb9e86d602addc3eb044a114
4
+ data.tar.gz: c1e2d13ed5c3b4dc9325e3c9e17b5ed88d7163d6
5
5
  SHA512:
6
- metadata.gz: 074ea0a48291ea378dae54082181c090182760519d3b233e5afa767693691b7a949d880478413548987e75c465e5e400e0df4902f7f468aec03fe3c3599c28fc
7
- data.tar.gz: ea786af4863f37e52d647e01cdfd9172231450befc6721b774033dcd5fabcd1047db5f5a2401ec59e9601c6d5fcaac65d63aadba5e2641bd8fd06aac0fcb9b9a
6
+ metadata.gz: c152cdadbd47145fabe265374c415b9d813b148f10233ef28cb5682e0a15635fbbc9a905f8a43c6bf69314222121708be3b1a22a2c6a4421539e417dcdf4f809
7
+ data.tar.gz: 568eb902dad4c65f6456f900a821d4d771e79c9a2cf21e4a1cea2c14c3993a049a6950f5a30e64e94e210f127e12976bb2f0d3d0000c4a617535084f297ef491
@@ -2,8 +2,4 @@ module MojHelper
2
2
  def config_item(key)
3
3
  Rails.configuration.send(key)
4
4
  end
5
-
6
- def environment
7
- env = ENV['APP_PLATFORM'] || Rails.env
8
- end
9
5
  end
@@ -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>
@@ -1,3 +1,3 @@
1
1
  module MojTemplate
2
- VERSION = "0.10.3"
2
+ VERSION = "0.11.0"
3
3
  end
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.10.3
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-03-21 00:00:00.000000000 Z
11
+ date: 2014-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails