magic_recipes_two 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 630b8cf2d226676c404fa9341e2b29296056098e
|
4
|
+
data.tar.gz: 5795923a66d3431a81dd9a4b26a676d55e018dbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e8440d97da903955b8b2a2e4dfabf722a75226b98a48d3107acef689170867a0a2fccfc7c598cbd3f121493f6bea7f3b1e1b8f2b374973f8a68afd8a6bcb1ca
|
7
|
+
data.tar.gz: ed4c53c7c18c8036ce54a3246fb4f1fa743d05aee915a39cd3cf9403c5af6ecce1fb7810e67ac1cb0c4da4fbbf7b06d58b46505f41d34c2d4323def78990a7fd
|
@@ -5,8 +5,8 @@ namespace :load do
|
|
5
5
|
task :defaults do
|
6
6
|
set :slack_token, -> { "xxx-xxx-xxx-xxx" }
|
7
7
|
set :slack_channel, -> { "xxx-xxx-xxx-xxx" }
|
8
|
-
set :slack_text, -> { "*#{
|
9
|
-
set :slack_username, -> { "#{
|
8
|
+
set :slack_text, -> { "*#{ app_name }* new Deployment on *#{ fetch(:stage) }* ... check: #{fetch(:nginx_use_ssl) ? 'https': 'htpp'}://#{ fetch(:nginx_major_domain) ? fetch(:nginx_major_domain).gsub(/^\*?\./, "") : Array( fetch(:nginx_domains) ).first.gsub(/^\*?\./, "") }" }
|
9
|
+
set :slack_username, -> { "#{ app_name }-Bot (#{fetch(:stage)})" }
|
10
10
|
set :slack_production_icon, -> { "http://icons.iconarchive.com/icons/itzikgur/my-seven/128/Backup-IBM-Server-icon.png" }
|
11
11
|
set :slack_staging_icon, -> { "http://itekblog.com/wp-content/uploads/2012/07/railslogo.png" }
|
12
12
|
end
|
@@ -21,7 +21,7 @@ namespace :deploy do
|
|
21
21
|
params = {
|
22
22
|
token: fetch(:slack_token),
|
23
23
|
channel: fetch(:slack_channel),
|
24
|
-
text: fetch(:
|
24
|
+
text: fetch(:slack_text),
|
25
25
|
parse: "full",
|
26
26
|
mrkdwn: true,
|
27
27
|
username: fetch(:slack_username),
|