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 +4 -4
- data/README.md +6 -0
- data/lib/capistrano/sidekiq/version.rb +1 -1
- data/lib/capistrano/tasks/capistrano2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab36fda5a652e90bd336ee79463707f44d7ebad5
|
4
|
+
data.tar.gz: ca8b1b851e80a05af97e4e0b65d2df96cb65f8ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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.
|
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-
|
11
|
+
date: 2014-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|