Rémy Coutable
e853009528
Refactored Guard::Dsl#callback and updated specs, improved inline docs for Guard::Hook#hook, added ENV["GUARD_ENV"] = 'development' in Guardfile so we see hooks firing! Run specs on REE too.
...
Signed-off-by: Rémy Coutable <rymai@rymai.me>
2011-04-30 00:45:38 +02:00
Rémy Coutable
b83653db2e
Added #callback DSL, modified Guard and Guard::Hook a bit in consequence.
...
Signed-off-by: Rémy Coutable <remy@jilion.com>
2011-04-30 00:45:38 +02:00
Rémy Coutable
73b2d0ba53
Removed not-used-anymore accessor
2010-12-17 20:57:11 +01:00
Rémy Coutable
1c86b1e632
Fix "uninitialized class variable @@guardfile in Guard::Dsl"
2010-12-17 18:44:12 +01:00
Rémy Coutable
a0f1ac4053
Renamed Guard::Dsl.guardfile_included? to Guard::Dsl.guardfile_include? (private API) and fix a bug where Guard::Dsl.guardfile_include? was not detecting guard specified with a symbol, double quotes or parenthesis in Guardfile.
...
e.g.:
guard :rspec
guard ('rspec')
guard("rspec")
...
2010-12-17 18:37:44 +01:00
Rémy Coutable
f90823ae90
Shortened implementation of the new group DSL method and made it (+ specs) clearer
2010-12-17 18:13:31 +01:00
Michael Kessler
63af219490
Enhance the DSL to allow grouping of guard definitions and run them selectively
2010-12-17 16:31:39 +01:00
Rémy Coutable
d0891efdc0
Remove useless variable assignment
2010-12-16 15:08:26 +01:00
Rémy Coutable
7f39a55fdf
Use 'guard' instead of 'g', use parenthesis and don't explicitly return when not necessary
2010-11-26 00:58:36 +01:00
Olivier Amblet
dd1100b4ae
Added DSL specs and improved error message.
...
DSL now have basics specs that confirm it works
I splitted file not found and invalid Guardfile
error message because it was confusing to know
in which case you are when it occurs :)
2010-10-30 18:26:09 +02:00
Thibaud Guillaume-Gentil
057acfbb2f
Added init feature
2010-10-07 22:37:30 +02:00
Thibaud Guillaume-Gentil
4d3744ff43
Initial commit
2010-10-03 23:00:33 +02:00