capistrano-delayed_job 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/VERSION +1 -1
- data/capistrano-delayed_job.gemspec +4 -4
- data/lib/capistrano/delayed_job/config.rb +4 -4
- metadata +4 -4
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
net-sftp (>= 2.0.0)
|
10
10
|
net-ssh (>= 2.0.14)
|
11
11
|
net-ssh-gateway (>= 1.1.0)
|
12
|
-
capistrano-base_helper (0.0.
|
12
|
+
capistrano-base_helper (0.0.5)
|
13
13
|
capistrano (>= 2.15.5)
|
14
14
|
faraday (0.8.7)
|
15
15
|
multipart-post (~> 1.1)
|
@@ -65,5 +65,5 @@ PLATFORMS
|
|
65
65
|
DEPENDENCIES
|
66
66
|
bundler (>= 1.3.0)
|
67
67
|
capistrano (>= 2.15.5)
|
68
|
-
capistrano-base_helper (>= 0.0.
|
68
|
+
capistrano-base_helper (>= 0.0.5)
|
69
69
|
jeweler (~> 1.8.6)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "capistrano-delayed_job"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Leif Ringstad"]
|
@@ -43,18 +43,18 @@ Gem::Specification.new do |s|
|
|
43
43
|
|
44
44
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
45
|
s.add_runtime_dependency(%q<capistrano>, [">= 2.15.5"])
|
46
|
-
s.add_runtime_dependency(%q<capistrano-base_helper>, [">= 0.0.
|
46
|
+
s.add_runtime_dependency(%q<capistrano-base_helper>, [">= 0.0.5"])
|
47
47
|
s.add_development_dependency(%q<bundler>, [">= 1.3.0"])
|
48
48
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.6"])
|
49
49
|
else
|
50
50
|
s.add_dependency(%q<capistrano>, [">= 2.15.5"])
|
51
|
-
s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.
|
51
|
+
s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.5"])
|
52
52
|
s.add_dependency(%q<bundler>, [">= 1.3.0"])
|
53
53
|
s.add_dependency(%q<jeweler>, ["~> 1.8.6"])
|
54
54
|
end
|
55
55
|
else
|
56
56
|
s.add_dependency(%q<capistrano>, [">= 2.15.5"])
|
57
|
-
s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.
|
57
|
+
s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.5"])
|
58
58
|
s.add_dependency(%q<bundler>, [">= 1.3.0"])
|
59
59
|
s.add_dependency(%q<jeweler>, ["~> 1.8.6"])
|
60
60
|
end
|
@@ -11,9 +11,9 @@ Capistrano::Configuration.instance(true).load do
|
|
11
11
|
_cset :delayed_job_log_path, defer {"/var/log/service/#{fetch(:user)}/#{fetch(:application)}_#{Capistrano::BaseHelper.environment}/delayed_job"}
|
12
12
|
|
13
13
|
# runit paths
|
14
|
-
_cset :delayed_job_runit_local_config, File.join(File.expand_path(File.join(File.dirname(__FILE__),"
|
15
|
-
_cset :delayed_job_runit_control_q, File.join(File.expand_path(File.join(File.dirname(__FILE__),"
|
16
|
-
_cset :delayed_job_runit_local_log_run, File.join(File.expand_path(File.join(File.dirname(__FILE__),"
|
14
|
+
_cset :delayed_job_runit_local_config, File.join(File.expand_path(File.join(File.dirname(__FILE__),"../../../templates", "runit", )), "run.erb")
|
15
|
+
_cset :delayed_job_runit_control_q, File.join(File.expand_path(File.join(File.dirname(__FILE__),"../../../templates", "runit")), "control-q.erb")
|
16
|
+
_cset :delayed_job_runit_local_log_run, File.join(File.expand_path(File.join(File.dirname(__FILE__),"../../../templates", "runit")), "log-run.erb")
|
17
17
|
|
18
18
|
# monit configuration
|
19
19
|
_cset :delayed_job_monit_service_name, defer { "#{fetch(:user)}_#{fetch(:application)}_#{Capistrano::BaseHelper.environment}_delayed_job" }
|
@@ -24,6 +24,6 @@ Capistrano::Configuration.instance(true).load do
|
|
24
24
|
_cset :delayed_job_monit_cpu_alert_threshold, "90% for 2 cycles"
|
25
25
|
_cset :delayed_job_monit_cpu_restart_threshold, "95% for 5 cycles"
|
26
26
|
|
27
|
-
_cset :delayed_job_local_monit_config, File.join(File.expand_path(File.join(File.dirname(__FILE__),"
|
27
|
+
_cset :delayed_job_local_monit_config, File.join(File.expand_path(File.join(File.dirname(__FILE__),"../../../templates", "monit")), "delayed_job.conf.erb")
|
28
28
|
|
29
29
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-delayed_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.0.
|
37
|
+
version: 0.0.5
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.0.
|
45
|
+
version: 0.0.5
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: bundler
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
segments:
|
114
114
|
- 0
|
115
|
-
hash:
|
115
|
+
hash: 17458906657746692
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|