lib/capistrano/tasks/slackify.cap in capistrano-slackify-2.8.0 vs lib/capistrano/tasks/slackify.cap in capistrano-slackify-2.9.0
- old
+ new
@@ -57,9 +57,10 @@
set :slack_username, 'Capistrano'
set :slack_emoji, ':ghost:'
set :slack_parse, 'default'
set :slack_user, -> { local_user.strip }
set :slack_fields, ['status', 'stage', 'branch', 'revision', 'hosts']
+ set :slack_custom_field_mapping, {}
set :slack_mrkdwn_in, []
set :slack_hosts, -> { release_roles(:all).map(&:hostname).join("\n") }
set :slack_url, -> { fail ':slack_url is not set' }
set :slack_text, lambda {
time_elapsed = Integer(fetch(:time_finished, 0) - fetch(:time_started, 0))