Michael Kessler
ec71eea227
Minor doc changes.
2011-09-28 13:41:29 +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
d857134446
Fix code indention.
2011-09-27 20:44:17 +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
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
41ada16595
Allow more complex conditions when searching for guards
2011-09-23 00:39:27 +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
Darren Pearce
ec463a271b
Merge branch 'master' of git://github.com/guard/guard
...
Conflicts:
lib/guard/listener.rb
2011-09-21 17:14:09 -06:00
Darren Pearce
432d4a0991
changed watch deletions option to watch_all_modifiactions, Merge branch 'master' of git://github.com/guard/guard
...
Conflicts:
lib/guard.rb
lib/guard/cli.rb
lib/guard/listener.rb
2011-09-21 17:00:53 -06:00
Rémy Coutable
d493e3c5d9
Tiny doc improvements
2011-09-20 21:52:59 +02: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
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
d66a872f4a
Initial yardoc for Guard.
2011-09-20 11:40:47 +02: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
Darren Pearce
b74d09b9d6
Merge remote branch 'upstream/master'
...
Conflicts:
lib/guard.rb
lib/guard/listener.rb
spec/guard/listener_spec.rb
2011-09-13 16:50:24 -06: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
c4ddb29fc6
Work on specs
2011-09-01 23:24:45 +02:00
Thibaud Guillaume-Gentil
5de94ccbcb
Merge branch 'master' into stdin
...
Conflicts:
Guardfile
lib/guard.rb
2011-08-30 21:16:30 +02:00
Thibaud Guillaume-Gentil
3717179591
Refactor new interactor/listener mechanic now it's
...
look pretty.
Specs still need some love :)
2011-08-30 21:13:51 +02:00
Thibaud Guillaume-Gentil
e752dbe1c1
Maybe first working version (but still a work in progress)
2011-08-29 21:25:58 +02:00
Darren Pearce
8da8f6a33d
added optional support for watching deletions and with that comes file moves
2011-08-23 10:07:23 -06:00
Rémy Coutable
652c3d8661
Merge branch 'master' into hook
...
Conflicts:
lib/guard.rb
lib/guard/dsl.rb
spec/guard/dsl_spec.rb
spec/guard_spec.rb
2011-08-17 10:45:20 +02:00
Thibaud Guillaume-Gentil
af408ceb65
Add thread in guard interactor
2011-08-17 10:07:30 +02:00
Rémy Coutable
dc2ab97d23
Pass the group in the options hash instead of a new parameter in the Guard::Guard.initialize method!
2011-08-17 10:04:42 +02:00
Rémy Coutable
32904356cb
Merge branch 'master' into hook
2011-08-17 01:47:25 +02:00
Rémy Coutable
563b020d4f
Oops (worked on 1.9.2 only) :)
2011-08-17 01:36:44 +02:00
Rémy Coutable
eb347ee266
Merge branch 'master' into hook
...
Conflicts:
Gemfile
Guardfile
README.markdown
Rakefile
lib/guard.rb
lib/guard/dsl.rb
lib/guard/interactor.rb
lib/guard/listener.rb
lib/guard/ui.rb
lib/guard/watcher.rb
spec/guard/dsl_spec.rb
spec/guard/notifier_spec.rb
2011-08-17 01:34:27 +02:00
Rémy Coutable
dd86402109
Add @groups attributes to keep track of the groups, ordered as in the Guardfile
2011-08-17 00:39:45 +02:00
Thibaud Guillaume-Gentil
573ddf9d9d
First trial to remove Posix Signals interaction
2011-08-13 16:43:32 +02:00
Christian Höltje
091ecf3322
Add list command to CLI
...
This adds a list command, that shows all available
guard gems.
https://github.com/guard/guard/issues/111
2011-08-08 20:11:22 -04:00
Michael Kessler
9175b33da4
Merge branch 'master' of https://github.com/uk-ar/guard into uk-ar-master
...
Conflicts:
CHANGELOG.md
lib/guard.rb
lib/guard/cli.rb
2011-08-05 14:37:08 +02:00
Dmytrii Nagirniak
0c15b442f8
show error when loading guard fails (solves problem when you have no clue what's wrong)
2011-08-02 20:49:15 +10:00
Rémy Coutable
b34cd1acfb
Based on @ttilley explanation in https://github.com/thibaudgg/rb-fsevent/issues/17 , signal handlers registration should happen before any subprocess creation (fsevent_watch for instance) to be properly catches by the subprocess.
...
Note that in the case when guard is run via bundler, this –quoting @ttilley– "would make this an unsolvable problem" (isn't it dramatic?! ;)).
2011-07-30 23:58:53 +02:00
Rémy Coutable
1481604411
Rename Guard::Dsl.revaluate_guardfile to Guard::Dsl.reevaludate_guardfile
2011-07-29 00:22:53 +02:00
Rémy Coutable
48057cb6c8
New CLI options: watchdir and guardfile thanks to @nestegg!
2011-07-28 23:59:31 +02:00
Doug Renn
8e129c585a
Add a command line option for directory to watch
2011-07-22 16:10:36 -06:00
Doug Renn
e3bbdbfa42
Add a command line option to specify the guardfile
2011-07-22 15:27:03 -06:00
Doug Renn
ee8489fb83
Don't assume watched directory, use value from listener
2011-07-22 11:57:49 -06:00
Rémy Coutable
8a1ca41626
Moved Guard::Listener#update_last_event inside Guard::Listener#modified_files
...
Since the pattern was to always call Guard::Listener#update_last_event after Guard::Listener#modified_files.
2011-07-21 01:25:06 +02:00
Rémy Coutable
a318e03ad1
Added a debug message when running run_on_change
...
So the debug mode is a little more useful...
Also added timestamp in debug print
2011-07-21 01:21:04 +02:00
Benjamin Quorning
13e325ca52
Grammar fix
2011-07-12 04:06:55 -07:00
yuuki arisawa
8d02eec38c
Add support not to change files when dry run.
2011-07-02 19:16:06 +09:00