Commit Graph

68 Commits

Author SHA1 Message Date
Rémy Coutable
39ea8441c0 Avoid using actual fixture files, instead mock Guardfile content (this way we can directly see tested Guardfile content in the specs. 2010-10-30 22:42:17 +02:00
Olivier Amblet
dd1100b4ae Added DSL specs and improved error message.
DSL now have basics specs that confirm it works
I splitted file not found and invalid Guardfile
error message because it was confusing to know
in which case you are when it occurs :)
2010-10-30 18:26:09 +02:00
Yann Lugrin
4da879e849 Add guard-nanoc 2010-10-28 11:00:18 +02:00
Thibaud Guillaume-Gentil
9c15536eda Little "refactoring" 2010-10-28 08:47:26 +02:00
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
2224ebe13a Merge branch 'master' of github.com:guard/guard 2010-10-27 22:14:31 +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
Yann Lugrin
02d081e84d fix changelog version number and release date 2010-10-27 14:06:26 +02:00
Thibaud Guillaume-Gentil
3d4b0d080d Added guards authors 2010-10-26 21:47:36 +02:00
Thibaud Guillaume-Gentil
728ae8cbe7 Added guard-coffeescript 2010-10-26 21:36:08 +02:00
Thibaud Guillaume-Gentil
a38b1ecc60 Bump to 0.2.2 2010-10-26 21:24:29 +02:00
Thibaud Guillaume-Gentil
edeaa1e864 Depends on rb-fsevent >= 0.3.5 for ruby 1.8.6 support 2010-10-26 21:24:04 +02:00
Thibaud Guillaume-Gentil
9c89577a6d Merge branch 'master' of http://github.com/oliamb/guard into oliamb-master 2010-10-26 20:16:11 +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
Yann Lugrin
3e44f396e5 remove Gemfile.lock from repo 2010-10-26 16:51:10 +02:00
Thibaud Guillaume-Gentil
6c89086dea Updated Notifier readme 2010-10-25 21:36:45 +02:00
Thibaud Guillaume-Gentil
5d0ec698de Properly close rb-fsevent pipe after killed it
Closes #5.
2010-10-25 21:36:04 +02:00
Yann Lugrin
7bae189eba more specs on linux listener 2010-10-25 11:16:56 +02:00
Yann Lugrin
0bff5e86d8 wait latency before inotify process to better prevent multiple run of guard on change 2010-10-25 10:24:33 +02:00
Yann Lugrin
6730679cc4 fix guard-bundler url in README 2010-10-24 18:38:45 +02:00
Yann Lugrin
4f4ec47e71 add guard-bundler to available guards list 2010-10-24 18:12:06 +02:00
Thibaud Guillaume-Gentil
df5278e988 Bump to 0.2.1 2010-10-24 10:31:16 +02:00
Thibaud Guillaume-Gentil
9742ce86a0 Updated rb-fsevent 2010-10-24 10:31:00 +02:00
Yann Lugrin
7af452dc4c don't need to be dup 2010-10-24 04:30:10 +08:00
Yann Lugrin
dd04914657 Linux support work fine now, don't loop more one time on same test. 2010-10-24 04:30:10 +08:00
Yann Lugrin
4daae46444 ensure don't have inotify event from past example in following example 2010-10-24 04:30:09 +08:00
Yann Lugrin
080ffe2efc stop linux listener quickly 2010-10-24 04:30:09 +08:00
Yann Lugrin
e19a9304ec Change inotify watch options to not fire event when file is juste read 2010-10-24 04:30:08 +08:00
Yann Lugrin
3cdcea3dfd locate_guard chomp newline at end of path 2010-10-24 04:30:07 +08:00
Thibaud Guillaume-Gentil
5371f467ff Bump to 0.2.0 2010-10-21 20:56:22 +02:00
Thibaud Guillaume-Gentil
8f0cb7c9e7 Updated Readme & Changelog 2010-10-21 20:56:09 +02:00
Yann Lugrin
59f9a9dafb guard notification work when guard guard 2010-10-22 02:24:03 +08:00
Yann Lugrin
08a9df7bab better support for jruby under linux (but all spec don't pass) 2010-10-22 02:24:02 +08:00
Yann Lugrin
ffe9f933b0 test of linux listener usability work with ruby 1.9.2 2010-10-22 02:24:02 +08:00
Yann Lugrin
eb8decd9ee linux and other system don't sort files in same order in polling listener, fix spec to work on linux 2010-10-22 02:24:01 +08:00
Yann Lugrin
31cfcc23d4 linux listener (and spec) work 2010-10-22 02:24:01 +08:00
Yann Lugrin
69245d9674 listener spec work on every systems 2010-10-22 02:24:00 +08:00
Yann Lugrin
9118f35a8d notifier spec work on linux 2010-10-22 02:23:59 +08:00
Yann Lugrin
8a63b94247 waiting on file system event don't block process on linux now (guard can be stopped, spec run but don't pass) 2010-10-22 02:23:59 +08:00
Thibaud Guillaume-Gentil
2191bc1088 Rescue Interrupt on run yield 2010-10-20 22:40:44 +02:00
Thibaud Guillaume-Gentil
f08a1025c2 Added guard-minitest in README 2010-10-20 22:36:26 +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
e5f4f2aa8d Updated guards list 2010-10-19 22:37:16 +02:00
Thibaud Guillaume-Gentil
67be4aae7a Added specific docs for Mac OS X & Linux 2010-10-19 21:49:54 +02:00
Thibaud Guillaume-Gentil
17411f989e Updated Gemfile 2010-10-19 21:49:33 +02:00
Thibaud Guillaume-Gentil
6db69c1b6a Removed growl & libnotify dependencies from gemspec 2010-10-19 21:49:17 +02:00
Yann Lugrin
a9d31d292a rescue Interrupt in Linux Listeners 2010-10-20 03:10:34 +08:00
Thibaud Guillaume-Gentil
c347c2c7e0 Added 1.8.6 compatibility
Closes #2.
2010-10-18 21:45:31 +02:00
Thibaud Guillaume-Gentil
ee3f3f64f7 Bump to 0.2.0.beta.1 (linux support not tested yet) 2010-10-17 21:43:45 +02:00