govuk_template 0.22.3 → 0.23.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdfd89d3dc987a9264251354ded197c921fbf91e
4
- data.tar.gz: 3bbd8959a5ca63e28431c5d3e390dc1415694444
3
+ metadata.gz: 9307642fd78206920be814c3f20ea1bece52f885
4
+ data.tar.gz: ebffcbafc1b30dc2e0484bd8aebf4199d7c8df6c
5
5
  SHA512:
6
- metadata.gz: ce026a5564d4e8a25417d6a1c798bce8261226621df4dcf2bd00e88cd4273e9d96c71a36c011d4320668dc11123d4978556e4421ece2c9a126ad7ca4f20195b9
7
- data.tar.gz: 31196daa654249ddf3a48df9805d4136c58ac9d2a1291c1c4b613898e9b8b19741743dab3c0bf24d95668a47b8082ea602bd4c008ac231b2d87821920a7a1e9e
6
+ metadata.gz: b086012331a772a20f6aa47d351f071b2ff25cce854e3e1bb8ee4cc1ee9f5c9698ab3ee1654c602a7cb514c045fee2f54f68d27cd740606b955755d805377ca6
7
+ data.tar.gz: 2cf16f6912539b7d0188a0ea245a016e6613dd5ccdb98bd5af872a1a5c0ed8a7faca92c6d07cd80ddc44572de6bbfcda3c4f94adfa8361703a33d3c6df709275
@@ -6,15 +6,15 @@
6
6
  <meta charset="utf-8" />
7
7
  <title><%= content_for?(:page_title) ? yield(:page_title) : "GOV.UK - The best place to find government services and information" %></title>
8
8
 
9
- <!--[if gt IE 8]><!--><link href="<%= asset_path "govuk-template.css" %>" media="screen" rel="stylesheet" /><!--<![endif]-->
10
- <!--[if IE 6]><link href="<%= asset_path "govuk-template-ie6.css" %>" media="screen" rel="stylesheet" /><![endif]-->
11
- <!--[if IE 7]><link href="<%= asset_path "govuk-template-ie7.css" %>" media="screen" rel="stylesheet" /><![endif]-->
12
- <!--[if IE 8]><link href="<%= asset_path "govuk-template-ie8.css" %>" media="screen" rel="stylesheet" /><![endif]-->
13
- <link href="<%= asset_path "govuk-template-print.css" %>" media="print" rel="stylesheet" />
9
+ <!--[if gt IE 8]><!--><%= stylesheet_link_tag "govuk-template.css", integrity: true, crossorigin: "anonymous" %><!--<![endif]-->
10
+ <!--[if IE 6]><%= stylesheet_link_tag "govuk-template-ie6.css" %><![endif]-->
11
+ <!--[if IE 7]><%= stylesheet_link_tag "govuk-template-ie7.css" %><![endif]-->
12
+ <!--[if IE 8]><%= stylesheet_link_tag "govuk-template-ie8.css" %><![endif]-->
13
+ <%= stylesheet_link_tag "govuk-template-print.css", media: "print", integrity: true, crossorigin: "anonymous" %>
14
14
 
15
- <!--[if IE 8]><link href="<%= asset_path "fonts-ie8.css" %>" media="all" rel="stylesheet" /><![endif]-->
16
- <!--[if gte IE 9]><!--><link href="<%= asset_path "fonts.css" %>" media="all" rel="stylesheet" /><!--<![endif]-->
17
- <!--[if lt IE 9]><script src="<%= asset_path "ie.js" %>"></script><![endif]-->
15
+ <!--[if IE 8]><%= stylesheet_link_tag "fonts-ie8.css", media: "all" %><![endif]-->
16
+ <!--[if gte IE 9]><!--><%= stylesheet_link_tag "fonts.css", media: "all", integrity: true, crossorigin: "anonymous" %><!--<![endif]-->
17
+ <!--[if lt IE 9]><%= javascript_include_tag "ie.js", integrity: true, crossorigin: "anonymous" %><![endif]-->
18
18
 
19
19
  <link rel="shortcut icon" href="<%= asset_path 'favicon.ico' %>" type="image/x-icon" />
20
20
  <%# the colour used for mask-icon is the standard palette $black from
@@ -104,7 +104,7 @@
104
104
 
105
105
  <div id="global-app-error" class="app-error hidden"></div>
106
106
 
107
- <script src="<%= asset_path "govuk-template.js" %>"></script>
107
+ <%= javascript_include_tag "govuk-template.js", integrity: true, crossorigin: "anonymous" %>
108
108
 
109
109
  <%= yield :body_end %>
110
110
 
@@ -1,3 +1,3 @@
1
1
  module GovukTemplate
2
- VERSION = "0.22.3"
2
+ VERSION = "0.23.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.3
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Tomlins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-13 00:00:00.000000000 Z
11
+ date: 2017-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  requirements: []
229
229
  rubyforge_project:
230
- rubygems_version: 2.4.5
230
+ rubygems_version: 2.6.13
231
231
  signing_key:
232
232
  specification_version: 4
233
233
  summary: Rails engine supplying the GOV.UK header/footer template