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 +4 -4
- data/capistrano-slackify.gemspec +1 -1
- data/lib/capistrano/tasks/slackify.cap +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce0b7def59d3e57eaa0e3119171c1a142bfc9f6a
|
4
|
+
data.tar.gz: 80389744054fd62319069a8ee877f6a09d1a8bbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96cbefefdc909e69a9324e4b48e7c696bc268cb4814fc868220f71c590093c6a87323a61472c2947f820c47f3027ee86c725185e10173d7181e50db4414f402e
|
7
|
+
data.tar.gz: 9bd3586d8a5f89a63ab3d3f52ade1f51abd7fc3c38b841844dc1587645d6a4128c202c8ed9c2cbf9c4adf2c67b876bb7e52f0f4352e8775a5e005179061b096c
|
data/capistrano-slackify.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
11
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|