From 6ecc541bda0ffdc594b431826d39f07228dacf32 Mon Sep 17 00:00:00 2001 From: Thibaud Guillaume-Gentil Date: Fri, 30 Sep 2011 16:47:43 +0200 Subject: [PATCH 1/2] Version 0.8.2 --- CHANGELOG.md | 10 ++++++++++ lib/guard/version.rb | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22c63f4..2ee0b2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 0.8.2 - September 30, 2011 + +### Bugs fixes: + +- Fixed guard stop to prevent run_guard_task(:stop) to be skipped [guard-spork issue #28](https://github.com/guard/guard-spork/issues/28). ([@thibaudgg][]) + +### Improvement: + +- Update docs regarding :task_has_failed. ([@netzpirat][]) + ## 0.8.1 - September 29, 2011 ### Bugs fixes: diff --git a/lib/guard/version.rb b/lib/guard/version.rb index 8283c93..4c5b4ca 100644 --- a/lib/guard/version.rb +++ b/lib/guard/version.rb @@ -1,6 +1,6 @@ module Guard unless defined? Guard::VERSION # The current gem version of Guard - VERSION = '0.8.1' + VERSION = '0.8.2' end end From 776361d038c8484e90553de03873a9152a1eecc2 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Fri, 30 Sep 2011 11:22:35 -0400 Subject: [PATCH 2/2] add a sleep to the interactor thread, because it's healthy to take a break every once in a while --- lib/guard/interactor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/guard/interactor.rb b/lib/guard/interactor.rb index c69dc5d..35ff09a 100644 --- a/lib/guard/interactor.rb +++ b/lib/guard/interactor.rb @@ -45,6 +45,7 @@ module Guard ::Guard.run_all end end + sleep 0.1 rescue LockException lock rescue UnlockException