Sha256: f39d774d0c1f9fc7b4e9b8ca0d551ebcf906a5a4d098e4bb2a135dcd48f21553

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

master
======

0.6.1
=====

* Configure default options for all matchers.
* Use `JSON.pretty_generate` to format error messages. [#44]

[#44]: https://github.com/thoughtbot/json_matchers/pull/44

0.6.0
=====

* Accept a JSON string along with a `response`.

[#43]: https://github.com/thoughtbot/json_matchers/pull/43

0.5.1
=====

* Update `json-schema` dependency to `~> 2.6.0`. [#37]

[#37]: https://github.com/thoughtbot/json_matchers/pull/37

0.5.0
=====

Breaking Changes
----------------

* No longer default to `strict: true`.

0.4.0
=====

Breaking Changes
----------------

* Rename the gem to `json_matchers`.

0.3.1
=====

* No longer condone auto-loading RSpec. Add documentation around adding `require
  "json_matchers/rspec"` to consumers' `spec/spec_helper.rb`

Breaking Changes
----------------

* Rename module to `JsonMatchers`. This resolves clashing with
  gems like `oj` / `oj_mimic_json` that take control of the standard library's
  `json` module. As a result, the file to require is now `json_matchers`,
  instead of `json/matchers`.

0.3.0
=====

* Pass options from matcher to `JSON::Validator`

0.2.2
=====

* Includes validation failure message in RSpec output

0.2.1
=====

* Supports RSpec 2 syntax `failure_message_for_should` and
  `failure_message_for_should_not`

0.2.0
=====

* RSpec failure messages include both the body of the response, and the body of
  the JSON Schema file

0.1.0
=====

Breaking Changes
----------------

* Remove `schema_for` in favor of using `$ref`. To learn more about `$ref`,
  check out [Understanding JSON Schema Structuring](http://spacetelescope.github.io/understanding-json-schema/structuring.html)

0.0.1
=====

Features
--------

* Validate your Rails response JSON with `match_response_schema`

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json_matchers-0.6.1 NEWS.md