metadata_presenter 2.15.2 → 2.15.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 317f9738775d4f54ec39b2a26022a7d10849ea62f9dbe11a5d3438f934fe68a6
|
4
|
+
data.tar.gz: a06c2f83f04f48dfce34b257bbade85f4ebc1600b277391583689a2e8989dbfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffd0e8343e0cdc239992f13703f180bfb9ca0a956e777ffb035ad59bdd302453aae62d3f67d8107cb9fc22d54a5d81b7a661d102a9e556fad6daf3933adf9d20
|
7
|
+
data.tar.gz: 2c4e98e7c2890061e4e3a9f34a7b337e22fdf3c2aceda4da7d52b7f46818098d72f02ac4080b381cda115bd4c63295ad110a86c41025a9fb0f94b330130e8e10
|
@@ -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/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.6
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_design_system_formbuilder
|