Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Releases: Factlink/pavlov

Version 0.1.9.0

08 Oct 09:32
Compare
Choose a tag to compare
Version 0.1.9.0 Pre-release
Pre-release
  • Added block syntax for Pavlov.command, Pavlov.interactor and Pavlov.query.
  • Added regression tests, to improve detection of breaking changes.

Version 0.1.8

01 Oct 09:25
Compare
Choose a tag to compare
Version 0.1.8 Pre-release
Pre-release
  • Added validations and an errors object. See the updated README for usage instructions.
  • Changed the way operations are found. New way should be 100% compatible.

Version 0.1.7.1

19 Aug 08:34
Compare
Choose a tag to compare
Version 0.1.7.1 Pre-release
Pre-release

Fixed regressions in validation logic

Version 0.1.7

15 Aug 14:35
Compare
Choose a tag to compare
Version 0.1.7 Pre-release
Pre-release
  • Removed the methods old_interactor, old_command, and old_query from both Pavlov module and Helpers.
  • In preparation for changes to the validation system, we've changed the name of the method you should implement that performs the validations. This was valid?, and it is now validate. Like execute, this method should not be called directly, instead Pavlov provides a wrapper method called valid?. This allows us to add default validations without you having to remember to call super.

Version 0.1.6

13 Aug 12:44
Compare
Choose a tag to compare
Version 0.1.6 Pre-release
Pre-release

Fixed default argument for helpers with named arguments

Bugfixes and refactorings

Removed generators for commands, queries and interactors.

Version 0.1.5

07 Aug 12:01
Compare
Choose a tag to compare
Version 0.1.5 Pre-release
Pre-release

Made Pavlov.old_command, old_query and old_interactor use Pavlov.command, Pavlov.query and Pavlov.interactor so you can upgrade expectations in a forward compatible manner.

Version 0.1.4

06 Aug 09:35
Compare
Choose a tag to compare
Version 0.1.4 Pre-release
Pre-release

Added license to gemspec

Removed dependencies on activemodel and activesupport.

Deprecated Validations (now in alpha_compatibility)

Version 0.1.3

06 Aug 09:38
Compare
Choose a tag to compare
Version 0.1.3 Pre-release
Pre-release

This release brings forth lots and lots of incompatibilities. Where possible, we've tried to keep a backwards-compatible API available. You can activate this by requiring `pavlov/alpha_compatibility'.

New Stuff:

  • Pavlov now uses Virtus for what used to be called arguments. Instead of specifying a list of arguments, you can now specify attributes individually, with optional defaults. Check the README on all the cool stuff you can do with these Virtus-based attributes.

Deprecations:

If you want to retain deprecated functionality, you can require 'pavlov/alpha_compatibility'.

  • Deprecated arguments in operations.
  • Deprecated pavlov_options that were used by the helpers.

Completely removed:

  • Removed support for finish_initialize. Override the initialize method and call super instead.

Version 0.1.2

06 Aug 09:37
Compare
Choose a tag to compare
Version 0.1.2 Pre-release
Pre-release

Intermediate release easing upgrade to 0.1.3, please see https://github.com/Factlink/pavlov/blob/master/UPGRADING.md

Version 0.1.1

06 Aug 09:37
Compare
Choose a tag to compare
Version 0.1.1 Pre-release
Pre-release

Intermediate release easing upgrade to 0.1.3, please see https://github.com/Factlink/pavlov/blob/master/UPGRADING.md