capistrano-delayed-job 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/delayed_job/helpers.rb +3 -1
- data/lib/capistrano/delayed_job/version.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: 3988871ad96962e800e848378bbe2b11f91c46d3
|
4
|
+
data.tar.gz: 4491bd852fd9e8b04003a99043b37b4449b51bfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6d58f344323ae2856da668a81c9f7cd9bf6e85c4780bfb69711a37b37e7c6c4b0f07e39c226a7a4886874230fc3e28cbe1cb17e172bed6ed3011d8ee3278919
|
7
|
+
data.tar.gz: 656c4928a24e7c0e5564cd5088353cebe1b2523beca5e6ed88ef7d2f669fee8f3a8d11e91498a665814117502c77a14b2c98d20e5be9da056956c11b6748f8e8
|
@@ -5,7 +5,9 @@ module Capistrano
|
|
5
5
|
module Helpers
|
6
6
|
|
7
7
|
def bundle_delayed_job(*args)
|
8
|
-
|
8
|
+
bin_dir = %w{bin script}.find{|dir_name| Dir.exists?(dir_name)}
|
9
|
+
raise "No bin or script dir found in project" if bin_dir.nil?
|
10
|
+
SSHKit::Command.new(:bundle, :exec, "#{bin_dir}/delayed_job", args).to_command
|
9
11
|
end
|
10
12
|
|
11
13
|
def dj_template(template_name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-delayed-job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruben Stranders
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|