Rémy Coutable
1cd669bf60
Refactor & fix specs
2011-09-23 00:22:44 +02: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
Michael Kessler
0e1564ef3b
Revert "remove growl support completely"
...
This reverts commit 7f87411189
.
2011-08-17 14:27:40 +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
Thibaud Guillaume-Gentil
3c326611e9
Merge pull request #99 from johnbintz/also-use-growl_notify
...
Option to also use growl_notify gem
2011-08-13 07:42:08 -07:00
Rémy Coutable
95b86a38c7
Fix specs (hopefully)
2011-08-11 12:09:24 +02:00
John Bintz
7f87411189
remove growl support completely
2011-07-06 15:45:20 -04:00
John Bintz
facd4f2a0b
force use of Guard application name when using growl_notify
2011-07-01 11:52:24 -04:00
John Bintz
b13255a9f8
more test and support for growl_notify
2011-06-28 16:53:23 -04:00
John Bintz
e53036ad05
add support for growl_notify
2011-06-28 16:15:14 -04:00
Konstantin Shabanov
668e0f4d85
Use RbConfig instead of obsolete and deprecated Config.
2011-06-16 18:14:51 +07:00
Yann Lugrin
da1800f18a
.turn_on can't work for other platform, stub .enabled? instead
2011-06-07 19:13:48 +02:00
Yann Lugrin
d41e9fe7fe
don't use system notification library if could not be required
2011-06-07 17:58:02 +02:00
Yann Lugrin
e2b13d2dc5
bad use of around rspec hook (tests passes every times even if should fail)
2011-06-07 17:35:49 +02:00
Michael Kessler
1bcfdfd3ad
Make the notifier spec more robust on notification library loading.
...
I really love travis-ci, it makes my life easier AND harder.
2011-05-30 17:20:39 +02:00
Michael Kessler
320706e2f5
Merge pull request #51 from indirect/guard
...
---
This change allows guard plugins (like guard-rspec) to pass options (like :priority) up to the Growl notifier. With this change, things like indirect/rspec-guard@d2f01d69a7 are possible, and the growl notification colors can be customized depending on the outcome of the spec run.
Conflicts:
lib/guard/notifier.rb
2011-05-30 16:45:15 +02:00
Michael Kessler
2bebca2fcf
Make the notifier spec test all platforms on any platform.
2011-05-30 16:04:02 +02:00
slavic
ad3def39e2
Changes connected with new version of rb-notifu
2011-05-22 11:38:54 +03:00
slavic
18d2db9ff1
windows notifiaction works (tested with guard-bundler)
2011-05-22 00:47:02 +03:00
slavic
02448b8575
windows notifiaction
2011-05-21 02:19:42 +03:00
Michael Kessler
5f0c815256
Cleaning up all specs.
...
I basically went through all specs and applied the following rules:
* Use `describe` for methods and `context` for contexts.
* All class methods starts with `.` and instance methods with `#`.
* Removed all `it should`, because the specs _have to_.
* Applied a consistant naming on all listener specs.
* Make fixture usage more fail save by giving generous sleep times.
* Make all behaviour description non-technical and easy to understand.
The goal of this excercise was to have a documentation that is easy
readable and describes the behaviour and not the implementation.
Try it out by using the RSpec documentation format!
2011-05-13 11:26:05 +02:00
Thibaud Guillaume-Gentil
f424854e61
Refactorized notifier enabling/disabling
2011-05-10 21:22:25 +02:00
Rémy Coutable
9cfe8d3635
Don't modify a frozen hash.
2011-05-07 18:40:13 +02:00
Thibaud Guillaume-Gentil
2f94f9e22f
Fixed notification option
...
Only print notification "Install message" once
Added GUARD_NOTIFY=false env variable support
Fixes #28
2011-05-06 23:19:31 +02:00
Thibaud Guillaume-Gentil
a84e46ab48
Oups!
2011-05-06 21:29:22 +02:00
Thibaud Guillaume-Gentil
296837895a
Skipped Guard::Notifier spec if growl/libnotify not installed
2011-05-06 21:27:28 +02:00
Nick Sieger
5c1e264c39
Fix spec on JRuby that was failing due to different execution order
2011-05-06 12:09:00 -05:00
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
9b981f5459
Run guards for new modified files only if any guard match any file (preventing from clearing the screen when no guard will run!).
...
Signed-off-by: Rémy Coutable <remy@jilion.com>
2011-04-16 23:13:29 +02:00
Thibaud Guillaume-Gentil
42c27242e1
Added a command line option (-n false) to disable notifications (growl/libnotify). closed #28
2011-04-10 22:32:29 +02:00
Yann Lugrin
9118f35a8d
notifier spec work on linux
2010-10-22 02:23:59 +08:00
Thibaud Guillaume-Gentil
6db69c1b6a
Removed growl & libnotify dependencies from gemspec
2010-10-19 21:49:17 +02:00
Thibaud Guillaume-Gentil
3f922a0667
Refactorized listeners support
...
Added polling fallback
Removed sys-uname dependency
2010-10-17 21:42:40 +02:00
Thibaud Guillaume-Gentil
4d3744ff43
Initial commit
2010-10-03 23:00:33 +02:00