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 +4 -4
- data/lib/slackistrano/tasks/slack.rake +1 -1
- data/lib/slackistrano/version.rb +1 -1
- data/slackistrano.png +0 -0
- data/spec/dry_run_spec.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d61845e7cdfae5f62970368fb7151e5c2e01a525
|
4
|
+
data.tar.gz: 8b29ea88f33d79f8430f185bcf3d88a6bf9f79eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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, -> { '
|
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
|
|
data/lib/slackistrano/version.rb
CHANGED
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.
|
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-
|
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
|