govuk_content_models 39.0.0 → 40.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -2
- data/app/models/artefact.rb +0 -1
- data/lib/govuk_content_models/version.rb +1 -1
- data/test/models/artefact_action_test.rb +0 -1
- data/test/models/artefact_test.rb +0 -14
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f18d1ebea02b0584a44cc7500640d06c5efdba7
|
4
|
+
data.tar.gz: fa423d6bdd018aa1d6dd1abe503698af37ec8ef4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d9b3ec85affef521cbc59d2392600d19804748441bd33e1865b385196f0617fa6844ce5c996a893ff481511e644868f19e0b8ad757724339a84b497fafffc9f
|
7
|
+
data.tar.gz: fbc5963565ffcb19f4134f846fbac1b5519f47151d9c5c9a48e50a1958e69ea4953d831bdba5c2fe7e14486726458fb2d0f24ed112ad1fdabe01c6d60affddef
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# GOV.UK Content Models
|
2
2
|
|
3
|
-
A gem containing the shared models for the GOV.UK publishing
|
3
|
+
A gem containing the shared models for the old GOV.UK publishing applications:
|
4
|
+
|
5
|
+
- [Panopticon](https://github.com/alphagov/panopticon)
|
6
|
+
- [Publisher](https://github.com/alphagov/publisher).
|
7
|
+
- [Content API](https://github.com/alphagov/govuk_content_api)
|
4
8
|
|
5
|
-
This is a continual **work in progress**.
|
data/app/models/artefact.rb
CHANGED
@@ -38,7 +38,6 @@ class Artefact
|
|
38
38
|
field "description", type: String
|
39
39
|
field "state", type: String, default: "draft"
|
40
40
|
field "language", type: String, default: "en"
|
41
|
-
field "need_extended_font", type: Boolean, default: false
|
42
41
|
field "latest_change_note", type: String
|
43
42
|
field "public_timestamp", type: DateTime
|
44
43
|
field "redirect_url", type: String
|
@@ -530,20 +530,6 @@ class ArtefactTest < ActiveSupport::TestCase
|
|
530
530
|
|
531
531
|
assert ! a.valid?
|
532
532
|
end
|
533
|
-
|
534
|
-
should "has has_extended_chars field set to false by default" do
|
535
|
-
a = Artefact.new
|
536
|
-
assert_equal false, a.need_extended_font
|
537
|
-
end
|
538
|
-
|
539
|
-
should "allow has_extended_chars to be set" do
|
540
|
-
a = FactoryGirl.build(:artefact)
|
541
|
-
a.need_extended_font = true
|
542
|
-
a.save
|
543
|
-
|
544
|
-
a = Artefact.first
|
545
|
-
assert_equal true, a.need_extended_font
|
546
|
-
end
|
547
533
|
end
|
548
534
|
|
549
535
|
context "returning json representation" do
|