govuk_publishing_components 21.55.1 → 21.55.2

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
  SHA256:
3
- metadata.gz: 34577f5058eb49bcbf88cbbdc4a50dc11ad7f87ee10706f1cb15bbcd7a08988e
4
- data.tar.gz: 97ae0ad84975a91c8b2f560b4b80a095fbc75b7f6fd552bb6fcb92d9d8bbd9dc
3
+ metadata.gz: 1b11f193106c7f8e22efc13ef5bbd2c342d1785eb3b115ebe583b647688c5aae
4
+ data.tar.gz: 7f108f279a4f9b8bd39f9c068894631046a3622876ad0e33cd0b4425ea0bc31d
5
5
  SHA512:
6
- metadata.gz: 39186c5eb0a7a811aade0cfb0be8b483102473b19ac4f85035d384b01812909a54fda71dade7d9491d6c92968d118594b455682b49d5e3a894ebc6b835579120
7
- data.tar.gz: 74b21c40ad38212747054d025dfcbca802a44465f9e833606c79e31a1c1fcbbdea880237eb9405361664129b8953ac6abc85498e66a72066cce6ade2f7ed005b
6
+ metadata.gz: 2b1a19a275e8610a96b3071f6ef29bb3462f04b61f6d625d0a0e9f2287a98bf9b577d1c3ebacbac2f35bf805f3c95b867afc35deceb734dea015c327b9242527
7
+ data.tar.gz: 7a18630041fda4328d384c42e1e1de1579413ec29e5a9b620eb4a33fe84039aaeb30275bc56dd8985983d09f0c666d45017337c37b3ce335137ff24c8c123270
@@ -58,20 +58,20 @@ module GovukPublishingComponents
58
58
  end
59
59
 
60
60
  def options(navigation)
61
- if navigation.priority_breadcrumbs
61
+ if navigation.content_tagged_to_a_finder?
62
62
  {
63
- step_by_step: true,
64
- breadcrumbs: navigation.priority_breadcrumbs,
63
+ step_by_step: false,
64
+ breadcrumbs: navigation.breadcrumbs,
65
65
  }
66
66
  elsif navigation.content_tagged_to_current_step_by_step?
67
67
  {
68
68
  step_by_step: true,
69
69
  breadcrumbs: navigation.step_nav_helper.header,
70
70
  }
71
- elsif navigation.content_tagged_to_a_finder?
71
+ elsif navigation.priority_breadcrumbs
72
72
  {
73
- step_by_step: false,
74
- breadcrumbs: navigation.breadcrumbs,
73
+ step_by_step: true,
74
+ breadcrumbs: navigation.priority_breadcrumbs,
75
75
  }
76
76
  elsif navigation.content_is_tagged_to_a_live_taxon? && prioritise_taxon_breadcrumbs
77
77
  {
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "21.55.1".freeze
2
+ VERSION = "21.55.2".freeze
3
3
  end
@@ -10,7 +10,7 @@
10
10
  "spec": ">=3.5.4 <4.0.0",
11
11
  "type": "range"
12
12
  },
13
- "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
13
+ "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ@2"
14
14
  ]
15
15
  ],
16
16
  "_from": "axe-core@>=3.5.4 <4.0.0",
@@ -45,7 +45,7 @@
45
45
  "_shasum": "5a7b49ba8c989cd59cde219810ccfb0b7cf72e97",
46
46
  "_shrinkwrap": null,
47
47
  "_spec": "axe-core@^3.5.4",
48
- "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
48
+ "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ@2",
49
49
  "bugs": {
50
50
  "url": "https://github.com/dequelabs/axe-core/issues"
51
51
  },
@@ -10,7 +10,7 @@
10
10
  "spec": ">=3.7.0 <4.0.0",
11
11
  "type": "range"
12
12
  },
13
- "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
13
+ "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ@2"
14
14
  ]
15
15
  ],
16
16
  "_from": "govuk-frontend@>=3.7.0 <4.0.0",
@@ -45,7 +45,7 @@
45
45
  "_shasum": "2eb2130c3c9f7c701c7ecdb300cc91106275a414",
46
46
  "_shrinkwrap": null,
47
47
  "_spec": "govuk-frontend@^3.7.0",
48
- "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
48
+ "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ@2",
49
49
  "author": {
50
50
  "name": "GOV.UK Design System Team",
51
51
  "email": "design-system-developers@digital.cabinet-office.gov.uk",
@@ -10,7 +10,7 @@
10
10
  "spec": "1.12.4",
11
11
  "type": "version"
12
12
  },
13
- "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
13
+ "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ@2"
14
14
  ]
15
15
  ],
16
16
  "_from": "jquery@1.12.4",
@@ -44,7 +44,7 @@
44
44
  "_shasum": "01e1dfba290fe73deba77ceeacb0f9ba2fec9e0c",
45
45
  "_shrinkwrap": null,
46
46
  "_spec": "jquery@1.12.4",
47
- "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
47
+ "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ@2",
48
48
  "author": {
49
49
  "name": "jQuery Foundation and other contributors",
50
50
  "url": "https://github.com/jquery/jquery/blob/1.12-stable/AUTHORS.txt"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.55.1
4
+ version: 21.55.2
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: 2020-06-04 00:00:00.000000000 Z
11
+ date: 2020-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters