capistrano-sidekiq 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/capistrano-sidekiq.gemspec +5 -4
- data/lib/capistrano/sidekiq/version.rb +1 -1
- data/lib/capistrano/tasks/sidekiq.cap +5 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74ef6b9511af05b398cd0fdd5cca3bacb91f1be5
|
|
4
|
+
data.tar.gz: ada7d3f58417c5b5308d45d948c175de100ca9ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f71a57fe8edb9e2d8d7b45e535550f740c79feafad72800a52a71ad5e242561f6e1ebc0416f6ace21a305ed36c6a4b3b0d191487bd8218d4adb1f307a93e6fe8
|
|
7
|
+
data.tar.gz: 6141fae6d8f7f139d086ea616bd92964c7cdab621ec835a246459e0d5a6fd9db0d4422d0ae2120c43b13574ff5dbfe5af8ad765326e884a234630797f608f2a3
|
data/README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
[](http://badge.fury.io/rb/capistrano-sidekiq)
|
|
2
|
+
[](https://gemnasium.com/seuros/capistrano-sidekiq)
|
|
3
|
+
|
|
1
4
|
# Capistrano::Sidekiq
|
|
2
5
|
|
|
3
6
|
Sidekiq integration for Capistrano
|
|
@@ -36,6 +39,8 @@ Configurable options, shown here with defaults:
|
|
|
36
39
|
:sidekiq_options => nil
|
|
37
40
|
:sidekiq_require => nil
|
|
38
41
|
:sidekiq_tag => nil
|
|
42
|
+
:sidekiq_config => nil
|
|
43
|
+
:sidekiq_queue => nil
|
|
39
44
|
:sidekiq_timeout => 10
|
|
40
45
|
:sidekiq_role => :app
|
|
41
46
|
:sidekiq_processes => 1
|
|
@@ -43,6 +48,7 @@ Configurable options, shown here with defaults:
|
|
|
43
48
|
:sidekiqctl_cmd => "#{fetch(:bundle_cmd, "bundle")} exec sidekiqctl" # Only for capistrano2.5
|
|
44
49
|
```
|
|
45
50
|
## Changelog
|
|
51
|
+
- 0.2.8: Added :sidekiq_queue & :sidekiq_config
|
|
46
52
|
- 0.2.7: Signal usage @penso
|
|
47
53
|
- 0.2.6: sidekiq:start check if sidekiq is running
|
|
48
54
|
- 0.2.5: bug fixes
|
|
@@ -54,6 +60,7 @@ Configurable options, shown here with defaults:
|
|
|
54
60
|
|
|
55
61
|
- [Jérémy Lecour] (https://github.com/jlecour)
|
|
56
62
|
- [Fabien Penso] (https://github.com/penso)
|
|
63
|
+
- [Alex Dunae] (https://github.com/alexdunae)
|
|
57
64
|
|
|
58
65
|
## Contributing
|
|
59
66
|
|
data/capistrano-sidekiq.gemspec
CHANGED
|
@@ -4,15 +4,16 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
require 'capistrano/sidekiq/version'
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name =
|
|
7
|
+
spec.name = 'capistrano-sidekiq'
|
|
8
8
|
spec.version = Capistrano::Sidekiq::VERSION
|
|
9
|
-
spec.authors = [
|
|
10
|
-
spec.email = [
|
|
9
|
+
spec.authors = ['Abdelkader Boudih']
|
|
10
|
+
spec.email = ['terminale@gmail.com']
|
|
11
11
|
spec.summary = %q{Sidekiq integration for Capistrano}
|
|
12
12
|
spec.description = %q{Sidekiq integration for Capistrano}
|
|
13
13
|
spec.homepage = 'https://github.com/seuros/capistrano-sidekiq'
|
|
14
|
-
spec.license =
|
|
14
|
+
spec.license = 'LGPL-3.0'
|
|
15
15
|
|
|
16
|
+
spec.required_ruby_version = '>= 1.9.3'
|
|
16
17
|
spec.files = `git ls-files`.split($/)
|
|
17
18
|
spec.require_paths = ['lib']
|
|
18
19
|
|
|
@@ -126,9 +126,11 @@ namespace :sidekiq do
|
|
|
126
126
|
desc 'Stop sidekiq'
|
|
127
127
|
task :stop do
|
|
128
128
|
on roles fetch(:sidekiq_role) do
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
if test("[ -d #{current_path} ]")
|
|
130
|
+
for_each_process(true) do |pid_file, idx|
|
|
131
|
+
if pid_process_exists?(pid_file)
|
|
132
|
+
stop_sidekiq(pid_file)
|
|
133
|
+
end
|
|
132
134
|
end
|
|
133
135
|
end
|
|
134
136
|
end
|
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.2.
|
|
4
|
+
version: 0.2.9
|
|
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-05-
|
|
11
|
+
date: 2014-05-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -71,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version:
|
|
74
|
+
version: 1.9.3
|
|
75
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
|
77
77
|
- - ">="
|