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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/buildmeister/base.rb +4 -4
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildmeister
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh Caplan