growltdf 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/bin/growltdf +8 -3
- data/growltdf.gemspec +1 -1
- metadata +1 -1
data/README
CHANGED
data/bin/growltdf
CHANGED
@@ -27,7 +27,7 @@ Main {
|
|
27
27
|
growltdf --growl-password=password
|
28
28
|
__
|
29
29
|
|
30
|
-
version '0.4.
|
30
|
+
version '0.4.5'
|
31
31
|
|
32
32
|
option('stage'){
|
33
33
|
argument :required
|
@@ -64,12 +64,16 @@ Main {
|
|
64
64
|
|
65
65
|
@growl.notify 'initialize', 'growltdf', 'starting...'
|
66
66
|
|
67
|
-
|
67
|
+
msg = <<-__
|
68
|
+
|
69
|
+
|
68
70
|
you should see a growl notification now.
|
69
71
|
if you do not you need to configure growl as per
|
70
72
|
|
71
73
|
http://s3.amazonaws.com/drawohara.com.screenshots/growltdf-prefpane.png
|
74
|
+
|
72
75
|
__
|
76
|
+
logger.warn{ msg }
|
73
77
|
end
|
74
78
|
|
75
79
|
def determine_the_current_stage
|
@@ -91,7 +95,7 @@ Main {
|
|
91
95
|
|
92
96
|
def get_the_latest_live_entries
|
93
97
|
stage_url = stage_url_for(@stage)
|
94
|
-
|
98
|
+
logger.info{ "checking #{ stage_url } for updates..." }
|
95
99
|
dom = dom_for(stage_url)
|
96
100
|
live_entries = dom.search('#live_entries')
|
97
101
|
@latest_live_entries =
|
@@ -135,6 +139,7 @@ Main {
|
|
135
139
|
end
|
136
140
|
|
137
141
|
def wait_a_little_while
|
142
|
+
logger.info{ 'sleeping for 30s...' }
|
138
143
|
sleep 30
|
139
144
|
end
|
140
145
|
|
data/growltdf.gemspec
CHANGED