metadata_presenter 3.4.29 → 3.4.30

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: 10df8a6ffed513b1bf759d1662f8801a9e9238f8c0ddb22fa66688d1777d12a3
4
- data.tar.gz: 76f42b45dcc5f1907e20a5f44775f6214f49cd009552a50b7e3b2245a619a66d
3
+ metadata.gz: 58a6412590fcb441e415275c7f54f288fb55edb0d73992383a2152a73684e025
4
+ data.tar.gz: 0b3706fb2575047848073676a8723e82470c8ec8a84588f4d9c6213fef989035
5
5
  SHA512:
6
- metadata.gz: a35ee1de39c33516a20f76b4e8ec877d887fe502c1d98a5893f31e8a0da754eaf52f936e63eef564c531275b5f4ac04d72609f1f77b492d7b851bab97b5cf2db
7
- data.tar.gz: c931d5f825c519d536c61172718c93949b9aea922c908a027f0f7e4a8b1cb1452008b0f4de8fa386b0f9449b938182e6de6a9d959fded8f6e6a2af9746a2c01d
6
+ metadata.gz: a6e5404e9a00f41219cd7184f87cdfdbd10618ab07bf5af5d138c517573062f191f367e7fb72464dacbccffbd2d813d2ac8e7961313a798a722926d868f41112
7
+ data.tar.gz: d65df87b22fcb0166f94565a7485abd55926c5ffac163ed727f896e03f96dee83a2b620da00b228e637b2c2769701c958ccb37f5bb3ac83d8e53f1a5d359a28d
@@ -98,13 +98,13 @@ class MetadataPresenter::Service < MetadataPresenter::Metadata
98
98
 
99
99
  def pages_with_conditional_content_for_question(uuid)
100
100
  pages.select do |page|
101
- uuid.in? page.content_components_by_type('conditional').flat_map(&:conditionals).flat_map(&:expressions).map(&:component)
101
+ uuid.in? page.content_components_by_type('conditional').flat_map(&:conditionals).flat_map(&:expressions).map(&:component)
102
102
  end
103
103
  end
104
104
 
105
105
  def pages_with_conditional_content_for_question_option(uuid)
106
106
  pages.select do |page|
107
- uuid.in? page.content_components_by_type('conditional').flat_map(&:conditionals).flat_map(&:expressions).map(&:field)
107
+ uuid.in? page.content_components_by_type('conditional').flat_map(&:conditionals).flat_map(&:expressions).map(&:field)
108
108
  end
109
109
  end
110
110
 
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '3.4.29'.freeze
2
+ VERSION = '3.4.30'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata_presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.29
4
+ version: 3.4.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - MoJ Forms
@@ -71,14 +71,14 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 8.1.3.1
74
+ version: 8.1.4.1
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: 8.1.3.1
81
+ version: 8.1.4.1
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: sassc-rails
84
84
  requirement: !ruby/object:Gem::Requirement