capistrano3-delayed-job 1.4.2 → 1.5.0

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: c2e10beaef2b7b7f43aec605d673d8238df46831
4
- data.tar.gz: f0d284c622cefaff87daab2d3d4c1b50f5b76b06
3
+ metadata.gz: c9181efcc71ea7bd7b9f1f483c735e5328fad5f5
4
+ data.tar.gz: bb53e141bebb9b24834803c76f4e68e746552b4f
5
5
  SHA512:
6
- metadata.gz: 8f64bfa666e147fdb1c9a39299aef2a43b15a7d6952a70a8cf2357632a4d46cbe609d2156c435d68ff5bdc769d10e821716523d2e5e51ad925615ae70783dd0c
7
- data.tar.gz: e20a8d4abcdf24544b7c8fd2035a21a85196f4e0174203cd77594550da7addcb4f5aa2fbf3c05e21fb09dfb32b585ce420a54cfb4ffa6b21dabfa82f1a4c8e53
6
+ metadata.gz: f979e1df2b0b9ea612d6c398f8e7339db2ec433bfeed7e262cdc26e24ad1cd70442983c7d19384eeed5c9f5d8a5a905fc284795d59cab4464fbe3d180254c65b
7
+ data.tar.gz: 05fe10270c191f054410d69a24f327daa1693fdc7223d717f5b7ae86a2661e8e6df0040d52adceb1dd15b174aa414361e833b2df375a1c79836192870781c0b5
data/README.md CHANGED
@@ -67,6 +67,9 @@ set :delayed_job_roles, [:app, :background]
67
67
  # Can be relative to the release_path or absolute
68
68
  # default value 'bin'
69
69
  set :delayed_job_bin_path, 'script' # for rails 3.x
70
+
71
+ ### Set the location of the delayed_job logfile
72
+ set :delayed_log_dir, 'path_to_logfile'
70
73
  ```
71
74
 
72
75
  It also adds the following hook
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano3-delayed-job"
7
- spec.version = "1.4.2"
7
+ spec.version = "1.5.0"
8
8
  spec.authors = ["Juan Ignacio Donoso", "Agustin Feuerhake", "Ignacio Baixas"]
9
9
  spec.email = ["juan.ignacio@platan.us", "agustin@platan.us", "ignacio@platanus"]
10
10
  spec.summary = %q{Adds support for delayed_jobs to Capistrano 3.x}
@@ -5,6 +5,7 @@ namespace :delayed_job do
5
5
  args << "-n #{fetch(:delayed_job_workers)}" unless fetch(:delayed_job_workers).nil?
6
6
  args << "--queues=#{fetch(:delayed_job_queues).join(',')}" unless fetch(:delayed_job_queues).nil?
7
7
  args << "--prefix=#{fetch(:delayed_job_prefix)}" unless fetch(:delayed_job_prefix).nil?
8
+ args << "--log-dir=#{fetch(:delayed_log_dir)}" unless fetch(:delayed_log_dir).nil?
8
9
  args << fetch(:delayed_job_pools, {}).map {|k,v| "--pool='#{k}:#{v}'"}.join(' ') unless fetch(:delayed_job_pools).nil?
9
10
  args.join(' ')
10
11
  end
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.4.2
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Ignacio Donoso
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-12-08 00:00:00.000000000 Z
13
+ date: 2015-12-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano