metadata_presenter 2.15.3 → 2.15.7
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 +4 -4
- data/config/initializers/supported_components.rb +1 -1
- data/default_metadata/component/email.json +1 -1
- data/fixtures/branching_10.json +4 -4
- data/fixtures/branching_9.json +4 -4
- data/fixtures/version.json +22 -54
- data/lib/metadata_presenter/version.rb +1 -1
- data/schemas/component/email.json +3 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9e3440c00ba0d6f409a1bbf12067692b52b5fc9f82d236c4914e1ddee934b96
|
4
|
+
data.tar.gz: 0ebdbe91b53ec56f5af3b8a6c2fefd0c6e72eae410843e26120198afe4513e73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c79b50a7ead0b35d3fca70af9c7f4a51b7d66a79963b7cc0f63dc1bbf9711fbfc8bdb3b4b9f39c20a092d63c166b23591b50a402b2b1cea6c13a50902c60f11b
|
7
|
+
data.tar.gz: faa1fab939c694bfe663c2dd0df71cd567f423af222e8a84fe16e05eeb572d2d6f2a36382b7efedfba7c7fb2afed7f2f3e655187d135bac84fc0e4949658bb11
|
@@ -17,7 +17,7 @@ Rails.application.config.supported_components =
|
|
17
17
|
content: %w(content)
|
18
18
|
},
|
19
19
|
multiplequestions: {
|
20
|
-
input: %w(text textarea number date radios checkboxes
|
20
|
+
input: %w(text textarea email number date radios checkboxes),
|
21
21
|
content: %w(content)
|
22
22
|
},
|
23
23
|
singlequestion: {
|
data/fixtures/branching_10.json
CHANGED
@@ -358,8 +358,8 @@
|
|
358
358
|
"before_you_start": "###Before you start\r\nYou can also register by post.\r\n\r\nThe online service is also available in Welsh (Cymraeg).\r\n\r\nYou cannot register for this service if you’re in the UK illegally."
|
359
359
|
},
|
360
360
|
{
|
361
|
-
"_id": "page.
|
362
|
-
"url": "
|
361
|
+
"_id": "page.page-a",
|
362
|
+
"url": "page-a",
|
363
363
|
"body": "Body section",
|
364
364
|
"lede": "",
|
365
365
|
"_type": "page.singlequestion",
|
@@ -367,9 +367,9 @@
|
|
367
367
|
"heading": "",
|
368
368
|
"components": [
|
369
369
|
{
|
370
|
-
"_id": "
|
370
|
+
"_id": "page-a_text_1",
|
371
371
|
"hint": "",
|
372
|
-
"name": "
|
372
|
+
"name": "page-a_text_1",
|
373
373
|
"_type": "text",
|
374
374
|
"_uuid": "bcedde64-8996-4911-9426-fafaf91008e0",
|
375
375
|
"label": "Page A",
|
data/fixtures/branching_9.json
CHANGED
@@ -281,8 +281,8 @@
|
|
281
281
|
"before_you_start": "###Before you start\r\nYou can also register by post.\r\n\r\nThe online service is also available in Welsh (Cymraeg).\r\n\r\nYou cannot register for this service if you’re in the UK illegally."
|
282
282
|
},
|
283
283
|
{
|
284
|
-
"_id": "page.
|
285
|
-
"url": "
|
284
|
+
"_id": "page.page-a",
|
285
|
+
"url": "page-a",
|
286
286
|
"body": "Body section",
|
287
287
|
"lede": "",
|
288
288
|
"_type": "page.singlequestion",
|
@@ -290,9 +290,9 @@
|
|
290
290
|
"heading": "",
|
291
291
|
"components": [
|
292
292
|
{
|
293
|
-
"_id": "
|
293
|
+
"_id": "page-a_text_1",
|
294
294
|
"hint": "",
|
295
|
-
"name": "
|
295
|
+
"name": "page-a_text_1",
|
296
296
|
"_type": "text",
|
297
297
|
"_uuid": "bcedde64-8996-4911-9426-fafaf91008e0",
|
298
298
|
"label": "Page A",
|
data/fixtures/version.json
CHANGED
@@ -11,10 +11,10 @@
|
|
11
11
|
"9e1ba77f-f1e5-42f4-b090-437aa9af7f73": {
|
12
12
|
"_type": "flow.page",
|
13
13
|
"next": {
|
14
|
-
"default": "
|
14
|
+
"default": "adcb61c3-52b1-479b-be51-1bb610876d54"
|
15
15
|
}
|
16
16
|
},
|
17
|
-
"
|
17
|
+
"adcb61c3-52b1-479b-be51-1bb610876d54": {
|
18
18
|
"_type": "flow.page",
|
19
19
|
"next": {
|
20
20
|
"default": "4b8c6bf3-878a-4446-9198-48351b3e2185"
|
@@ -63,12 +63,6 @@
|
|
63
63
|
}
|
64
64
|
},
|
65
65
|
"80420693-d6f2-4fce-a860-777ca774a6f5": {
|
66
|
-
"_type": "flow.page",
|
67
|
-
"next": {
|
68
|
-
"default": "adcb61c3-52b1-479b-be51-1bb610876d54"
|
69
|
-
}
|
70
|
-
},
|
71
|
-
"adcb61c3-52b1-479b-be51-1bb610876d54" : {
|
72
66
|
"_type": "flow.page",
|
73
67
|
"next": {
|
74
68
|
"default": "2ef7d11e-0307-49e9-9fe2-345dc528dd66"
|
@@ -133,35 +127,23 @@
|
|
133
127
|
"_id": "page.email-address",
|
134
128
|
"url": "email-address",
|
135
129
|
"body": "Body section",
|
136
|
-
"lede": "",
|
137
130
|
"_type": "page.singlequestion",
|
138
|
-
"_uuid": "
|
131
|
+
"_uuid": "adcb61c3-52b1-479b-be51-1bb610876d54",
|
139
132
|
"heading": "Question",
|
140
133
|
"components": [
|
141
134
|
{
|
142
|
-
"_id": "email-
|
135
|
+
"_id": "email-address_email_1",
|
143
136
|
"hint": "",
|
144
|
-
"name": "email-
|
145
|
-
"_type": "
|
146
|
-
"_uuid": "
|
137
|
+
"name": "email-address_email_1",
|
138
|
+
"_type": "email",
|
139
|
+
"_uuid": "482cb2d0-fda7-4e5c-9591-96dcb546e181",
|
147
140
|
"label": "Email address",
|
148
|
-
"errors": {
|
149
|
-
"format": {},
|
150
|
-
"required": {
|
151
|
-
"any": "Enter an email address"
|
152
|
-
},
|
153
|
-
"max_length": {
|
154
|
-
"any": "%{control} is too long."
|
155
|
-
},
|
156
|
-
"min_length": {
|
157
|
-
"any": "%{control} is too short."
|
158
|
-
}
|
159
|
-
},
|
141
|
+
"errors": {},
|
160
142
|
"collection": "components",
|
161
143
|
"validation": {
|
162
144
|
"required": true,
|
163
|
-
"
|
164
|
-
"
|
145
|
+
"email": true,
|
146
|
+
"max_length": 256
|
165
147
|
}
|
166
148
|
}
|
167
149
|
]
|
@@ -182,7 +164,18 @@
|
|
182
164
|
"_type": "text",
|
183
165
|
"_uuid": "5ad372fa-ed35-477f-b471-4d444f991210",
|
184
166
|
"label": "Parent name",
|
185
|
-
"errors": {
|
167
|
+
"errors": {
|
168
|
+
"format": {},
|
169
|
+
"required": {
|
170
|
+
"any": "Enter a parent name"
|
171
|
+
},
|
172
|
+
"max_length": {
|
173
|
+
"any": "%{control} is too long."
|
174
|
+
},
|
175
|
+
"min_length": {
|
176
|
+
"any": "%{control} is too short."
|
177
|
+
}
|
178
|
+
},
|
186
179
|
"collection": "components",
|
187
180
|
"validation": {
|
188
181
|
"required": false,
|
@@ -509,31 +502,6 @@
|
|
509
502
|
"add_component": "content",
|
510
503
|
"section_heading": "Chain of Command"
|
511
504
|
},
|
512
|
-
{
|
513
|
-
"_id": "page.email",
|
514
|
-
"url": "email",
|
515
|
-
"body": "Body section",
|
516
|
-
"_type": "page.singlequestion",
|
517
|
-
"_uuid": "adcb61c3-52b1-479b-be51-1bb610876d54",
|
518
|
-
"heading": "Email",
|
519
|
-
"components": [
|
520
|
-
{
|
521
|
-
"_id": "email-address_email_1",
|
522
|
-
"hint": "",
|
523
|
-
"name": "email-address_email_1",
|
524
|
-
"_type": "email",
|
525
|
-
"_uuid": "482cb2d0-fda7-4e5c-9591-96dcb546e181",
|
526
|
-
"label": "Email address",
|
527
|
-
"errors": {},
|
528
|
-
"collection": "components",
|
529
|
-
"validation": {
|
530
|
-
"required": true,
|
531
|
-
"email": true,
|
532
|
-
"max_length": 256
|
533
|
-
}
|
534
|
-
}
|
535
|
-
]
|
536
|
-
},
|
537
505
|
{
|
538
506
|
"_id": "page.dog-picture",
|
539
507
|
"url": "dog-picture",
|
@@ -11,13 +11,10 @@
|
|
11
11
|
},
|
12
12
|
"allOf": [
|
13
13
|
{
|
14
|
-
"$ref":
|
14
|
+
"$ref": "definition.field"
|
15
15
|
},
|
16
16
|
{
|
17
|
-
"$ref": "
|
17
|
+
"$ref": "definition.width_class.input"
|
18
18
|
}
|
19
|
-
]
|
20
|
-
"validation": {
|
21
|
-
"format": "email"
|
22
|
-
}
|
19
|
+
]
|
23
20
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metadata_presenter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.15.
|
4
|
+
version: 2.15.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MoJ Forms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_design_system_formbuilder
|