capistrano-graphite 1.0.1 → 1.0.2

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: 60c9b97e320cf08d4938903692509edd5461c6ff
4
- data.tar.gz: 5e029a18828420df084a31025e61b7b873cc5791
3
+ metadata.gz: ed60203a50fea8d5872b9443a58ffb86283ee191
4
+ data.tar.gz: dfc07a01653e5511046934e6e0fde87613cadf04
5
5
  SHA512:
6
- metadata.gz: 1a05c0951e1e3fe085c9c4799a2df0664164a77004d7fa6e4382a105337d90decc57ed25449ec746a8d9e17b90d437f6b37b49ba6a47aa7b3ce555db6c969a1b
7
- data.tar.gz: bb2277b64bd8650b695686bd1ef3b81a8b93c5e60c7e44e43eead5564b241ff7e47c09410ecc69b1941970432afea2a926a06b9602bca868b4ddbbe58a927b37
6
+ metadata.gz: 5c2faf586dda8861b94c5cae9812e343d12ff6ab34b8ded7960317b8dcf98324487c65055085f62c0c5b1344107fac3d18e7a56208d4a73686ac02f2e446a471
7
+ data.tar.gz: a917425e8095c7e9e7ff9a60b0f2c74532fb334e9ab845af96aea7578707db8a353f816c0fb699ecb9ff3f9134d1e5f760fcf038dc5b707956439056ff3b74e5
@@ -3,6 +3,6 @@
3
3
  module Capistrano
4
4
  # This module holds the capistrano-graphite version information.
5
5
  module Graphite
6
- VERSION = '1.0.1'
6
+ VERSION = '1.0.2'
7
7
  end
8
8
  end
@@ -25,7 +25,7 @@ end
25
25
 
26
26
  namespace :deploy do
27
27
  desc 'Post an event to graphite'
28
- task :post_graphite, :action do |args|
28
+ task :post_graphite, :action do |_, args|
29
29
  action = args[:action]
30
30
  run_locally do
31
31
  if fetch(:suppress_graphite_events).downcase == 'true'
@@ -40,11 +40,11 @@ namespace :deploy do
40
40
  end
41
41
 
42
42
  # Set the order for these tasks
43
- after 'deploy:updated', 'post_graphite_deploy' do
44
- Rake::Task['deploy:post_graphite'].invoke 'deploy'
43
+ after 'deploy:finishing', 'post_graphite_deploy' do
44
+ invoke('deploy:post_graphite', 'deploy')
45
45
  end
46
- after 'deploy:reverted', 'post_graphite_rollback' do
47
- Rake::Task['deploy:post_graphite'].invoke 'rollback'
46
+ after 'deploy:finishing_rollback', 'post_graphite_rollback' do
47
+ invoke('deploy:post_graphite', 'rollback')
48
48
  end
49
49
  end
50
50
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - scottsuch