hubeye 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.rb +2 -2
- data/lib/notification/finder.rb +2 -2
- data/lib/notification/growl.rb +2 -2
- data/lib/server/hubeye_server.rb +1 -1
- metadata +1 -1
data/VERSION.rb
CHANGED
data/lib/notification/finder.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
module Notification
|
|
2
|
+
include Environment
|
|
2
3
|
|
|
3
|
-
dir = File.dirname(__FILE__)
|
|
4
4
|
CHANGE_ICON = "change_icon.jpg"
|
|
5
|
-
CHANGE_ICON_PATH =
|
|
5
|
+
CHANGE_ICON_PATH = (File.join(ROOTDIR, "images", CHANGE_ICON))
|
|
6
6
|
|
|
7
7
|
class Finder
|
|
8
8
|
|
data/lib/notification/growl.rb
CHANGED
|
@@ -2,9 +2,9 @@ module Autotest
|
|
|
2
2
|
module Growl
|
|
3
3
|
|
|
4
4
|
EXPIRATION_IN_SECONDS = 2
|
|
5
|
-
|
|
5
|
+
CHANGE_ICON_PATH = ::Notification::CHANGE_ICON_PATH
|
|
6
6
|
|
|
7
|
-
def self.growl(title, msg, img=
|
|
7
|
+
def self.growl(title, msg, img=CHANGE_ICON_PATH, pri=0, stick="")
|
|
8
8
|
system "growlnotify -n autotest --image #{img} -p #{pri} -m #{msg.inspect} #{title} #{stick}"
|
|
9
9
|
end
|
|
10
10
|
|
data/lib/server/hubeye_server.rb
CHANGED