metadata_presenter 2.15.5 → 2.15.6

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: e1e277f6d30a45d3ca8810255755210bae18a3b6e1532678b1557f2519b5622d
4
- data.tar.gz: 9865abbf37c4f34957f2a9fabd4a446dc9c688c9a882304651fda56fc4fbcdfd
3
+ metadata.gz: 317f9738775d4f54ec39b2a26022a7d10849ea62f9dbe11a5d3438f934fe68a6
4
+ data.tar.gz: a06c2f83f04f48dfce34b257bbade85f4ebc1600b277391583689a2e8989dbfd
5
5
  SHA512:
6
- metadata.gz: e69caf24355fc1dfa7a3a0922c69d9b6cb8f29d021f4f3c3a20fc2bca33392e83a23ad63f53b6b3a485340c260d5955a7f72a9721b0c139679a8989e75e819dc
7
- data.tar.gz: 7add95238378d7bcd1b2440baf06aa91d30321213a07769c12df9cee8d90f8adecc72b3723268303a7b089194ed48187897e2d63a8f5328b758218f222030655
6
+ metadata.gz: ffd0e8343e0cdc239992f13703f180bfb9ca0a956e777ffb035ad59bdd302453aae62d3f67d8107cb9fc22d54a5d81b7a661d102a9e556fad6daf3933adf9d20
7
+ data.tar.gz: 2c4e98e7c2890061e4e3a9f34a7b337e22fdf3c2aceda4da7d52b7f46818098d72f02ac4080b381cda115bd4c63295ad110a86c41025a9fb0f94b330130e8e10
@@ -11,10 +11,10 @@
11
11
  "9e1ba77f-f1e5-42f4-b090-437aa9af7f73": {
12
12
  "_type": "flow.page",
13
13
  "next": {
14
- "default": "df1ba645-f748-46d0-ad75-f34112653e37"
14
+ "default": "adcb61c3-52b1-479b-be51-1bb610876d54"
15
15
  }
16
16
  },
17
- "df1ba645-f748-46d0-ad75-f34112653e37": {
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": "df1ba645-f748-46d0-ad75-f34112653e37",
131
+ "_uuid": "adcb61c3-52b1-479b-be51-1bb610876d54",
139
132
  "heading": "Question",
140
133
  "components": [
141
134
  {
142
- "_id": "email-address_text_1",
135
+ "_id": "email-address_email_1",
143
136
  "hint": "",
144
- "name": "email-address_text_1",
145
- "_type": "text",
146
- "_uuid": "f27e5788-e784-4bfd-8b21-2fab8ce95abb",
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
- "max_length": 30,
164
- "min_length": 2
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",
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '2.15.5'.freeze
2
+ VERSION = '2.15.6'.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: 2.15.5
4
+ version: 2.15.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - MoJ Forms