capistrano-sidekiq 0.3.3 → 0.3.4

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: 6159336c6956ae08c79efd3024201ab58efd4b04
4
- data.tar.gz: 5890c0db99614b42bcd29425fb8ac49e6c729f48
3
+ metadata.gz: ab36fda5a652e90bd336ee79463707f44d7ebad5
4
+ data.tar.gz: ca8b1b851e80a05af97e4e0b65d2df96cb65f8ef
5
5
  SHA512:
6
- metadata.gz: 04db5759cf66328e5269366eddad207efc614931191ccd28f28321bb4e0c3e2b217f00b3f67fb310d708a8c13e421ac96e60c2e4fc205da42ba851291f6288b2
7
- data.tar.gz: a0c292c9128d6e5700f4d6d4ba7293b0684a6561a1655df4d2a52b88253e14e5367ed7132a50c7511c4ebc9dee3e72e9d7c156c7aa4fc8d68734ca1995ba9ac4
6
+ metadata.gz: 06c128f9fd071b6eb6978e5336e69d103a1bb11a2f779a5f9844394185fd8af5b0a1e38a9faa8c656fe889d45eb76e70599e066b15ce9af55bbadc668f07221e
7
+ data.tar.gz: 58de845740bba74db6d9fdc819bdfda857c303fe6c0c208ad4786422581ae252837018dae745d63ba0de38bac7c8984e52e1c6b0f052f52020069bb0ddcbe7db
data/README.md CHANGED
@@ -48,7 +48,13 @@ Configurable options, shown here with defaults:
48
48
  :sidekiq_cmd => "#{fetch(:bundle_cmd, "bundle")} exec sidekiq" # Only for capistrano2.5
49
49
  :sidekiqctl_cmd => "#{fetch(:bundle_cmd, "bundle")} exec sidekiqctl" # Only for capistrano2.5
50
50
  ```
51
+
52
+ There is a know bug that prevent sidekiq from starting when pty is true
53
+ ```ruby
54
+ set :pty, false
55
+ ```
51
56
  ## Changelog
57
+ - 0.3.4: fix bug in sidekiq:start for capistrano 2 task
52
58
  - 0.3.3: sidekiq:restart after deploy:restart added to default hooks
53
59
  - 0.3.2: :sidekiq_queue accept an array
54
60
  - 0.3.1: Fix logs @rottman, add concurrency option support @ungsophy
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Sidekiq
3
- VERSION = '0.3.3'
3
+ VERSION = '0.3.4'
4
4
  end
5
5
  end
@@ -57,7 +57,7 @@ Capistrano::Configuration.instance.load do
57
57
  args.push '--daemon'
58
58
  end
59
59
 
60
- run "cd #{current_path} ; #{fetch(:sidekiq_cmd)} #{args.compact.join(' ')} ", pty: false
60
+ run "if [ -d #{current_path} ] && [ ! -f #{pid_file} ]; then cd #{current_path} ; #{fetch(:sidekiq_cmd)} #{args.compact.join(' ')} ; else echo 'Sidekiq is already running'; fi", pty: false
61
61
  end
62
62
 
63
63
  desc 'Quiet sidekiq (stop accepting new work)'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-12 00:00:00.000000000 Z
11
+ date: 2014-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano