govuk_content_models 7.0.0 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/artefact.rb +32 -4
- data/lib/govuk_content_models/version.rb +1 -1
- metadata +4 -4
data/app/models/artefact.rb
CHANGED
@@ -79,15 +79,43 @@ class Artefact
|
|
79
79
|
"custom-application" => ["custom-application"], # In this case the owning_app is overriden. eg calendars, licencefinder
|
80
80
|
"travel-advice-publisher" => ["travel-advice"],
|
81
81
|
"specialist-publisher" => ["specialist-document"],
|
82
|
-
"whitehall" => ["
|
82
|
+
"whitehall" => ["announcement",
|
83
|
+
"authored_article",
|
84
|
+
"case_study",
|
83
85
|
"consultation",
|
86
|
+
"corporate_report",
|
87
|
+
"correspondence",
|
84
88
|
"detailed_guide",
|
85
|
-
"
|
86
|
-
"
|
89
|
+
"document_collection",
|
90
|
+
"draft_text",
|
91
|
+
"fatality_notice",
|
92
|
+
"foi_release",
|
93
|
+
"form",
|
94
|
+
"government_response",
|
95
|
+
"guidance",
|
96
|
+
"impact_assessment",
|
97
|
+
"independent_report",
|
98
|
+
"international_treaty",
|
99
|
+
"map",
|
100
|
+
"national_statistics",
|
101
|
+
"news_story",
|
102
|
+
"oral_statement",
|
87
103
|
"policy",
|
104
|
+
"policy_paper",
|
105
|
+
"press_release",
|
106
|
+
"promotional",
|
88
107
|
"publication",
|
108
|
+
"research",
|
109
|
+
"speaking_notes",
|
89
110
|
"statistical_data_set",
|
90
|
-
"
|
111
|
+
"statistics",
|
112
|
+
"statutory_guidance",
|
113
|
+
"supporting_page",
|
114
|
+
"transcript",
|
115
|
+
"transparency",
|
116
|
+
"world_location_news_article",
|
117
|
+
"worldwide_priority",
|
118
|
+
"written_statement"]
|
91
119
|
}.freeze
|
92
120
|
|
93
121
|
FORMATS = FORMATS_BY_DEFAULT_OWNING_APP.values.flatten
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_content_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bson_ext
|
@@ -456,7 +456,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
456
456
|
version: '0'
|
457
457
|
segments:
|
458
458
|
- 0
|
459
|
-
hash:
|
459
|
+
hash: 1342987933027242847
|
460
460
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
461
461
|
none: false
|
462
462
|
requirements:
|
@@ -465,7 +465,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
465
465
|
version: '0'
|
466
466
|
segments:
|
467
467
|
- 0
|
468
|
-
hash:
|
468
|
+
hash: 1342987933027242847
|
469
469
|
requirements: []
|
470
470
|
rubyforge_project:
|
471
471
|
rubygems_version: 1.8.23
|