From 62683e2e0cb8b0c04981d5fe50d272b539095a59 Mon Sep 17 00:00:00 2001 From: Alexander Saltanov Date: Wed, 15 Oct 2014 16:46:47 +0400 Subject: [PATCH] Version bump to 1.0. Gratipay experiment. --- README.rst | 7 ++++--- setup.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 84d5546..41c428c 100644 --- a/README.rst +++ b/README.rst @@ -4,6 +4,9 @@ AtomicFile .. image:: https://travis-ci.org/sashka/atomicfile.png?branch=master :target: https://travis-ci.org/sashka/atomicfile +.. image:: http://img.shields.io/gratipay/sashka.svg + :target: https://www.gratipay.com/sashka/ + Writeable file object that atomically updates a file. @@ -12,7 +15,7 @@ All writes will go to a temporary file. Call ``close()`` explicitly when you are AtomicFile is friendly to ``with`` statement. :: from atomicfile import AtomicFile - + with AtomicFile("panic.txt", "w") as f: f.write(json.dumps(big_data_array_100MB, sort_keys=True, indent=4)) @@ -23,5 +26,3 @@ To install AtomicFile, simply: :: pip install atomicfile - -You can buy me a cup of coffee or a glass of wine. Bitcoin could be sent to ``1Boahzk5jMTebqiKVESzbnVWTvBTGnAvYf`` diff --git a/setup.py b/setup.py index d679490..70440a2 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='atomicfile', - version='0.1', + version='1.0', author='Alexander Saltanov', author_email='asd@mokote.com', url='http://github.com/sashka/atomicfile',