metadata_presenter 0.16.2 → 0.17.1
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/default_metadata/component/content.json +5 -0
- data/lib/metadata_presenter/version.rb +1 -1
- data/schemas/component/content.json +30 -0
- data/schemas/definition/page.json +2 -0
- data/schemas/page/checkanswers.json +0 -3
- data/schemas/page/confirmation.json +0 -3
- data/schemas/page/singlequestion.json +1 -0
- data/schemas/page/start.json +0 -2
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b653825d328257b11234319575f8742e666a45f2d8502adf79a1a2896c331f01
|
|
4
|
+
data.tar.gz: d9a3fb7541c8cd077ce66ae3b67c3a828ef97faf15719bb5d278a92d7a3f5bab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34ba78444c9620972472ad35de61a0090b5653cc585ce4b8bab8c28b09560c61015f8b22a2233f741aaa757bce22214d5c381ab54f47900965b7df0d362781ba
|
|
7
|
+
data.tar.gz: 0ecdff6b63586d59599e6cb69720bd73a949cd4be02929e98625e1c1097f2a201067f0453406459ea458dd4f6c813e08a59717c69b93bcd7e97fcfb36268d99c
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "http://gov.uk/schema/v1.0.0/content",
|
|
3
|
+
"_name": "component.content",
|
|
4
|
+
"title": "Content",
|
|
5
|
+
"description": "Display ‘flat’ content, such as text",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"category": [
|
|
8
|
+
"content"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"_type": {
|
|
12
|
+
"const": "content"
|
|
13
|
+
},
|
|
14
|
+
"html": {
|
|
15
|
+
"title": "Content",
|
|
16
|
+
"description": "Content to display - use [markdown](https://www.gov.uk/guidance/how-to-publish-on-gov-uk/markdown) to format text or add hyperlinks",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"content": true,
|
|
19
|
+
"multiline": true
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"allOf": [
|
|
23
|
+
{
|
|
24
|
+
"$ref": "definition.component"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"required": [
|
|
28
|
+
"html"
|
|
29
|
+
]
|
|
30
|
+
}
|
data/schemas/page/start.json
CHANGED
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: 0.
|
|
4
|
+
version: 0.17.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MoJ Online
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-03-
|
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -268,6 +268,7 @@ files:
|
|
|
268
268
|
- config/initializers/schemas.rb
|
|
269
269
|
- config/routes.rb
|
|
270
270
|
- default_metadata/component/checkboxes.json
|
|
271
|
+
- default_metadata/component/content.json
|
|
271
272
|
- default_metadata/component/date.json
|
|
272
273
|
- default_metadata/component/number.json
|
|
273
274
|
- default_metadata/component/radios.json
|
|
@@ -297,6 +298,7 @@ files:
|
|
|
297
298
|
- lib/metadata_presenter/version.rb
|
|
298
299
|
- lib/tasks/metadata_presenter_tasks.rake
|
|
299
300
|
- schemas/component/checkboxes.json
|
|
301
|
+
- schemas/component/content.json
|
|
300
302
|
- schemas/component/date.json
|
|
301
303
|
- schemas/component/number.json
|
|
302
304
|
- schemas/component/radios.json
|