Skip to content

Commit

Permalink
Bump for 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Greenfeld committed Apr 14, 2015
1 parent 501af3f commit 9cb0121
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ History
1.1.0 (2015-04-04)
++++++++++++++++++

* Regression: As the cache was not always clearing, we've broken out the time to expire feature to it's own set of specific tools.
* Fixed typo in README, thanks to @zoidbergwill.

1.0.0 (2015-02-13)
Expand Down
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Results of cached functions can be invalidated by outside forces. Let's demonstr
>>> monopoly.boardwalk
550
>>> # invalidate the cache
>>> del monopoly['boardwalk']
>>> del monopoly.boardwalk
>>> # request the boardwalk property again
>>> monopoly.boardwalk
600
Expand Down Expand Up @@ -186,6 +186,10 @@ Now use it:
3
>>> monopoly.dice
3
>>> # This cache clearing does not always work, see note below.
>>> del monopoly['dice']
>>> monopoly.dice
6
**Note:** The ``ttl`` tools do not reliably allow the clearing of the cache. This
is why they are broken out into seperate tools. See https://github.com/pydanny/cached-property/issues/16.
Expand Down
2 changes: 1 addition & 1 deletion cached_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = 'Daniel Greenfeld'
__email__ = 'pydanny@gmail.com'
__version__ = '1.0.0'
__version__ = '1.1.0'
__license__ = 'BSD'

from time import time
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
except ImportError:
from distutils.core import setup

__version__ = '1.0.0'
__version__ = '1.1.0'

readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
Expand Down

0 comments on commit 9cb0121

Please sign in to comment.