buildmeister 1.0.3 → 1.0.4
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 +1 -1
- data/lib/buildmeister/base.rb +4 -4
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.4
|
data/lib/buildmeister/base.rb
CHANGED
|
@@ -78,8 +78,9 @@ module Buildmeister
|
|
|
78
78
|
|
|
79
79
|
puts "Updated notification at #{Time.now.strftime("%m/%d %I:%M %p")}"
|
|
80
80
|
|
|
81
|
-
if changed?
|
|
82
|
-
Buildmeister::Notifier.post(title, body)
|
|
81
|
+
if changed? || @force
|
|
82
|
+
Buildmeister::Notifier.post(title, body)
|
|
83
|
+
@force = false
|
|
83
84
|
end
|
|
84
85
|
|
|
85
86
|
sleep notification_interval.minutes.to_i
|
|
@@ -108,9 +109,8 @@ module Buildmeister
|
|
|
108
109
|
end
|
|
109
110
|
rescue Interrupt => i
|
|
110
111
|
puts "\rPress ^C again to quit..."
|
|
111
|
-
|
|
112
112
|
sleep 3
|
|
113
|
-
|
|
113
|
+
@force = true
|
|
114
114
|
retry
|
|
115
115
|
end
|
|
116
116
|
end
|