govuk_navigation_helpers 7.5.1 → 8.0.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: 0ed50389c0e270af9d06f5c463c6c3c3c962ded1
4
- data.tar.gz: c99857084bdb4f12849ceea96529bff37f30cef3
3
+ metadata.gz: 6a8d53a0b9816b50497c8313afd80b4364b7ea16
4
+ data.tar.gz: 33886df66629debdb34052d67e1808401952c89b
5
5
  SHA512:
6
- metadata.gz: 3e26322f2190187f49f8a7fb7331d6b4211964e8816546f5266a1d5cdbb5e884c391e68bef1828f72cec2ec22ad33108001f744c8e7b48401ca94034af6a63c6
7
- data.tar.gz: b489704185d12f162dcd2667ec97ed9ecabf9ed8fe509e916efb79f2f80cfa4cb2b31af7932441ea5d1cae0f8036a129c57e80a74c4a53665c1f2f4a1d9cc86e
6
+ metadata.gz: 1f890e275991e6ccc0e3b0958f9e486c271fa1e184fdd8b9df851fc6d6f479e9b60c3c905e6b34e62dcdc040444bc44acb338013dd7958037f3c841b2e4f85be
7
+ data.tar.gz: f4e4b5b6b2c0b3656f73dfed959e89e2489a4d0a9a47c726cafc40f53277aee82eb644ed8b20a0955ca1f97244ebd7f8f4fd83b23dd696ebc23c04a9d7615b12
@@ -1,3 +1,7 @@
1
+ ## 8.0.0
2
+ * Remove special handling of publication formats as the default layouts in government-frontend are sufficient
3
+ * Fix a link in tasklist content for /end-a-civil-partnership
4
+
1
5
  ## 7.5.1
2
6
  * Change context for the Get Divorce & End Civil Partnership tasklists
3
7
 
@@ -220,7 +220,7 @@
220
220
  "context": "£50"
221
221
  },
222
222
  {
223
- "href": "/divorce/if-your-husband-or-wife-lacks-mental-capacity",
223
+ "href": "/end-civil-partnership/if-your-partner-lacks-mental-capacity",
224
224
  "text": "Get help if your civil partner can’t make decisions for themselves"
225
225
  },
226
226
  {
@@ -2,7 +2,6 @@ module GovukNavigationHelpers
2
2
  class CurrentTasklistAbTest
3
3
  TASKLIST_HEADER_DIMENSION = 44
4
4
  TASKLIST_SIDEBAR_DIMENSION = 66
5
- PUBLICATION_PAGE = "/government/publications/car-show-me-tell-me-vehicle-safety-questions".freeze
6
5
 
7
6
  def initialize(current_tasklist:, request:)
8
7
  @current_tasklist = current_tasklist
@@ -55,14 +54,6 @@ module GovukNavigationHelpers
55
54
  header_variant.configure_response(response) if is_tested_page?
56
55
  end
57
56
 
58
- def publication_with_sidebar?
59
- show_tasklist_sidebar? && request.path == PUBLICATION_PAGE
60
- end
61
-
62
- def publication_with_sidebar_template_name
63
- "publication_with_tasklist_sidebar"
64
- end
65
-
66
57
  private
67
58
 
68
59
  attr_reader :current_tasklist, :ab_test_prefix, :request
@@ -1,3 +1,3 @@
1
1
  module GovukNavigationHelpers
2
- VERSION = "7.5.1".freeze
2
+ VERSION = "8.0.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_navigation_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.5.1
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-18 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters