lib/fingercap/recipes/notify.rb in fingercap-0.3.1 vs lib/fingercap/recipes/notify.rb in fingercap-0.3.2
- old
+ new
@@ -16,10 +16,10 @@
puts "[!] Fingercap can't find it's configuration file at ~/.fingercap.yml"
puts File.read(File.expand_path('../../../../examples/fingercap.yml', __FILE__))
exit -1
end
- Broach.speak(Broach.session.room, "#{ENV['USER']} just #{action} #{application}: #{repository}")
+ Broach.speak(Broach.session.room, "#{ENV['USER']} just #{action} #{application}: #{variables[:url] || variables[:repository]}")
end
end
desc "Posts a `deployed' message to Campfire"
task :deploy do
\ No newline at end of file