Sha256: 424cfc34cc619976034f5832689a53da6a6d4550416e532445a1f6e3971b553e

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

# Rapporteur changelog

## [HEAD][unreleased] / unreleased

* No significant changes.

## [2.0.1][v2.0.1] / 2013-05-31

* Fix NoMethodError in CheckerDeprecations#clear.

## [2.0.0][v2.0.0] / 2013-05-31

* Removed active_model_serializers dependency.
* Extracted time and revision checks into Checks::TimeCheck and
  Checks::RevisionCheck, and applied them as the default checks.
* Updated Checker#add_error to allow for I18n interpolated values.
* Updated Checker#add_check to take a block in addition to a lambda or object
  that responds to #call.
* Added Checker#halt! which checks can call to short-circuit processing of any
  further checks.

### :boom: Backward incompatible changes

* Flattened the messages key in the JSON response. All messages are now
  included at the top level of the hash.
* It's now possible to remove all checks by calling Checker#clear. This
  includes the default TimeCheck and RevisionCheck checks.
* Simplified the I18n scope to "rapporteur.errors.{attribute}.{key}". This
  means that Checker#add_error now takes at least 2 arguments, similarly to
  ActiveModel::Errors#add.
* Added a facade for all Checker interaction. Clients should not use
  Rapporteur::Checker.add_check et al, in favor of using Rapporteur.add_check.

## [1.1.0][v1.1.0] / 2013-05-30

* Add the ability to define custom successful response messages via
  add_message. This allows Check authors to relay automated information forward
  to other external systems.

## [1.0.1][v1.0.1] / 2013-05-20

* Improve the gemspec's minimum runtime- and development-dependency version
  accuracies.

## 1.0.0 / 2013-05-19

* Initial public release.


[unreleased]: https://github.com/codeschool/rapporteur/compare/v2.0.1...master
[v2.0.1]: https://github.com/codeschool/rapporteur/compare/v2.0.0...v2.0.1
[v2.0.0]: https://github.com/codeschool/rapporteur/compare/v1.1.0...v2.0.0
[v1.1.0]: https://github.com/codeschool/rapporteur/compare/v1.0.1...v1.1.0
[v1.0.1]: https://github.com/codeschool/rapporteur/compare/v1.0.0...v1.0.1

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rapporteur-2.0.1 CHANGELOG.md