capistrano-slackify 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -2
- 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: 5b2a846351630538a3d09f3d656904228de26405
|
|
4
|
+
data.tar.gz: 216e81c73f9c5569aac42ecba86a2795d1c5bdaa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5501205650457a9d25a20d8651bca094b798d401251b01697543458d27a8b5e55a310d36f29322ec63b36bfb88cd4c8688cbf41abb20d4d291ca8fc389163aa
|
|
7
|
+
data.tar.gz: effaac3d5fd3968727519a62a6eaeebe57c07f1f6f7ff0e26af58f4108d0d07ec1525ecd4dcea98bce19d3c5f69c0f5e930b8581a741a200e32929e69a8f6bea
|
data/README.md
CHANGED
|
@@ -29,9 +29,14 @@ And then set the required variables in `config/deploy.rb`:
|
|
|
29
29
|
|
|
30
30
|
Ensure that you have enabled the [incoming webhooks integration](https://api.slack.com/).
|
|
31
31
|
|
|
32
|
-
The task will run automatically on deploy,
|
|
32
|
+
The task will run automatically on deploy. Alternatively, you can notify of a deploy starting manually by using:
|
|
33
33
|
|
|
34
|
-
`bundle exec cap production slack:
|
|
34
|
+
`bundle exec cap production slack:notify_started`
|
|
35
|
+
|
|
36
|
+
Or to notify of a finished deploy:
|
|
37
|
+
|
|
38
|
+
`bundle exec cap production slack:notify_started`
|
|
39
|
+
|
|
35
40
|
|
|
36
41
|
By default, this will publish something along the lines of:
|
|
37
42
|
|
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 = '1.2.
|
|
7
|
+
spec.version = '1.2.2'
|
|
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}
|
|
@@ -10,7 +10,7 @@ namespace :slack do
|
|
|
10
10
|
fetch(:slack_url)
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
|
-
before 'deploy', 'slack:notify_started'
|
|
13
|
+
before 'deploy:starting', 'slack:notify_started'
|
|
14
14
|
|
|
15
15
|
desc 'Notify Slack of a deployment via the incoming webhooks integration - ' \
|
|
16
16
|
':slack_subdomain and :slack_token must be set'
|
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: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- seenmyfate
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-11-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|