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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57de0bfc9ffd58f24eea2a4f1bb0b21e13971ad5
4
- data.tar.gz: 2802a90194fefafe9fa6944628aed782b6a44708
3
+ metadata.gz: 1f18d1ebea02b0584a44cc7500640d06c5efdba7
4
+ data.tar.gz: fa423d6bdd018aa1d6dd1abe503698af37ec8ef4
5
5
  SHA512:
6
- metadata.gz: cb545e782d6933007549e905217de3fb32df9b956f63d555560c42022223281f4bad8cd2d13580b45e98ec8b82ee20372c66a071dd76b030f86fdaf9c36ef212
7
- data.tar.gz: 9f2f24e465e2af95a6b261c589ee16db0080bd43a9b97ea0cb5d46a72a63782f9a1e13980123a7f40300eb9462787cd163f3b31fc9260c127ef24a7342bf64f3
6
+ metadata.gz: 6d9b3ec85affef521cbc59d2392600d19804748441bd33e1865b385196f0617fa6844ce5c996a893ff481511e644868f19e0b8ad757724339a84b497fafffc9f
7
+ data.tar.gz: fbc5963565ffcb19f4134f846fbac1b5519f47151d9c5c9a48e50a1958e69ea4953d831bdba5c2fe7e14486726458fb2d0f24ed112ad1fdabe01c6d60affddef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 40.0.0
4
+
5
+ - Removed `need_extended_font` attribute
6
+
3
7
  ## 39.0.0
4
8
 
5
9
  - Removed LocalAuthority model as this information is now obtained from Local Links Manager [#391](https://github.com/alphagov/govuk_content_models/pull/391)
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 platform, including [Panopticon](https://github.com/alphagov/panopticon) and [Publisher](https://github.com/alphagov/publisher).
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**.
@@ -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
@@ -1,4 +1,4 @@
1
1
  module GovukContentModels
2
2
  # Changing this causes Jenkins to tag and release the gem into the wild
3
- VERSION = "39.0.0"
3
+ VERSION = "40.0.0"
4
4
  end
@@ -27,7 +27,6 @@ class ArtefactActionTest < ActiveSupport::TestCase
27
27
  "paths" => [],
28
28
  "prefixes" => [],
29
29
  "language" => "en",
30
- "need_extended_font" => false
31
30
  }
32
31
 
33
32
  def base_fields
@@ -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
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: 39.0.0
4
+ version: 40.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Battley