capistrano-slackify 2.7.0 → 2.7.1

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: 89a12b4e67a8be244b4b52b3849fc9b71abebcf5
4
- data.tar.gz: bb5e6322dbeb1b0bf76f95923398ff165d7db361
3
+ metadata.gz: ce0b7def59d3e57eaa0e3119171c1a142bfc9f6a
4
+ data.tar.gz: 80389744054fd62319069a8ee877f6a09d1a8bbc
5
5
  SHA512:
6
- metadata.gz: 8b7c58e6eb57eaef08542fb98f1d0c8c8729e415a0d2dee8a9ad49720fdbd64944855690b780a733fa1456cf7c698dc2e49b9d81194ab533108285c5bf32eb12
7
- data.tar.gz: cbb331384f44f44b971200ab732e4459666d6eafa5fd93fe29b4f9bdcbf1ad7b700f518c276d60bd80725d84a0ddb359c40da134aa518447f50b4b21612c60d3
6
+ metadata.gz: 96cbefefdc909e69a9324e4b48e7c696bc268cb4814fc868220f71c590093c6a87323a61472c2947f820c47f3027ee86c725185e10173d7181e50db4414f402e
7
+ data.tar.gz: 9bd3586d8a5f89a63ab3d3f52ade1f51abd7fc3c38b841844dc1587645d6a4128c202c8ed9c2cbf9c4adf2c67b876bb7e52f0f4352e8775a5e005179061b096c
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-slackify'
7
- spec.version = '2.7.0'
7
+ spec.version = '2.7.1'
8
8
  spec.authors = ['seenmyfate']
9
9
  spec.email = ['seenmyfate@gmail.com']
10
10
  spec.summary = %q{Publish deployment notifications to Slack via the incoming webhooks integration}
@@ -62,7 +62,7 @@ namespace :load do
62
62
  set :slack_hosts, -> { release_roles(:all).map(&:hostname).join("\n") }
63
63
  set :slack_url, -> { fail ':slack_url is not set' }
64
64
  set :slack_text, lambda {
65
- time_elapsed = Integer(fetch(:time_finished) - fetch(:time_started))
65
+ time_elapsed = Integer(fetch(:time_finished, 0) - fetch(:time_started, 0))
66
66
  "#{fetch(:application)} deploy by #{fetch(:slack_user)}: " \
67
67
  "successful in #{time_elapsed} seconds."
68
68
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-slackify
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - seenmyfate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-15 00:00:00.000000000 Z
11
+ date: 2016-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano