Skip to content

Commit

Permalink
Merge pull request #17 from jpvanhal/doc-improvements
Browse files Browse the repository at this point in the history
Doc improvements
  • Loading branch information
kvesteri committed Oct 21, 2014
2 parents fc1fb08 + 15f4877 commit 624ea48
Show file tree
Hide file tree
Showing 6 changed files with 211 additions and 264 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ python:
install:
- pip install -e ".[test]"
script:
- py.test
- py.test --doctest-modules --doctest-glob="*.rst" --ignore setup.py
27 changes: 14 additions & 13 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,54 +13,55 @@ Here you can see the full list of changes between each intervals release.
0.3.0 (2014-03-18)
^^^^^^^^^^^^^^^^^^

- Added __bool__ implementation for all interval types
- Added __int__ support for IntInterval
- Added ``__bool__`` implementation for all interval types
- Added ``__int__`` support for ``IntInterval``


0.2.4 (2014-02-25)
^^^^^^^^^^^^^^^^^^

- Added step argument to AbstractInterval constructor
- Added step argument to ``AbstractInterval`` constructor

0.2.3 (2014-02-25)
^^^^^^^^^^^^^^^^^^

- Improved hyphen range parsing
- Fixed glb and lub methods
- Added inf and sup methods
- Fixed ``glb`` and ``lub`` methods
- Added ``inf`` and ``sup`` methods


0.2.2 (2014-02-20)
^^^^^^^^^^^^^^^^^^

- Fixed comparison to None
- Added glb and lub methods
- Fixed comparison to ``None``
- Added ``glb`` and ``lub`` methods


0.2.1 (2014-02-17)
^^^^^^^^^^^^^^^^^^

- Fixed __lt__ and __le__ operators (total_ordering was not working)
- Fixed ``__lt__`` and ``__le__`` operators (``total_ordering`` was not working)


0.2.0 (2014-01-10)
^^^^^^^^^^^^^^^^^^

- Added improved arithmetics
- Added centre, radius, discrete and length properties
- Added ``centre``, ``radius``, ``discrete`` and ``length`` properties
- Added support for custom typed intervals
- Added support for discrete intervals
- Added support for __radd__ and __rsub__
- Added degenerate property
- Added support for ``__radd__`` and ``__rsub__``
- Added ``degenerate`` property
- Added support for contains
- Added Interval subclasses (IntInterval, DateInterval, DateTimeInterval, FloatInterval and DecimalInterval)
- Added ``Interval`` subclasses (``IntInterval``, ``DateInterval``,
``DateTimeInterval``, ``FloatInterval`` and ``DecimalInterval``)
- Updated infinity dependency to 0.1.3


0.1.1 (2014-01-09)
^^^^^^^^^^^^^^^^^^

- Added interval length property
- Added interval ``length`` property


0.1.0 (2014-01-09)
Expand Down
Loading

0 comments on commit 624ea48

Please sign in to comment.