Skip to content

Commit

Permalink
fix issue & bump version to 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern committed Mar 4, 2019
1 parent d2dcf1f commit ab36026
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,11 @@ Misc

Changelog
----------
Version 1.1.3:
```
Fix issue with validation extensions.
```

Version 1.1.2:
```
Fix import issues.
Expand Down
2 changes: 1 addition & 1 deletion pyvalitron/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def _validate(self):
if 'validate' in validation_rule:
self._errors[current_input] = []
for rule_name, rule_args in validation_rule['validate'].items():
getattr(self._validator, "set_input")(self._inputs[current_input]['value'])
self._update_validator(rule_name)
getattr(self._validator, "set_input")(self._inputs[current_input]['value'])
# Check if param exist and pass them to the method
if 'param' in rule_args.keys() and len(rule_args['param']) > 0:
current_status = getattr(self._validator, rule_name)(*rule_args['param'])
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pyvalitron",
version="1.1.2",
version="1.1.3",
author="silverback",
author_email="hello@clivern.com",
description="A Python Inputs Validation Library.",
Expand Down

0 comments on commit ab36026

Please sign in to comment.