From 1ebfafab160ecbcec39c56f8bf69488a88558ad2 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Thu, 12 Dec 2013 14:51:26 +0100 Subject: [PATCH] README fix and preparing bump to 0.2.0 --- CHANGES.rst | 2 +- README.rst | 14 +++++++------- setup.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index df3a6d1..c9cc077 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,7 +2,7 @@ Dirtools Changelog ==================== -0.1.1 (2013-12-12) +0.2.0 (2013-12-12) ================== - New ``compress_to`` methods for easy gzip compression with tarfile. diff --git a/README.rst b/README.rst index 126d50e..c45b670 100644 --- a/README.rst +++ b/README.rst @@ -106,23 +106,23 @@ Or if you want to do it manually: Track changes in directories ---------------------------- -Dirtools provides an helper ``DirIndex`` to help tracking changes in a directory over time, without duplicating it or without having direct access to it. +Dirtools provides an helper ``DirState`` to help tracking changes in a directory over time, without duplicating it or without having direct access to it. .. code-block:: python - from dirtools import Dir, DirIndex + from dirtools import Dir, DirState d = Dir(path) - dir_index = DirIndex(d) + dir_state = DirState(d) - index_file = dir_index.to_json() + state_file = dir_state.to_json() # Later... after some changes - dir_index = DirIndex.from_json(index_file) - dir_index2 = DirIndex(d) + dir_state = DirState.from_json(state_file) + dir_state2 = DirState(d) - changes = dir_index2 - dir_index + changes = dir_state2 - dir_state Helpers diff --git a/setup.py b/setup.py index 5aeb574..8bf334c 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def read(fname): setup( name="dirtools", - version="0.1.0", + version="0.2.0", author="Thomas Sileo", author_email="thomas.sileo@gmail.com", description="Exclude/ignore files in a directory (using .gitignore like syntax), compute hash, search projects for an entire directory tree and gzip compression.",