slackistrano 3.0.0 → 3.0.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: 59a1150f8f084d30eee0a6980e1c0da4dc1b1ed9
4
- data.tar.gz: 9cd936ebeafd517be8bd517c8de4dbf0f29a2b0b
3
+ metadata.gz: d61845e7cdfae5f62970368fb7151e5c2e01a525
4
+ data.tar.gz: 8b29ea88f33d79f8430f185bcf3d88a6bf9f79eb
5
5
  SHA512:
6
- metadata.gz: 6d24aba67028a48026a16c83911093d6a10f44851fedb38cc6cac106b4af1027538f2c376b40904154ca6c226fb6e7abcb9bd25819d5e359fe6549157a51ed2a
7
- data.tar.gz: ee872b49c00d621d5b40bd3122ef5921bd56305503886d696bebdd424f7e18f62d178469268e92ff4c94cfb34f7fa1b89093acd4524de69c8fbfa4d86d4aca48
6
+ metadata.gz: 26f4396d6d1ab40bebc9e66d26a43ad31b7d178c9444354031d5f20206b3ee34795dd9f06f331adcfa070c0e61da591888458e909d501e82a1054da0529f29da
7
+ data.tar.gz: 05fe08acd7d3a21495bbdabe64001a6d79ecf5e1f12360b23b564af01bb324a7a0b56ace54981e6379663cc90fd40d7b5ee3ea2b922f4d5eed1030d44615d636
@@ -49,7 +49,7 @@ namespace :load do
49
49
  set :slack_channel_reverted, -> { nil } # Channel to post to. Defaults to :slack_channel.
50
50
  set :slack_channel_failed, -> { nil } # Channel to post to. Defaults to :slack_channel.
51
51
 
52
- set :slack_icon_url, -> { 'http://gravatar.com/avatar/885e1c523b7975c4003de162d8ee8fee?r=g&s=40' }
52
+ set :slack_icon_url, -> { 'https://raw.githubusercontent.com/phallstrom/slackistrano/master/slackistrano.png' }
53
53
  set :slack_icon_emoji, -> { nil } # Emoji to use. Overrides icon_url. Must be a string (ex: ':shipit:')
54
54
  set :slack_username, -> { 'Slackistrano' }
55
55
 
@@ -1,3 +1,3 @@
1
1
  module Slackistrano
2
- VERSION = '3.0.0'
2
+ VERSION = '3.0.1'
3
3
  end
data/slackistrano.png ADDED
Binary file
data/spec/dry_run_spec.rb CHANGED
@@ -7,7 +7,7 @@ describe Slackistrano do
7
7
 
8
8
  %w[updating reverting updated reverted failed].each do |stage|
9
9
  it "does not post to slack on slack:deploy:#{stage}" do
10
- set "slack_run_#{stage}".to_sym, ->{ true }
10
+ set "slack_run_#{stage}".to_sym, -> { true }
11
11
  expect(Capistrano::Configuration).to receive(:dry_run?).and_return(true)
12
12
  expect(Slackistrano).not_to receive(:post)
13
13
  Rake::Task["slack:deploy:#{stage}"].execute
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: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Hallstrom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-29 00:00:00.000000000 Z
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -100,6 +100,7 @@ files:
100
100
  - lib/slackistrano/tasks/slack.rake
101
101
  - lib/slackistrano/version.rb
102
102
  - slackistrano.gemspec
103
+ - slackistrano.png
103
104
  - spec/capistrano_deploy_stubs.rake
104
105
  - spec/dry_run_spec.rb
105
106
  - spec/posting_to_multiple_channels_spec.rb