capistrano-sidekiq-sic 0.4.2 → 0.4.3

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: 91472e92eaa09214379d59bd434c505d8ba23cc0
4
- data.tar.gz: 822148aa302edd82bad9d2b8cc44dffcc535b7eb
3
+ metadata.gz: a71cc4cc5f71d5fe531c0c0eaa3ae2bcea8d3524
4
+ data.tar.gz: 66997ad06a40f5cc2d51b7a706d22c47263f5cd8
5
5
  SHA512:
6
- metadata.gz: 0ca5ae2d37e810b60dd8881573081ac5453048c0b3c2cefd719d4e807629c304210c9cbaa3bc27dd67cceb7cec117c7579d209c2f2155950f77a200380fc1659
7
- data.tar.gz: 39525e9096d62056e0eb5db862c413d8b161b87941f55f0589ad79fc8e73f8823b2e3b2b695298e4f741fcfcb8a97074d82b7316c8a62aec0cc5d0370569f7a6
6
+ metadata.gz: e3127408035b12b5399ae3d16a45894fce5dd7964c4e93dbcbe19014a9be9f4a065f6287885db790a6a7fb6de55895a86b88040ae6fc8f0be89ed2269b9dc402
7
+ data.tar.gz: a1cba19d09ecb0a175b7f7f5d646a3a5551d21515893fb0ec95bb2a94db22d47872ecd86eb2f7265db380c52d1bb14d63364ffe6899140f7044968c3a1848609
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Sidekiq
3
- VERSION = '0.4.2'
3
+ VERSION = '0.4.3'
4
4
  end
5
5
  end
@@ -51,7 +51,7 @@ namespace :sidekiq do
51
51
  cmd += args
52
52
  end
53
53
 
54
- within fetch(:app_path) do
54
+ within release_path do
55
55
  with rails_env: fetch(:rails_env) do
56
56
  if run_in_background
57
57
  background *cmd, options
@@ -66,9 +66,7 @@ namespace :sidekiq do
66
66
  pids = processes_pids
67
67
  pids.reverse! if reverse
68
68
  pids.each_with_index do |pid_file, idx|
69
- within release_path do
70
- yield(pid_file, idx)
71
- end
69
+ yield(pid_file, idx)
72
70
  end
73
71
  end
74
72
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-sidekiq-sic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih