buildkite_watcher 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/buildkite_watcher.rb +2 -2
- data/lib/buildkite_watcher/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92f00810d0e3273b6d330c28a75f3ece4b22fdcdd0870e53193a1f92578fb3be
|
4
|
+
data.tar.gz: 47aeb03350b54192c6444e8ca480a3a7fbf1ce5c2110a73826c464442912a4d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36664edc82f91e7a5f3513c6b94c0d430779077fcda0925167b3f049990640e5dabebb39b3a9b268eacfb4d7e54e1e3e795491a420f85817fa27df8efd2681ca
|
7
|
+
data.tar.gz: 20e64a2459e523d00b75e7f96fbc9c54d58b5a1b3ab761edf9563db55d75c08de48616eb1e8e4ed041361872f6a27d3a92f4dcf5f71d50e40fc4c4a6af0cf198
|
data/Gemfile.lock
CHANGED
data/lib/buildkite_watcher.rb
CHANGED
@@ -161,7 +161,7 @@ module BuildkiteWatcher
|
|
161
161
|
return if new_result == previous_result || previous_result == BUILD_UNKNOWN_STATUS
|
162
162
|
|
163
163
|
case new_result
|
164
|
-
when
|
164
|
+
when BUILD_PASSED, BUILD_BLOCKED
|
165
165
|
system('osascript -e \'display notification "CI PASSED" with title "CI Result Watch" sound name "Glass"\'')
|
166
166
|
when BUILD_FAILED
|
167
167
|
system('osascript -e \'display notification "CI FAILED" with title "CI Result Watch" sound name "Basso"\'')
|
@@ -211,7 +211,7 @@ module BuildkiteWatcher
|
|
211
211
|
|
212
212
|
def print_state(state)
|
213
213
|
case state
|
214
|
-
when
|
214
|
+
when BUILD_PASSED, BUILD_BLOCKED
|
215
215
|
puts Rainbow("CI Status: ").bright + Rainbow(state).green
|
216
216
|
when BUILD_RUNNING
|
217
217
|
puts Rainbow("CI Status: ").bright + Rainbow(state).yellow
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildkite_watcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arturo Pie
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|