Commit Graph

6 Commits

Author SHA1 Message Date
Thibaud Guillaume-Gentil
01bf7505cd Merge branch 'master' of http://github.com/oliamb/guard into oliamb-master
Conflicts:
	lib/guard/guard.rb
2010-10-28 08:23:02 +02:00
Thibaud Guillaume-Gentil
470e763339 Updated guard methods readme 2010-10-27 22:14:21 +02:00
Olivier Amblet
cb8b845eb6 A bad guard do not threaten the whole process.
Every guard task are now executed through
supervised_task method.

If a guard failed to achieve its task(raise error)
a message is logged and the guard is fired.

The stop method now always quit the application
at the end.

Specs added. The documentation specify that if a
throw an exception, it will be dismissed.
2010-10-27 15:18:00 +02:00
Olivier Amblet
20d6938cf6 Added some docs about stop method
Tell about the fact that the stop metod must
return a value which can be evaluated to true if
everything went well.
2010-10-26 19:28:49 +02:00
Thibaud Guillaume-Gentil
057acfbb2f Added init feature 2010-10-07 22:37:30 +02:00
Thibaud Guillaume-Gentil
4d3744ff43 Initial commit 2010-10-03 23:00:33 +02:00