build-buddy 1.14.6 → 1.14.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d51cf77f9916a519d524c0bd288815d1c9d981a2
4
- data.tar.gz: 8e53ea6638cfc890cdbb1da8319066e010b0734f
3
+ metadata.gz: f80fbebb98a9793bf00d84833b088452dd31274e
4
+ data.tar.gz: 8f41ea0634449a4a353a5515707c779fa18aeaa5
5
5
  SHA512:
6
- metadata.gz: 17b25098bc23b6bbd2a8730d0e813d83bf0e4ef403e7a0950027140f4d3c9e47108582bd366a874c0e5cd9578b8db1bb8158c3fd9478e90ca6723a056fe62f4f
7
- data.tar.gz: e111077dc168fd4c3b94b52d12420582a9243de6acee4faec8cdc9fa90dd025177a430277b8ddea99bbf089dd5065c6cc5fdf1eb0db40108bbf3c559bc1b093f
6
+ metadata.gz: 2dcfc6c114a37dc3e9b7ad3abfc36d07d9b26595aec1311488962c97beabfca5a8b373fb0cf5c9c562ce3a734c0a53f46b8317d2ef38130adbff23bc7f3c3ebf
7
+ data.tar.gz: 9697bbb136b1b6c009c18c367ac300eafe0a35194a4dec0126a26af867fde5da781e67fbca70df3a966b0c5b1c3def608f51c22012377640d467737273178f6d
data/lib/build_buddy.rb CHANGED
@@ -9,5 +9,5 @@ require 'build_buddy/recorder'
9
9
  require 'build_buddy/build_data'
10
10
 
11
11
  module BuildBuddy
12
- VERSION = "1.14.6"
12
+ VERSION = "1.14.7"
13
13
  end
@@ -96,13 +96,13 @@ module BuildBuddy
96
96
  unless bb_id.nil?
97
97
  bb_id = bb_id.upcase
98
98
  result = Celluloid::Actor[:scheduler].stop_build(bb_id, slack_user_name)
99
- response = case result
100
- when :active, :in_queue
101
- "OK#{is_from_slack_channel ? ' @' + slack_user_name : ''}, I #{result == :active ? "stopped" : "dequeued"} the build with identifier #{bb_id}."
102
- when :not_found
103
- "I could not find a queued or active build with that identifier"
104
- end
105
- info "Build #{bb_id} was stopped by #{slack_user_name}"
99
+ case result
100
+ when :active, :in_queue
101
+ response = "OK#{is_from_slack_channel ? ' @' + slack_user_name : ''}, I #{result == :active ? 'stopped' : 'dequeued'} the build with identifier #{bb_id}."
102
+ info "Build #{bb_id} was stopped by #{slack_user_name}"
103
+ when :not_found
104
+ response = "I could not find a queued or active build with that identifier"
105
+ end
106
106
  else
107
107
  response = "You must specify the build identifier. It can be an active build or a build in the queue."
108
108
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build-buddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.6
4
+ version: 1.14.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Lyon-smith