Commit Graph

8 Commits

Author SHA1 Message Date
Rémy Coutable
3116b13f1b Optimized spec_helper, remove useless code and add the "bypass when test env" for UI.error 2010-11-26 00:57:08 +01:00
Rémy Coutable
e2247ea732 Improving, cleaning & making clear Guard class' specs 2010-11-03 23:31:00 +01:00
Thibaud Guillaume-Gentil
9c15536eda Little "refactoring" 2010-10-28 08:47:26 +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
Yann Lugrin
3cdcea3dfd locate_guard chomp newline at end of path 2010-10-24 04:30:07 +08:00
Thibaud Guillaume-Gentil
2191bc1088 Rescue Interrupt on run yield 2010-10-20 22:40:44 +02:00
Thibaud Guillaume-Gentil
ec87585472 guard init <guard-name> command no more need Gemfile presence but open_gem is required now
Closes #3.
2010-10-20 22:34:32 +02:00
Thibaud Guillaume-Gentil
c347c2c7e0 Added 1.8.6 compatibility
Closes #2.
2010-10-18 21:45:31 +02:00