Commit Graph

590 Commits

Author SHA1 Message Date
Michael Kessler
e9eaa39e4d Remove Travis debug output. 2011-09-24 12:14:59 +02:00
Michael Kessler
1571292ba7 Make spec sleep time a float. 2011-09-24 11:35:53 +02:00
Michael Kessler
8365d7c429 Set a generous spec sleep time on Travis. 2011-09-24 11:10:01 +02:00
Michael Kessler
5de287ba95 Make the sleep time for listener specs configurable. 2011-09-24 11:09:32 +02:00
Rémy Coutable
5c9ee2afdf Yardoc improvements [ci skip] 2011-09-23 11:01:52 +02:00
Rémy Coutable
a7a6c5c69e Improves yardoc (hopefully) [ci skip] 2011-09-23 10:52:58 +02:00
Rémy Coutable
a326c35875 Fix specs for Ruby != 1.9 2011-09-23 00:53:13 +02:00
Rémy Coutable
2f59a10558 Update CHANGELOG 2011-09-23 00:41:39 +02:00
Rémy Coutable
41ada16595 Allow more complex conditions when searching for guards 2011-09-23 00:39:27 +02:00
Rémy Coutable
0a60575dde Update CHANGELOG 2011-09-23 00:32:30 +02:00
Rémy Coutable
dc526f2898 Man 2011-09-23 00:23:46 +02:00
Rémy Coutable
1cd669bf60 Refactor & fix specs 2011-09-23 00:22:44 +02:00
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
78448631ab Remove GitHub flavoured Markdown until rubydoc.info shows the README correct. 2011-09-21 00:55:07 +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
9ebc59f533 Merge pull request #138 from rmm5t/patch-1
Fixed comments in example scaffold to reference interactions
2011-09-20 13:18:16 -07:00
Rémy Coutable
d493e3c5d9 Tiny doc improvements 2011-09-20 21:52:59 +02:00
Ryan McGeary
dd1a5cbb49 Fixed comments in example scaffold to reference interactions instead of signal handlers 2011-09-20 16:24:00 -03: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
Michael Kessler
48863fee0d Ignore generated documentation. 2011-09-20 10:03:09 +02:00
Michael Kessler
42d4d94611 Add yard options. 2011-09-20 10:02:54 +02:00
Michael Kessler
fc3e179a0c Add yard and kramdown to development dependencies. 2011-09-20 10:02:43 +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
1608b17501 Build only master and guard_dependencies branches on Travis 2011-09-16 01:20:42 +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
Rémy Coutable
22001c5ecd Optimize multiple if statements in Gemfile. 2011-09-15 22:02:23 +03:00