Skip to content

Conversation

@henriquemoody
Copy link
Member

The validation was made only on validate() method, but it was
necessary to overwrite assert() and check() to replace the filename
by the size.
The Size rule now doesn't extends Between class, and instead it
extends AbstractRule and performs the validation only on validate()
method like many other rules.

The validation was made only on `validate()` method, but it was
necessary to overwrite `assert()` and `check()` to replace the filename
by the size.
The `Size` rule now doesn't extends `Between` class, and instead it
extends `AbstractRule` and performs the validation only on `validate()`
method like many other rules.
@henriquemoody
Copy link
Member Author

Manual cherry-pick 4f8faab.

@henriquemoody henriquemoody deleted the size branch July 20, 2015 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant