capistrano-helpers 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/capistrano-helpers.gemspec +1 -1
- data/lib/capistrano-helpers/campfire.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.2
|
data/capistrano-helpers.gemspec
CHANGED
@@ -17,11 +17,11 @@ CapistranoHelpers.with_configuration do
|
|
17
17
|
end
|
18
18
|
git_config = Git.open('.').config rescue {}
|
19
19
|
someone = ENV['GIT_AUTHOR_NAME'] || git_config['user.name'] || `whoami`.strip
|
20
|
+
target = fetch(:stage, 'production')
|
20
21
|
config = YAML::load_file(config_file)
|
21
22
|
campfire = Tinder::Campfire.new(config['subdomain'], :token => config['token'])
|
22
23
|
room = campfire.find_room_by_name(config['room'])
|
23
|
-
|
24
|
-
room.speak("#{someone} just deployed #{application} #{branch} to #{stage}")
|
24
|
+
room.speak("#{someone} just deployed #{application} #{branch} to #{target}")
|
25
25
|
room.leave
|
26
26
|
end
|
27
27
|
end
|