crushserver 0.3.4 → 0.3.5
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.yml +1 -1
- data/crushserver.gemspec +1 -1
- data/lib/crushserver/recipes.rb +2 -2
- metadata +3 -3
data/VERSION.yml
CHANGED
data/crushserver.gemspec
CHANGED
data/lib/crushserver/recipes.rb
CHANGED
|
@@ -62,13 +62,13 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
62
62
|
campfire = Tinder::Campfire.new ENV['CAMPFIRE_SUBDOMAIN'], :ssl => true, :token => ENV['CAMPFIRE_TOKEN']
|
|
63
63
|
room = campfire.find_room_by_name ENV['CAMPFIRE_ROOM']
|
|
64
64
|
snitch_message = fetch(:snitch_message) { ENV['MESSAGE'] || abort('Capfire snitch message is missing. Use set :snitch_message, "Your message"') }
|
|
65
|
-
room.
|
|
65
|
+
room.paste(snitch_message)
|
|
66
66
|
end
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
desc "Send a message to the campfire chat room about the deploy start"
|
|
70
70
|
task :snitch_start do
|
|
71
|
-
message = "#{ENV['USER'].upcase} is deploying #{application.upcase}. Please stand by..."
|
|
71
|
+
message = "#{ENV['USER'].upcase} is deploying #{application.upcase} to #{stage.to_s.upcase}. Please stand by..."
|
|
72
72
|
set :snitch_message, message
|
|
73
73
|
snitch
|
|
74
74
|
end
|
metadata
CHANGED