slackistrano 0.1.10 → 0.1.11

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: 1fd466c25c4838c4e90430a10b1cbc066aa4484b
4
- data.tar.gz: a91f72afa823a10732dcf377fb7f356692c59bee
3
+ metadata.gz: 6fb6dcaaae9129fe0614c9e805dba9884a27a0de
4
+ data.tar.gz: 46198dbaa6c0090c7a7f8b62b7cc32d5e14a0eec
5
5
  SHA512:
6
- metadata.gz: 1117d253bdc63affb1139dda892f63e552164e960bdf8298d0b5c737940f491a9d1d783da740ea384a1ef381c5007faaab8384ada27f0455593fe9ceab473e85
7
- data.tar.gz: 6c81ba3d72739b4b3482fe412738eabddbe8120c94720c9fd5ce64ac9f6f271694d1015026f9c5031f36a4a3df1193f8efe57db7ac2cb4529eb0934742830edd
6
+ metadata.gz: 0c7ea8caf9d43271715a592765bc1c02ab793d5d565292ff17a928adad7eda6b391ae7be4b14616af921341b1f66bb4cd1b8fe6c7152de65c38592b7500b4b9a
7
+ data.tar.gz: afcc7d71105b280eb26a02d43eae8b05e92d9b2d7eb129a954714acf2653e3fdff366a0240bd3eff2991cbbfa258b5c01c6df45c95b20344a41966159b891bec
data/README.md CHANGED
@@ -60,9 +60,10 @@ Optionally, override the other slack settings:
60
60
  set :slack_run_starting, -> { true }
61
61
  set :slack_run_finished, -> { true }
62
62
  set :slack_run_failed, -> { true }
63
- set :slack_msg_starting, -> { "#{ENV['USER'] || ENV['USERNAME']} has started deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
64
- set :slack_msg_finished, -> { "#{ENV['USER'] || ENV['USERNAME']} has finished deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
65
- set :slack_msg_failed, -> { "#{ENV['USER'] || ENV['USERNAME']} failed to deploy branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
63
+ set :slack_deploy_user, -> { ENV['USER'] || ENV['USERNAME'] }
64
+ set :slack_msg_starting, -> { "#{fetch :slack_deploy_user} has started deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
65
+ set :slack_msg_finished, -> { "#{fetch :slack_deploy_user} has finished deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
66
+ set :slack_msg_failed, -> { "#{fetch :slack_deploy_user} failed to deploy branch #{fetch :branch} of #{fetch :application} to #{fetch :rails_env, 'production'}" }
66
67
  set :slack_title_starting, -> { nil }
67
68
  set :slack_title_finished, -> { nil }
68
69
  set :slack_title_failed, -> { nil }
@@ -95,9 +95,10 @@ namespace :load do
95
95
  set :slack_run_starting, -> { true } # Set to false to disable starting message.
96
96
  set :slack_run_finished, -> { true } # Set to false to disable finished message.
97
97
  set :slack_run_failed, -> { true } # Set to false to disable failure message.
98
- set :slack_msg_starting, -> { "#{ENV['USER'] || ENV['USERNAME']} has started deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
99
- set :slack_msg_finished, -> { "#{ENV['USER'] || ENV['USERNAME']} has finished deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
100
- set :slack_msg_failed, -> { "#{ENV['USER'] || ENV['USERNAME']} failed to deploy branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
98
+ set :slack_deploy_user, -> { ENV['USER'] || ENV['USERNAME'] }
99
+ set :slack_msg_starting, -> { "#{fetch :slack_deploy_user} has started deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
100
+ set :slack_msg_finished, -> { "#{fetch :slack_deploy_user} has finished deploying branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
101
+ set :slack_msg_failed, -> { "#{fetch :slack_deploy_user} failed to deploy branch #{fetch :branch} of #{fetch :application} to #{fetch :stage, 'an unknown stage'}" }
101
102
  set :slack_title_starting, -> { nil }
102
103
  set :slack_title_finished, -> { nil }
103
104
  set :slack_title_failed, -> { nil }
@@ -1,3 +1,3 @@
1
1
  module Slackistrano
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slackistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Hallstrom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-12 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano