test_notifier 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/test_notifier.rb +3 -1
- data/lib/test_notifier/version.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/lib/test_notifier.rb
CHANGED
@@ -40,9 +40,11 @@ module Test
|
|
40
40
|
system("growlnotify -n test_notifier --image #{image} -p 2 -m \"#{message}\" -t \"#{title}\"")
|
41
41
|
elsif RUBY_PLATFORM =~ /mswin/
|
42
42
|
Snarl.show_message(title, message, image)
|
43
|
-
|
43
|
+
else
|
44
44
|
system("notify-send -i #{image} #{title} \"#{message}\"")
|
45
45
|
end
|
46
|
+
rescue
|
47
|
+
puts "=== test_notifier: No message lib found in your system. Please check the README.txt file"
|
46
48
|
end
|
47
49
|
end
|
48
50
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: test_notifier
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.0.5
|
7
|
+
date: 2007-11-08 00:00:00 -02:00
|
8
8
|
summary: Display system notifications (dbus, growl and snarl) after running tests. It works on Mac OS X, Linux and Windows. Powerful when used with Autotest ZenTest gem for Rails apps.
|
9
9
|
require_paths:
|
10
10
|
- lib
|