capistrano-sidekiq 0.3.1 → 0.3.2
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/lib/capistrano/sidekiq/version.rb +1 -1
- data/lib/capistrano/tasks/sidekiq.cap +11 -9
- 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: 8df38d1da01a9d56b5aebeb515a86f85df45d0d1
|
|
4
|
+
data.tar.gz: 228b81c8e7f0607ee75fad8eb2a22f0ffd7b987b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bcff748b9934123abe41995bea425e97d0fbb72065a960ebba5bfb0a5489aa75df969fc6bceb7e7d7aa905c10ba5402a8ed221e5e861086ff61082148d242e01
|
|
7
|
+
data.tar.gz: 85e06ba12c6bcfb348f8c20f466a496836cd7d2d62cf98d234e5ea7a543e5b96a07ba41d0bdb07d5a903b3560fc30e6bb97bcabf15adbba0f747f63cd57b9ac2
|
|
@@ -84,7 +84,9 @@ namespace :sidekiq do
|
|
|
84
84
|
args.push "--logfile #{fetch(:sidekiq_log)}" if fetch(:sidekiq_log)
|
|
85
85
|
args.push "--require #{fetch(:sidekiq_require)}" if fetch(:sidekiq_require)
|
|
86
86
|
args.push "--tag #{fetch(:sidekiq_tag)}" if fetch(:sidekiq_tag)
|
|
87
|
-
|
|
87
|
+
Array(fetch(:sidekiq_queue)).each do |queue|
|
|
88
|
+
args.push "--queue #{queue}"
|
|
89
|
+
end
|
|
88
90
|
args.push "--config #{fetch(:sidekiq_config)}" if fetch(:sidekiq_config)
|
|
89
91
|
args.push "--concurrency #{fetch(:sidekiq_concurrency)}" if fetch(:sidekiq_concurrency)
|
|
90
92
|
# use sidekiq_options for special options
|
|
@@ -190,14 +192,14 @@ namespace :sidekiq do
|
|
|
190
192
|
|
|
191
193
|
def template_sidekiq(from, to, role)
|
|
192
194
|
[
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
195
|
+
File.join('lib', 'capistrano', 'templates', "#{from}-#{role.hostname}-#{fetch(:stage)}.rb"),
|
|
196
|
+
File.join('lib', 'capistrano', 'templates', "#{from}-#{role.hostname}.rb"),
|
|
197
|
+
File.join('lib', 'capistrano', 'templates', "#{from}-#{fetch(:stage)}.rb"),
|
|
198
|
+
File.join('lib', 'capistrano', 'templates', "#{from}.rb.erb"),
|
|
199
|
+
File.join('lib', 'capistrano', 'templates', "#{from}.rb"),
|
|
200
|
+
File.join('lib', 'capistrano', 'templates', "#{from}.erb"),
|
|
201
|
+
File.expand_path("../../templates/#{from}.rb.erb", __FILE__),
|
|
202
|
+
File.expand_path("../../templates/#{from}.erb", __FILE__)
|
|
201
203
|
].each do |path|
|
|
202
204
|
if File.file?(path)
|
|
203
205
|
erb = File.read(path)
|
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.2
|
|
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-
|
|
11
|
+
date: 2014-06-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|