Skip to content

Commit

Permalink
README fix and preparing bump to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tsileo committed Dec 12, 2013
1 parent b6333cc commit 1ebfafa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def read(fname):

setup(
name="dirtools",
version="0.1.0",
version="0.2.0",
author="Thomas Sileo",
author_email="[email protected]",
description="Exclude/ignore files in a directory (using .gitignore like syntax), compute hash, search projects for an entire directory tree and gzip compression.",
Expand Down

0 comments on commit 1ebfafa

Please sign in to comment.