slackistrano 0.0.10 → 0.0.11

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: 77fb030d4c17bdbfeb3e78e56599a8b215051fb8
4
- data.tar.gz: d018c24f3f57e5ea93238b521365ffa8dae4335e
3
+ metadata.gz: e0b8911f079b1099ab2803fad534c249e7627a83
4
+ data.tar.gz: 669c623ff3d1971d65989397b096b4eae3a6af62
5
5
  SHA512:
6
- metadata.gz: da0ed821356e1652997534cb478996c77b29941fcc4cc423254d896df0cfd0ba6d187ab04f1be0735907554ddba1e6a41a28bfe6811b5b6e89f426ae42d3544d
7
- data.tar.gz: 4238ef5dfe93dfcb9b3ce83e1221b8f6943a93fc0334be74971aebf5b603d8ca8a51ca9cb60be635a9e28b796624023eee7fbb1a5fb3aed4dcc12f7b3689cab9
6
+ metadata.gz: 869d57d3d9fd679d8f584434b61156a569be7a5ff9eaf72fcb1d96ee5d01eb9eededab2bc6c06f86fab210a0e26f8e6d0def82d55de64fc05ff4b987e0e3131b
7
+ data.tar.gz: 98afa5a8599e8be0fc99a9f40185616165eacc85e8e8d6e7ed4d426a285b3f6f97a14e07b2096cd9678f1804c25fdad22749b53d42f082819cdfa69f8b0ad0f6
@@ -59,9 +59,9 @@ namespace :slack do
59
59
  end
60
60
  end
61
61
 
62
- before 'deploy:starting', 'slack:deploy:starting'
63
- after 'deploy:finished', 'slack:deploy:finished'
64
- after 'deploy:failed', 'slack:deploy:failed'
62
+ after 'deploy:starting', 'slack:deploy:starting'
63
+ after 'deploy:finished', 'slack:deploy:finished'
64
+ after 'deploy:failed', 'slack:deploy:failed'
65
65
 
66
66
  namespace :load do
67
67
  task :defaults do
@@ -1,3 +1,3 @@
1
1
  module Slackistrano
2
- VERSION = '0.0.10'
2
+ VERSION = '0.0.11'
3
3
  end
data/spec/tasks_spec.rb CHANGED
@@ -5,8 +5,10 @@ describe Slackistrano do
5
5
  Rake::Task['load:defaults'].invoke
6
6
  end
7
7
 
8
- it "invokes slack:deploy:starting before deploy:starting" do
9
- expect(Rake::Task['deploy:starting'].prerequisites).to include 'slack:deploy:starting'
8
+ it "invokes slack:deploy:starting after deploy:starting" do
9
+ set :slack_run_starting, ->{ true }
10
+ expect(Slackistrano).to receive :post
11
+ Rake::Task['deploy:starting'].execute
10
12
  end
11
13
 
12
14
  it "invokes slack:deploy:finished after deploy:finished" do
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.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Hallstrom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-14 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano