nicolaiarocci/cerberus — pull request #23 by peterdemin (2014-01-15 11:01:52+00:00)
Title: Allowed validator for integer type

Now only strings and lists can have ```allowed``` key.
Without opening documentation, I expected the same behavior for integer type:

```python
from cerberus import Validator

assert False == Validator({'a': {'type': 'integer', 'allowed': [-1, 0, 1]}}).validate({'a': 2})
```

So here is naive patch to extend allowed validator for integers.