Sha256: ec1b5b4bcc75236c8974d4a82a383c492a3129e53a143ca310a850722aa243ab

Contents?: true

Size: 1.81 KB

Versions: 1

Compression:

Stored size: 1.81 KB

Contents

# 4.0.0

* Change RSpec::Matchers, rename `be_valid_against_schema` to
  `be_valid_against_publisher_schema` and add
  `be_valid_against_frontend_schema` plus
  `be_valid_against_notification_schema`.

# 3.3.0

* Support generating objects with an `oneOf` property.

# 3.2.0

* Add `GovukSchemas::DocumentTypes.valid_document_types` (PR #48)

# 3.1.0

* Update json-schema dependency

# 3.0.1

* change order of output when validation errors occur during random example generation

# 3.0.0

* Move to block based customisation of randomly generated payloads. This removes the existing methods: `customise_and_validate` and `merge_and_validate`. In addition `GovukSchemas::RandomExample.for_schema(schema)` now returns the payload hash directly.

# 2.3.0

* Allow looking up examples to work with schemas stored in `formats/{format}/{schema_type}/examples/` and `examples/{format}/{schema_type}/` to allow schema examples to move.

# 2.2.0

* Add RSpec test helpers
* Add `customise_and_validate` to bring the functionality to remove fields from a payload which has been generated as a random example

# 2.1.1

* Support for a new regex in GOV.UK content schemas

# 2.1.0

* Add `Schema.schema_names` to return all schema names
* Add functionality to work with examples

# 2.0.0

* Change GovukSchemas::Schema.find to take { links_schema: 'detailded_guide' }
* Add regex for lowercase-underscore strings

# 1.0.0

* Add regex for GOV.UK campaign URLs
* Improve error messages

# 0.2.0

* Add a new regex for the new application validation in the schema
* Add documentation for the gem
* Fixes a problem with an infinite loop in a certain schema
* Now tests all available schema (a problem with specialist docs has been solved)
* Drops active-support dependency, pins json-schema dependency

# 0.1.0

* First release. Allows random content generation.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
govuk_schemas-4.0.0 CHANGELOG.md