Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Implements v2 #178

Merged
merged 27 commits into from
Jun 18, 2019
Merged

Implements v2 #178

merged 27 commits into from
Jun 18, 2019

Commits on Jun 18, 2019

  1. feat: removes "isValidatable" from public API

    BREAKING CHANGE: Gavel no longer exposes "isValidatable" method in its public API
    artem-zakharchenko committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    33dc9b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0960fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    807a879 View commit details
    Browse the repository at this point in the history
  4. feat: removes "isValid" from public API

    BREAKING CHANGE: Gavel no longer exports "isValid" method from public API. Pleae use "gavel.validate" instead.
    artem-zakharchenko committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    969ab5a View commit details
    Browse the repository at this point in the history
  5. feat: removes "type" parameter from "validate" call signature

    BREAKING CHANGE: Calling "gavel.validate" no longer requires the "type" parameter.
    artem-zakharchenko committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    4a4e9a3 View commit details
    Browse the repository at this point in the history
  6. feat: removes HttpRequest, HttpResponse, and Validatable

    BREAKING CHANGE: Gavel no longer exports "HttpRequest" and "HttpResponse" classes. Use "validate" instead.
    artem-zakharchenko committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    2c36cbb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a7a0074 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e5c4f72 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    290dec8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    de99480 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    01503a0 View commit details
    Browse the repository at this point in the history
  12. feat: swaps the order of "real" and "expected" arguments (validate)

    BREAKING CHANGE: Gavel's call signature of the "validate" function is now the following:
    validate(expected, real)
    artem-zakharchenko committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    f631116 View commit details
    Browse the repository at this point in the history
  13. feat: removes "callback" argument of "validate"

    BREAKING CHANGE: "gavel.validate()" no longer accepts a callback as an argument.
    Please use the "validate()" function as follows:
    
    const result = gavel.validate(expected, real)
    artem-zakharchenko committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    681b032 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8270f29 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    818d1d2 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4478590 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f08d0a6 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    7344f12 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b8ae32e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8f0a170 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    4748564 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    1dfeab4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    329759b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    459c4e8 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    7870a99 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    c830ff6 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    5bd3333 View commit details
    Browse the repository at this point in the history