Commit Graph

34 Commits

Author SHA1 Message Date
Michael Kessler
507abce5b6 Fix some typos, better wording and formatting. 2011-09-21 01:30:35 +02:00
Michael Kessler
98ee450037 Initial notifier yardoc. 2011-09-20 13:06:35 +02:00
Rémy Coutable
94a7c99b0c growl_notify gem is recommended over growl gem 2011-09-03 22:15:41 +03:00
Michael Kessler
0e1564ef3b Revert "remove growl support completely"
This reverts commit 7f87411189.
2011-08-17 14:27:40 +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
Daniel Mack
3663687ad6 Add ':transient => true' to default libnotify options
This is a new feature in libnotify causing transitions to vanish after
they've been displayed.
2011-08-11 11:24:14 +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
d41e9fe7fe don't use system notification library if could not be required 2011-06-07 17:58:02 +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
Thibaud Guillaume-Gentil
973aba4375 Merge pull request #64 from stereobooster/master
Windows notifications
2011-05-28 08:32:45 -07:00
Rémy Coutable
b471405f4d Merge branch 'master' of https://github.com/anithri/guard into anithri-master-55
Conflicts:
	lib/guard/notifier.rb
	spec/guard/dsl_spec.rb
	spec/guard/listeners/polling_spec.rb
	spec/guard/notifier_spec.rb
2011-05-27 17:56:18 +02:00
Yann Lugrin
492b5a4114 require guard/ui because notifier can be required without full guard 2011-05-23 22:35:37 +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
Thibaud Guillaume-Gentil
55946927c2 Required growl/libnotify each time in Guard::Notifier.notify for guard-rspec formatter that is called out of guard scope 2011-05-13 22:24:49 +02:00
Thibaud Guillaume-Gentil
71d8c7009b Back to ENV['GUARD_NOTIFY"] for listener on/off feature because of guard-rspec formatter. 2011-05-13 21:48:30 +02:00
Scott Parrish
3f15bbc1f0 Merge remote-tracking branch 'upstream/master'
Conflicts:
	lib/guard/notifier.rb
	spec/guard/notifier_spec.rb
2011-05-11 13:19:15 -06:00
Thibaud Guillaume-Gentil
f424854e61 Refactorized notifier enabling/disabling 2011-05-10 21:22:25 +02:00
Thibaud Guillaume-Gentil
1e5ab84b3a Fixed Guard::Notifier (when growl/libnotify not present) 2011-05-08 21:56:46 +02:00
Scott Parrish
562c367383 Made slight alteration to Guard::Notifier. pulled out logic into #should_send? to allow for stubbing in tests and added #turn_on to allow more flexibility for when things are or are not sent.
Notifier Specs changed to make pass, expanded and to use new notify strategies.  NOTE mac tests not tested.

i like the @enable as opposed to @disable, should be easy to reverse if necessary though
2011-05-07 00:43:21 -06: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
Nick Sieger
5c1e264c39 Fix spec on JRuby that was failing due to different execution order 2011-05-06 12:09:00 -05:00
Scott Parrish
f3d49ee81e Made slight alteration to Guard::Notifier. pulled out logic into #should_send? to allow for stubbing in tests and added #turn_on to allow more flexibility for when things are or are not sent.
Notifier Specs changed to make pass, expanded and to use new notify strategies.  NOTE mac tests not tested.
Guard::Dsl changed massively.  overall strategy was to decouple to evaluate_guardfile into "getting the data" and "using the data" parts.  this provides the ability to pass a string that contains the contents of a guardfile, or to pass a filename for a guardfile as well as reading the default loc for a guardfile.
Dsl specs changed massivly to support new style of Dsl
listener/linux_spec changed to add a few :long_running tags and to alter some paths to correct values
listener/polling_spec changed to add a few :long_running tags and to alter some paths to correct values
2011-05-05 03:05:58 -06:00
Andre Arko
ae1ae1cfbd Allow options (like :priority) to be passed through to Growl 2011-04-28 20:22:41 -07: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
Thibaud Guillaume-Gentil
6c89086dea Updated Notifier readme 2010-10-25 21:36:45 +02: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