slackistrano 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -7
- data/lib/slackistrano/version.rb +1 -1
- data/slackistrano.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fd466c25c4838c4e90430a10b1cbc066aa4484b
|
4
|
+
data.tar.gz: a91f72afa823a10732dcf377fb7f356692c59bee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1117d253bdc63affb1139dda892f63e552164e960bdf8298d0b5c737940f491a9d1d783da740ea384a1ef381c5007faaab8384ada27f0455593fe9ceab473e85
|
7
|
+
data.tar.gz: 6c81ba3d72739b4b3482fe412738eabddbe8120c94720c9fd5ce64ac9f6f271694d1015026f9c5031f36a4a3df1193f8efe57db7ac2cb4529eb0934742830edd
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Slackistrano
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/slackistrano.png)](http://badge.fury.io/rb/slackistrano)
|
4
|
-
[![Code Climate](https://codeclimate.com/github/
|
5
|
-
[![Build Status](https://travis-ci.org/
|
4
|
+
[![Code Climate](https://codeclimate.com/github/phallstrom/slackistrano.png)](https://codeclimate.com/github/phallstrom/slackistrano)
|
5
|
+
[![Build Status](https://travis-ci.org/phallstrom/slackistrano.png?branch=master)](https://travis-ci.org/phallstrom/slackistrano)
|
6
6
|
|
7
7
|
Send notifications to [Slack](https://slack.com) about [Capistrano](http://www.capistranorb.com) deployments.
|
8
8
|
|
@@ -33,8 +33,6 @@ You have two options to notify a channel in Slack when you deploy:
|
|
33
33
|
|
34
34
|
In both case, you need to enable the integration inside Slack and get the token and/or webhook url that will be needed later.
|
35
35
|
|
36
|
-
|
37
|
-
|
38
36
|
Require the library in your application's Capfile:
|
39
37
|
|
40
38
|
require 'slackistrano'
|
@@ -43,17 +41,18 @@ If you post using *Incoming Webhooks* you need to set your webhook url in your a
|
|
43
41
|
|
44
42
|
set :slack_webhook, "https://hooks.slack.com/services/XXX/XXX/XXX"
|
45
43
|
|
46
|
-
If you choose to post using *Slackbot* you **must** set your team
|
44
|
+
If you choose to post using *Slackbot* you **must** set your team, token, and channel in your application's config/deploy.rb:
|
47
45
|
|
48
46
|
set :slack_via_slackbot, true
|
49
|
-
set :slack_team, "
|
47
|
+
set :slack_team, "teamname"
|
50
48
|
set :slack_token, "xxxxxxxxxxxxxxxxxxxxxxxx"
|
49
|
+
set :slack_channel, '#general'
|
51
50
|
|
52
51
|
Optionally, override the other slack settings:
|
53
52
|
|
54
53
|
set :slack_icon_url, -> { 'http://gravatar.com/avatar/885e1c523b7975c4003de162d8ee8fee?r=g&s=40' }
|
55
54
|
set :slack_icon_emoji, -> { nil } # will override icon_url, Must be a string (ex: ':shipit:')
|
56
|
-
set :slack_channel, -> {
|
55
|
+
set :slack_channel, -> { nil } # Channel to post to. Optional. Defaults to WebHook setting. Required if using Slackbot.
|
57
56
|
set :slack_channel_starting, -> { nil } # Channel to post to. Optional. Defaults to :slack_channel.
|
58
57
|
set :slack_channel_finished, -> { nil } # Channel to post to. Optional. Defaults to :slack_channel.
|
59
58
|
set :slack_channel_failed, -> { nil } # Channel to post to. Optional. Defaults to :slack_channel.
|
data/lib/slackistrano/version.rb
CHANGED
data/slackistrano.gemspec
CHANGED
@@ -7,10 +7,10 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.name = "slackistrano"
|
8
8
|
gem.version = Slackistrano::VERSION
|
9
9
|
gem.authors = ["Philip Hallstrom"]
|
10
|
-
gem.email = ["philip@
|
10
|
+
gem.email = ["philip@pjkh.com"]
|
11
11
|
gem.description = %q{Send notifications to Slack about Capistrano deployments.}
|
12
12
|
gem.summary = %q{Send notifications to Slack about Capistrano deployments.}
|
13
|
-
gem.homepage = "https://github.com/
|
13
|
+
gem.homepage = "https://github.com/phallstrom/slackistrano"
|
14
14
|
gem.license = 'MIT'
|
15
15
|
|
16
16
|
gem.required_ruby_version = '>= 2.0.0'
|
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.
|
4
|
+
version: 0.1.10
|
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-
|
11
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '0'
|
69
69
|
description: Send notifications to Slack about Capistrano deployments.
|
70
70
|
email:
|
71
|
-
- philip@
|
71
|
+
- philip@pjkh.com
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
@@ -86,7 +86,7 @@ files:
|
|
86
86
|
- spec/capistrano_deploy_stubs.rake
|
87
87
|
- spec/spec_helper.rb
|
88
88
|
- spec/tasks_spec.rb
|
89
|
-
homepage: https://github.com/
|
89
|
+
homepage: https://github.com/phallstrom/slackistrano
|
90
90
|
licenses:
|
91
91
|
- MIT
|
92
92
|
metadata: {}
|