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
Thibaud Guillaume-Gentil
aaa08d3a89
Version 0.8.1
2011-09-29 09:22:02 +02:00
Rémy Coutable
1607901e43
Fixes #144 , due to a too-hardore refactoring! ;)
...
We will need specs for Guard::CLI!
2011-09-29 00:27:37 +02:00
Thibaud Guillaume-Gentil
243ea157a9
Version 0.8.0
2011-09-28 22:18:29 +02:00
Rémy Coutable
b2488e7b9e
Edited CHANGELOG.md via GitHub
2011-09-28 17:20:02 +03:00
Rémy Coutable
309ecc7b4b
Edited README.md via GitHub
2011-09-28 17:15:47 +03:00
Michael Kessler
db949bf9e4
Refactor the watch_all_modifications specs.
...
- Just test a single expectation per it block
- Better separation of fixture setup/teardown
2011-09-28 15:57:30 +02:00
Michael Kessler
40e033ce0f
Document passed options.
2011-09-28 15:47:53 +02:00
Michael Kessler
5d122466fa
Use new fixture helper.
2011-09-28 15:16:55 +02:00
Michael Kessler
ca7b059c66
Fix wrong wording.
2011-09-28 15:16:19 +02:00
Michael Kessler
5325cbdea1
Refactor listener specs.
...
- Introduce `listen_to`, `fixture` and `watch` spec helpers.
- Added docs to spec helper.
- Better separation of fixture setup/teardown and the actual expectation.
- Make line match within 120 characters.
2011-09-28 15:06:33 +02:00
Michael Kessler
14150889c5
Align variable assignment, make return variable clear.
2011-09-28 13:46:05 +02:00
Michael Kessler
ec71eea227
Minor doc changes.
2011-09-28 13:41:29 +02:00
Michael Kessler
81f713a9ae
Ignore .rvmrc.
2011-09-28 13:36:13 +02:00
Michael Kessler
83b1c9f787
Trigger all listener specs when listener_helper.rb is changed.
2011-09-28 13:34:53 +02:00
Michael Kessler
b00c850ef8
Put guards into groups.
...
Now I can just run the :specs group and run all specs
without generating the man pages.
In addition I enabled the full BDD cycle for development,
not sure why it wasn't enabled. Feel free to revert if there
is a specific reason for that.
2011-09-28 13:24:01 +02:00
Michael Kessler
a91874a4df
Ignore .rbx folder
2011-09-28 13:20:30 +02:00
Michael Kessler
b64b7882f7
Refactor massive execute_supervised_task_for_all_guards method.
...
- Renamed some Guard methods to be shorter and more consistent.
- Extract methods from execute_supervised_task_for_all_guards for less complexity.
- Added more specs for extracted methods.
- Added more docs on how marking of deleted/moved files works.
- Refactor Guard to be unaware of the :watch_all_modifications options for simplicity.
2011-09-28 12:42:09 +02:00
Michael Kessler
805fd174d9
Merge branch 'master' of github.com:guard/guard
2011-09-28 10:22:02 +02:00
Thibaud Guillaume-Gentil
479c6b1918
Typo
2011-09-28 08:47:01 +02:00
Michael Kessler
d857134446
Fix code indention.
2011-09-27 20:44:17 +02:00
Michael Kessler
7e6e52a2c9
Docs for #run_on_deletion Guard method.
2011-09-27 20:29:52 +02:00
Darren Pearce
87656c2065
Merge branch 'master' of git://github.com/guard/guard
2011-09-26 13:47:20 -06:00
Rémy Coutable
4572cbed0c
Remove strange man pages
2011-09-26 21:43:52 +02:00
Darren Pearce
67882bcceb
Merge branch 'master' of git://github.com/guard/guard
...
Conflicts:
lib/guard.rb
2011-09-26 12:22:02 -06:00
Darren Pearce
d9fc071492
fixed typo and updated relativize_paths regex
2011-09-26 11:37:54 -06:00
Michael Kessler
a1f37f60d6
Re-evaluate the Guardfile before reload all Guards ( Fixes #141 ).
2011-09-24 12:58:27 +02:00
Michael Kessler
0936771a9e
Decrease Travis sleep time.
2011-09-24 12:20:35 +02:00
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