Skip to content

Commit

Permalink
Merge pull request #96 from alfred82santa/feature/version-0.9.0
Browse files Browse the repository at this point in the history
Feature/version 0.9.0
  • Loading branch information
alfred82santa authored Nov 6, 2016
2 parents 08fc35c + 55fa575 commit b8d2f0e
Show file tree
Hide file tree
Showing 19 changed files with 689 additions and 132 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ python:
- "3.4"
- "3.5"
# command to install dependencies
install:
install:
- make requirements
- pip install -r requirements-test.txt
- if [[ $TRAVIS_PYTHON_VERSION == 3.3.* ]]; then pip install -r requirements-py33.txt --use-mirrors; fi
- pip install coveralls
# command to run tests
script:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ requirements-docs:

run-tests:
@echo "Running tests..."
nosetests --with-coverage -d --cover-package=dirty_models --cover-erase
nosetests --with-coverage -d --cover-package=dirty_models --cover-erase -x

publish:
@echo "Publishing new version on Pypi..."
Expand Down
19 changes: 16 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@ Features
Changelog
---------

Version 0.9.0
-------------

- New EnumField.
- Fixes on setup.py.
- Fixes on requirements.
- Fixes on formatter iters.
- Fixes on code.
- Added ``__version__`` to main package file.
- Synchronized version between main packege file, ``setup.py`` and docs.
- Export only modifications.


Version 0.8.1
-------------

Expand All @@ -101,10 +114,10 @@ Version 0.8.0
- Raise a RunTimeError exception if two fields use same alias in a model.
- Fixed default docstrings.
- Cleanup default data. Only real name fields are allowed to use as key.
- Added :meth:`~dirty_models.models.get_attrs_by_path` in order to get all values using path.
- Added :meth:`~dirty_models.models.get_1st_attr_by_path` in order to get first value using path.
- Added :meth:`~dirty_models.models.BaseModel.get_attrs_by_path` in order to get all values using path.
- Added :meth:`~dirty_models.models.BaseModel.get_1st_attr_by_path` in order to get first value using path.
- Added option to access fields like in a dictionary, but using wildcards. Only for getters.
See: :meth:`~dirty_models.models.get_1st_attr_by_path`.
See: :meth:`~dirty_models.models.BaseModel.get_1st_attr_by_path`.
- Added some documentation.

Version 0.7.2
Expand Down
2 changes: 2 additions & 0 deletions dirty_models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@

from .models import *
from .fields import *

__version__ = '0.9.0'
Loading

0 comments on commit b8d2f0e

Please sign in to comment.