capistrano3-delayed-job 1.7.4 → 1.7.5

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: e4de514ccab20aa23140b8cac3c61332bb68dce1
4
- data.tar.gz: 4a13b80787dc7fa7810dab0ae157ce2400fe3fe2
3
+ metadata.gz: 6c3bf7f04b4c647d99bf1f2bf10cbca4030eb65d
4
+ data.tar.gz: ecfdd0a5fa7134fb6bc87b9bcad26f97d6f89a8b
5
5
  SHA512:
6
- metadata.gz: d7510caa20a3d7279bff7baf4c910d5237dc1f08eb98ada5df66e48e59121e417cfbd3b2b441d84f0c59133b2c45fa70211e775dacad5b50275d5e7bcf54fd55
7
- data.tar.gz: ebdd7821c73264e3407160d7e1f4c229c522755c62b17f4c74100290576d480fd04cd5b354d6889387bb86bebb8a252c9dac2846a16105ebda6fe9fecfd67c8d
6
+ metadata.gz: 6ad466091620724ea0cd81889f2d7f5798d0b3947a99152ec692499638992b3f980f28dd46a8edc4de3335a16f00b43633cdd2d85a45296dbe90f8922dbef6fe
7
+ data.tar.gz: dcf3d007875f2107f5bb3ce2ce418efb2c1bfa9e006e782bb693ab005928188cdfc60cddf4d0fa333dae27a0a8c0beb9e6352cc5c7ccc378bc1257794d6ed3cb
data/README.md CHANGED
@@ -124,6 +124,10 @@ set :delayed_job_roles, [:app, :background]
124
124
  ### Set the location of the delayed_job pid file(s)
125
125
  # default value: "#{Rails.root}/tmp/pids" or "#{Dir.pwd}/tmp/pids"
126
126
  # set :delayed_job_pid_dir, 'path_to_pid_dir'
127
+
128
+ ### Set the options to be passed along to daemons when starting/stopping/restarting delayed_job workers
129
+ # options supported by daemons can be found at https://github.com/thuehlinger/daemons/blob/master/lib/daemons/cmdline.rb
130
+ # set :delayed_job_daemon_opts, ["no_wait", "shush"]
127
131
  ```
128
132
 
129
133
  It also conditionally adds the following hook:
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "capistrano3-delayed-job"
8
- spec.version = "1.7.4"
8
+ spec.version = "1.7.5"
9
9
  spec.authors = ["Rob Biedenharn",
10
10
  "Juan Ignacio Donoso",
11
11
  "Agustin Feuerhake",
@@ -18,6 +18,9 @@ namespace :delayed_job do
18
18
  elsif fetch(:delayed_job_pools, nil)
19
19
  args << fetch(:delayed_job_pools, {}).map {|k,v| "--pool='#{k}:#{v}'" }.join(' ')
20
20
  end
21
+ unless fetch(:delayed_job_daemon_opts).nil?
22
+ args << "--daemon-options='--#{fetch(:delayed_job_daemon_opts, []).join(',--')}'"
23
+ end
21
24
  args.join(' ')
22
25
  end
23
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-delayed-job
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.4
4
+ version: 1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Biedenharn