guard/listen — pull request #4 by thibaudgg (2012-01-21 20:11:27+00:00)
Title: First Listener#diff version

Here a first implementation attempt to make pass the Listener specs submitted by @netzpirat. This should allow us to easily implement the polling backend.

The diff method is greatly inspired by the [Vigilo one](https://github.com/wycats/vigilo/blob/master/lib/vigilo/adapters/base.rb) with some tuning. Stuff form Guard like lazy checksum check aren't be added yet too.

Some improvements/modifications will definitely be needed when other backends will be added, but it's just the beginning! :)

What do you think of this first version? (especially the recursive approach of the detect_modifications_and_removals method)