Skip to content

Commit 9cb0121

Browse files
author
Daniel Greenfeld
committed
Bump for 1.1.0
1 parent 501af3f commit 9cb0121

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

HISTORY.rst

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ History
66
1.1.0 (2015-04-04)
77
++++++++++++++++++
88

9+
* 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.
910
* Fixed typo in README, thanks to @zoidbergwill.
1011

1112
1.0.0 (2015-02-13)

README.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Results of cached functions can be invalidated by outside forces. Let's demonstr
9696
>>> monopoly.boardwalk
9797
550
9898
>>> # invalidate the cache
99-
>>> del monopoly['boardwalk']
99+
>>> del monopoly.boardwalk
100100
>>> # request the boardwalk property again
101101
>>> monopoly.boardwalk
102102
600
@@ -186,6 +186,10 @@ Now use it:
186186
3
187187
>>> monopoly.dice
188188
3
189+
>>> # This cache clearing does not always work, see note below.
190+
>>> del monopoly['dice']
191+
>>> monopoly.dice
192+
6
189193
190194
**Note:** The ``ttl`` tools do not reliably allow the clearing of the cache. This
191195
is why they are broken out into seperate tools. See https://github.com/pydanny/cached-property/issues/16.

cached_property.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__author__ = 'Daniel Greenfeld'
44
__email__ = '[email protected]'
5-
__version__ = '1.0.0'
5+
__version__ = '1.1.0'
66
__license__ = 'BSD'
77

88
from time import time

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
except ImportError:
1010
from distutils.core import setup
1111

12-
__version__ = '1.0.0'
12+
__version__ = '1.1.0'
1313

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

0 commit comments

Comments
 (0)