Commit Graph

307 Commits

Author SHA1 Message Date
Rémy Coutable
916613c027 Ensure group name is a Symbol in Guard::Guard#initialize 2011-09-23 00:22:25 +02:00
Rémy Coutable
12fcf15a95 New smart accessors for guards and groups 2011-09-23 00:21:30 +02:00
Rémy Coutable
ed97336c7d New Group class 2011-09-23 00:20:35 +02:00
Rémy Coutable
4c1cf825e5 Merge branch 'master' into guard_dependencies
Conflicts:
	lib/guard.rb
	lib/guard/dsl.rb
	man/guard
	man/guard.html
2011-09-22 22:44:15 +02:00
Rémy Coutable
bda57d1d8f Little doc improvements 2011-09-21 18:54:33 +02:00
Michael Kessler
507abce5b6 Fix some typos, better wording and formatting. 2011-09-21 01:30:35 +02:00
Michael Kessler
072d5404ee Merge pull request #137 from hron/guard
---

It seems like the new interactor eats input from $stdin even while it is locked. This disallow using tools like ruby-debug or pry in specs or cucumber.

The fix just kills the interactor when it is locked and runs it again when ulocked.

Conflicts:
	lib/guard/interactor.rb
2011-09-21 00:34:11 +02:00
Rémy Coutable
d493e3c5d9 Tiny doc improvements 2011-09-20 21:52:59 +02:00
Aleksei Gusev
8c6a30795a Change Guard::Interactor#lock and #unlock methods so they will lock interactor
in the right thread and free $stdin [closes #137].
2011-09-20 21:54:21 +03:00
Michael Kessler
c0dcef9dbc 100% yardoc
Files:          16
Modules:         5 (    0 undocumented)
Classes:        11 (    0 undocumented)
Constants:      20 (    0 undocumented)
Methods:       136 (    0 undocumented)
 100.00% documented
2011-09-20 15:07:29 +02:00
Michael Kessler
b944932f53 Document the hook module. 2011-09-20 14:42:32 +02:00
Michael Kessler
33b52d2955 Fix guard groups. 2011-09-20 14:26:27 +02:00
Michael Kessler
53802ed355 Add yardoc to listeners. 2011-09-20 13:58:25 +02:00
Michael Kessler
ad6fe6f69b Yardoc for the interactor. 2011-09-20 13:10:16 +02:00
Michael Kessler
98ee450037 Initial notifier yardoc. 2011-09-20 13:06:35 +02:00
Michael Kessler
ab91117ed7 Add yardoc to the UI class. 2011-09-20 12:54:36 +02:00
Michael Kessler
dddc2ad369 Add yardoc to the watcher class. 2011-09-20 12:54:28 +02:00
Michael Kessler
044100b7c3 Fix command debug. 2011-09-20 12:10:53 +02:00
Michael Kessler
2fa0f7255a Fix wrong params tag. 2011-09-20 12:08:51 +02:00
Michael Kessler
0f5b2b764a Initial yardoc for the main Guard class for specific implementations. 2011-09-20 12:07:34 +02:00
Michael Kessler
dc009d445a Add yardoc for the DslDescriber. 2011-09-20 11:49:05 +02:00
Michael Kessler
d66a872f4a Initial yardoc for Guard. 2011-09-20 11:40:47 +02:00
Michael Kessler
9df4b3c291 Add options to evaluate_guardfile. 2011-09-20 11:23:37 +02:00
Michael Kessler
7099774e7c Fix wrong yard param tags. 2011-09-20 11:13:12 +02:00
Michael Kessler
aa55d48b96 Initial yardoc for the DSL class. 2011-09-20 11:11:40 +02:00
Michael Kessler
e126c7f609 Add yardoc for CLI class. 2011-09-20 10:05:11 +02:00
Aleksei Gusev
443f57efce Fix interacting with tools like ruby-debug.
It seems like the new interactor eats input from $stdin even while it locked.
  This disallow using tools like 'ruby-debug' or 'pry' in specs or cucumber.

  The fix just kills the interactor when it is locked and runs it again when
  ulocked.
2011-09-19 23:27:05 +03:00
Rémy Coutable
f9521fe0fe nil is not accepted for catch's arg in other implementation than 1.9.2 2011-09-16 01:26:27 +02:00
Rémy Coutable
078d55f13c Actually halt guards' execution in a group only when the guard's task throw :task_has_failed (not when it returns false). 2011-09-16 01:20:22 +02:00
Rémy Coutable
b1b69924a7 First implementation of #97 "Guard dependencies". 2011-09-16 01:01:58 +02:00
Thibaud Guillaume-Gentil
fb2c320a2a Version 0.7.0 2011-09-14 09:52:36 +02:00
Thibaud Guillaume-Gentil
c704fe5d0b Version 0.7.0.rc1 2011-09-05 11:25:49 +02:00
Michael Kessler
84d6641925 Merge branch 'master' of github.com:guard/guard 2011-09-05 10:57:41 +02:00
Michael Kessler
b1bef902b1 Correct typo. 2011-09-05 10:44:50 +02:00
Thibaud Guillaume-Gentil
16fe7441d4 Use [mtime, ctime].max for == comparaison
Conflicts:

	lib/guard/listener.rb
2011-09-05 10:43:18 +02:00
Rémy Coutable
330493a572 Don't put a newline in debug output 2011-09-05 10:39:56 +02:00
Rémy Coutable
96604060ed Clean Hook code 2011-09-04 18:44:42 +02:00
Rémy Coutable
11495687f4 Merge branch 'master' into hook
Conflicts:
	Guardfile
	lib/guard.rb
	lib/guard/dsl.rb
	spec/guard/interactor_spec.rb
	spec/guard/listeners/darwin_spec.rb
2011-09-04 18:00:29 +02:00
Thibaud Guillaume-Gentil
60874a6991 Clean 2011-09-03 22:46:09 +02:00
Thibaud Guillaume-Gentil
f91622adc5 Clean 2011-09-03 22:37:50 +02:00
Thibaud Guillaume-Gentil
b0295c1437 Merge branch 'master' into stdin 2011-09-03 21:33:32 +02:00
Thibaud Guillaume-Gentil
8b66b71716 Travis test 2011-09-03 21:33:06 +02:00
Rémy Coutable
94a7c99b0c growl_notify gem is recommended over growl gem 2011-09-03 22:15:41 +03:00
Thibaud Guillaume-Gentil
41127e2cbf Only use crime on == timestamp comparison 2011-09-03 14:52:33 +02:00
Thibaud Guillaume-Gentil
5978e875df Put mtime (maybe ctime is updated on linux when moving a file) 2011-09-03 14:43:25 +02:00
Thibaud Guillaume-Gentil
68efb0d52f Focus on failed spec 2011-09-03 14:30:15 +02:00
Thibaud Guillaume-Gentil
667b248ad0 Add attrib on linux listener 2011-09-03 14:25:12 +02:00
Thibaud Guillaume-Gentil
18cb3471af Try to debug linux spec on travis 2011-09-03 14:16:32 +02:00
Thibaud Guillaume-Gentil
47be15125b Skip reactor on test env
Update last_event sooner
Use ctime instead of mtime (Rails 3.1 assets pipeline issue)
2011-09-02 16:22:01 +02:00
Thibaud Guillaume-Gentil
c4ddb29fc6 Work on specs 2011-09-01 23:24:45 +02:00