Michael Kessler
3b0e2ad305
Add support for Growl Notification Transport Protocol.
2011-10-12 20:54:57 +02:00
Michael Kessler
83def5004f
Disable bdd cycle.
...
Yes, it takes a way to long before you can get started.
We anyway have to run spec:portability to also locally
test on all supported Rubies.
2011-10-12 18:15:11 +02:00
Michael Kessler
4ed28a3cbe
Add watcher changes to the changelog.
2011-10-11 11:18:24 +02:00
Michael Kessler
7383efaf31
Document any_return on the Guard class.
2011-10-11 11:16:11 +02:00
Michael Kessler
f6bea4da59
Document known guard options.
2011-10-11 11:09:41 +02:00
Michael Kessler
8527cf40e3
Make only one assumption per context.
2011-10-11 11:06:30 +02:00
Michael Kessler
8891776e34
Merge remote-tracking branch 'earlonrails/return_on_guard'
2011-10-11 10:55:12 +02:00
Kevin Krauss
5429d10eb5
Removed extra attr_accessor and used proper formatting.
2011-10-10 15:10:44 -07:00
Kevin Krauss
037b1e6feb
Optional user defined return with guard options[:any_return]
2011-10-10 13:38:14 -07:00
Kevin Krauss
bdfdf45325
Switched the parameter to be added to the guard instead of the watcher.
2011-10-10 09:52:53 -07:00
Michael Kessler
0b837a20ec
Keep changelog in sync. [ci skip]
2011-10-10 08:36:32 +02:00
Michael Kessler
5c0105b2c1
Describe why UI class uses STDERR.
2011-10-10 08:29:43 +02:00
Thibaud Guillaume-Gentil
6f1a0acb2e
Merge pull request #156 from sunaku/patch-1
...
ui: print to STDERR (play nice with UNIX pipes)
2011-10-09 23:19:08 -07:00
Michael Kessler
1845efb11e
Add missing specs for Guard implementation base class
2011-10-10 08:05:10 +02:00
Kevin Krauss
a274fb1ddf
fixed spec for guard
2011-10-09 16:06:38 -07:00
Kevin Krauss
b2f282f1e8
watcher cleaned up.
2011-10-09 15:54:24 -07:00
Suraj N. Kurapati
31519887cd
ui: print to STDERR (play nice with UNIX pipes)
2011-10-09 00:10:39 -07:00
Thibaud Guillaume-Gentil
1c6ce380ea
Update README about Growl 1.3
2011-10-08 13:18:10 +03:00
Kevin Krauss
a7b6ebeef1
updated the watch spec to describe the tests better.
2011-10-07 10:45:26 -07:00
Kevin Krauss
33542acec9
watcher init now has an addition param that allows the user to return any obj type. The spec has been restored to its original and then more specs added for object support.
2011-10-07 10:36:47 -07:00
Kevin Krauss
d6b47f6448
Changed {:foo, 'bar'} to {:foo => 'bar'}
2011-10-05 18:09:28 -07:00
Kevin Krauss
a5dd0c7847
any return is ok. Pass the path and some other parameters if you would like and they don't become strings!
2011-10-05 18:01:55 -07:00
Thibaud Guillaume-Gentil
bebaef1592
Merge pull request #152 from scottdavis/master
...
Growl Notify Api Update
2011-10-04 23:34:29 -07:00
Kevin Krauss
47f3d878f6
When using a block allow none string return
2011-10-04 22:17:07 -07:00
Scott Davis
1181b8b234
updated the growl notify code to gracefuly fail if growl is not installed - this is new in growl_notify-0.0.3
2011-10-05 01:10:48 -04:00
Michael Kessler
8b6a035dfe
Make spec example simpler to avoid Ruby hash ordering issue.
2011-10-04 11:37:12 +02:00
Michael Kessler
a1e5723efe
Sort the Guard options when describe the DSL.
2011-10-04 10:26:06 +02:00
Michael Kessler
4451d73583
Move the template initialization to the Guard module and add specs.
2011-10-04 09:46:14 +02:00
Michael Kessler
cdf0906614
Move the DSL describing logic from the CLI to the DSLDescriber.
2011-10-04 09:04:50 +02:00
Michael Kessler
cba4e4c163
Add --fail-fast to RSpec configuration.
2011-10-04 08:51:55 +02:00
Michael Kessler
eb7081e3d2
Describe the relation of a task return value and the hook functions.
2011-10-03 11:32:40 +02:00
Thibaud Guillaume-Gentil
da866d3380
Version 0.8.4
2011-10-03 08:25:07 +02:00
Rémy Coutable
ac42712335
Fixed link.
...
[ci skip]
2011-10-03 01:10:37 +03:00
Rémy Coutable
6ae9a83dbd
Complete & simplify the CHANGELOG
2011-10-03 01:09:04 +03:00
Rémy Coutable
910856362e
Merge pull request #150 from f1sherman/use_mutex_instead_of_lock
...
fix issue where interator thread was continuing to capture input from std
2011-10-02 14:56:43 -07:00
Brian John
cd545d5207
fix issue where interator thread was continuing to capture input from stdin while a guard is being executed
2011-10-02 16:46:20 -05:00
Michael Kessler
1090e0f797
Merge pull request #148 from simi/patch-1
...
Correct string interpolation at guard init
2011-10-02 06:20:17 -07:00
Josef Šimánek
b15638f13c
Correct string interpolation at guard init
2011-10-02 16:15:48 +03:00
Thibaud Guillaume-Gentil
64ac60a1fe
Version 0.8.3
2011-10-01 20:53:21 +02:00
Michael Kessler
e26c1d2179
Update CHANGELOG.
2011-10-01 13:38:04 +02:00
Michael Kessler
7dcd7ca168
Update wrong spec description.
2011-10-01 13:37:49 +02:00
Brian John
b3535b4a4e
use a mutex instead of a lock for more efficient/simple locking
2011-09-30 20:45:41 -05:00
Michael Kessler
3c75205dd0
Merge branch 'master' of github.com:guard/guard
2011-09-30 18:35:31 +02:00
Michael Kessler
e33f5df518
Make Guard implementation of :task_has_failed simple.
...
This change makes sure that Guard implementation can just
`throw :task_has_failed` without knowing whether the enclosing
group has enabled :halt_on_fail.
The problem with throw/catch is, that when you throw a :symbol,
you'll have to catch it, otherwise you get a 'uncatched throw' error.
When the Guard group has not enabled :halt_on_fail, we catch the throw
when execute the supervised task.
2011-09-30 18:35:04 +02:00
Thibaud Guillaume-Gentil
b36bea28f3
Merge pull request #145 from johnbintz/master
...
Fix over-utilization of CPU in Interactor
2011-09-30 09:17:44 -07:00
John Bintz
776361d038
add a sleep to the interactor thread, because it's healthy to take a break every once in a while
2011-09-30 11:22:35 -04:00
Thibaud Guillaume-Gentil
6ecc541bda
Version 0.8.2
2011-09-30 16:47:43 +02:00
Michael Kessler
e9ddb1c110
Update wrong doc example. [ci skip]
2011-09-30 12:13:50 +02:00
Michael Kessler
5bdb56caa0
Update docs regarding :task_has_failed.
...
- Add :task_has_failed documentation to Guard and Group classes
- Consolidated Guard documentation from the README and its YARDOC.
- Remove all return `true` values from Guard task methods.
2011-09-30 11:30:05 +02:00
Thibaud Guillaume-Gentil
56ebe9f9f4
Improve guard stop
...
- prevent run_guard_task(:stop) to be skipped
2011-09-29 22:39:24 +02:00