slackistrano 0.1.9 → 0.1.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a0f452cf7ee31969c23a554ccec0418f467f08d
4
- data.tar.gz: c905557c5378737e129954ca0cd76664d0ce9b39
3
+ metadata.gz: 1fd466c25c4838c4e90430a10b1cbc066aa4484b
4
+ data.tar.gz: a91f72afa823a10732dcf377fb7f356692c59bee
5
5
  SHA512:
6
- metadata.gz: aa80630b66e5b949ec5507aa23c5efcd55ac8856d3304e4bfac8d2389c1b9756976bda398c3494323eba6398fd9faf8e0ed86a9f2cfcb1be3e85ec0f3bbc29b8
7
- data.tar.gz: 3ac0e1018da28a10cc46c61de1ccca3928c12cf831ed262d355b88024e579f7eae450aae0c34b0aaab3ce295c990f73d3e1bd9383c4420753e146fb81990f1cd
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/supremegolf/slackistrano.png)](https://codeclimate.com/github/supremegolf/slackistrano)
5
- [![Build Status](https://travis-ci.org/supremegolf/slackistrano.png?branch=master)](https://travis-ci.org/supremegolf/slackistrano)
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 and and token in your application's config/deploy.rb:
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, "supremegolf"
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, -> { '#general' }
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.
@@ -1,3 +1,3 @@
1
1
  module Slackistrano
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
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@supremegolf.com"]
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/supremegolf/slackistrano"
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.9
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-04-06 00:00:00.000000000 Z
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@supremegolf.com
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/supremegolf/slackistrano
89
+ homepage: https://github.com/phallstrom/slackistrano
90
90
  licenses:
91
91
  - MIT
92
92
  metadata: {}