metadata_presenter 2.4.1 → 2.4.2

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
  SHA256:
3
- metadata.gz: 6fafa1e61048b9b7413e3ca929cb725362609c7c77a58dd7a29b761da21ceb65
4
- data.tar.gz: 368cc444a674ffbddbfdaf287bc6ae2518759d1cc3e7e5865cadeff8a80241d7
3
+ metadata.gz: c3e99fe731812a98c2a9d2f6cefcade21ccd233f24118cd23440aa4d726b49c1
4
+ data.tar.gz: 98496d517a2cdbf8da121d9d15469c9f017065921ca81b8133d895cec9bc9cff
5
5
  SHA512:
6
- metadata.gz: ace08c6cb80c4497d948971a089593cca09a4959b639a6ff2e139d7eb2269c694ae0fa80d56e867690e46f3b5faceb4bef5717e035b9d7728d4481a9ae80d3d0
7
- data.tar.gz: 94759926ab0e16acc146fb7ae3ba147cb5e72bac08d0c4297e30a3fb913d1fbee385027c305b3f8343f5a08a634020eaa5a1c5e746c293471fa2e4f2284ad636
6
+ metadata.gz: f3735753a806e4b199b6420ed46469a06a856fa2140a3c893f91e187a8ae2a8068f5d54118ddefddabfd72db15ca04b9d532e9eb63019aa5d5611497ce322aee
7
+ data.tar.gz: 5322246015561fc511b8fb1dc2072fec440df0fce1ca34555a3893b6a43b281b59d896a0941e3d69ea0f0114ea90408fc702b2bcd7a8080ade9934dc09bdd3ad
@@ -16,6 +16,10 @@ module MetadataPresenter
16
16
  metadata['next']['default']
17
17
  end
18
18
 
19
+ def all_destination_uuids
20
+ conditionals.map(&:next).append(default_next)
21
+ end
22
+
19
23
  def conditionals
20
24
  Array(metadata['next']['conditionals']).map do |conditional_metadata|
21
25
  Conditional.new(conditional_metadata)