lib/slackistrano/tasks/slack.rake in slackistrano-0.1.7 vs lib/slackistrano/tasks/slack.rake in slackistrano-0.1.8

- old
+ new

@@ -14,11 +14,12 @@ channel: fetch(:slack_channel_starting) || fetch(:slack_channel), username: fetch(:slack_username), icon_url: fetch(:slack_icon_url), icon_emoji: fetch(:slack_icon_emoji), attachments: [{ - text: fetch(:slack_msg_starting) + text: fetch(:slack_msg_starting), + mrkdwn_in: [:text] }] } ) end end @@ -37,11 +38,12 @@ username: fetch(:slack_username), icon_url: fetch(:slack_icon_url), icon_emoji: fetch(:slack_icon_emoji), attachments: [{ color: 'good', - text: fetch(:slack_msg_finished) + text: fetch(:slack_msg_finished), + mrkdwn_in: [:text] }] } ) end end @@ -60,10 +62,11 @@ username: fetch(:slack_username), icon_url: fetch(:slack_icon_url), icon_emoji: fetch(:slack_icon_emoji), attachments: [{ color: 'danger', - text: fetch(:slack_msg_failed) + text: fetch(:slack_msg_failed), + mrkdwn_in: [:text] }] } ) end end