public
Rubygem
Description: This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
Homepage: http://www.nomedojogo.com/
Clone URL: git://github.com/carlosbrando/autotest-notification.git
Change pri to priority.
carlosbrando (author)
Thu Oct 09 12:02:16 -0700 2008
commit  7227f33ca53f6e58a8a1d1d5ff358cbfb042c278
tree    c0785b766961e4ea23bc147d5742ec1361568915
parent  7ceac2ddb59eb65b6600990cc14daf8b5f0a47f7
...
4
5
6
7
8
 
 
9
10
11
...
4
5
6
 
 
7
8
9
10
11
0
@@ -4,8 +4,8 @@ module AutotestNotification
0
 
0
     class << self
0
       
0
- def notify(title, msg, img, total = 1, failures = 0, pri = 0)
0
- system "growlnotify -n autotest --image #{img} #{'-s ' if ((failures > 0) and STICKY)}-p #{pri} -m '#{msg}' -t #{title}"
0
+ def notify(title, msg, img, total = 1, failures = 0, priority = 0)
0
+ system "growlnotify -n autotest --image #{img} #{'-s ' if ((failures > 0) and STICKY)}-p #{priority} -m '#{msg}' -t #{title}"
0
         say(total, failures) if SPEAKING
0
       end
0
 

Comments

    No one has commented yet.