capistrano-delayed_job 0.0.1 → 0.0.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.
- data/README.md +2 -2
- data/VERSION +1 -1
- data/capistrano-delayed_job.gemspec +62 -0
- data/{capistrano-delayed_job → lib/capistrano/delayed_job}/config.rb +1 -0
- data/{capistrano-delayed_job → lib/capistrano/delayed_job}/monit.rb +3 -2
- data/{capistrano-delayed_job → lib/capistrano/delayed_job}/runit.rb +2 -2
- data/{capistrano-delayed_job.rb → lib/capistrano/delayed_job.rb} +3 -3
- metadata +7 -6
data/README.md
CHANGED
|
@@ -7,13 +7,13 @@ This gem provides recipes for [Delayed Job](https://github.com/collectiveidea/de
|
|
|
7
7
|
Add it to your Gemfile without requiring it
|
|
8
8
|
|
|
9
9
|
```ruby
|
|
10
|
-
gem 'capistrano-delayed_job'
|
|
10
|
+
gem 'capistrano-delayed_job'
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
In your deploy.rb:
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
|
-
require 'capistrano
|
|
16
|
+
require 'capistrano/delayed_job'
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
### Monit
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = "capistrano-delayed_job"
|
|
8
|
+
s.version = "0.0.2"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Leif Ringstad"]
|
|
12
|
+
s.date = "2013-07-05"
|
|
13
|
+
s.description = "Capistrano recipes for Delayed Job using runit and monit."
|
|
14
|
+
s.email = "leifcr@gmail.com"
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"README.md"
|
|
18
|
+
]
|
|
19
|
+
s.files = [
|
|
20
|
+
"Gemfile",
|
|
21
|
+
"Gemfile.lock",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"README.md",
|
|
24
|
+
"Rakefile",
|
|
25
|
+
"VERSION",
|
|
26
|
+
"capistrano-delayed_job.gemspec",
|
|
27
|
+
"lib/capistrano/delayed_job.rb",
|
|
28
|
+
"lib/capistrano/delayed_job/config.rb",
|
|
29
|
+
"lib/capistrano/delayed_job/monit.rb",
|
|
30
|
+
"lib/capistrano/delayed_job/runit.rb",
|
|
31
|
+
"templates/monit/delayed_job.conf.erb",
|
|
32
|
+
"templates/runit/log-run.erb",
|
|
33
|
+
"templates/runit/run.erb"
|
|
34
|
+
]
|
|
35
|
+
s.homepage = "https://github.com/leifcr/capistrano-delayed_job"
|
|
36
|
+
s.licenses = ["MIT"]
|
|
37
|
+
s.require_paths = ["lib"]
|
|
38
|
+
s.rubygems_version = "1.8.25"
|
|
39
|
+
s.summary = "Capistrano recipes for Delayed Job using runit and monit"
|
|
40
|
+
|
|
41
|
+
if s.respond_to? :specification_version then
|
|
42
|
+
s.specification_version = 3
|
|
43
|
+
|
|
44
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
45
|
+
s.add_runtime_dependency(%q<capistrano>, [">= 2.15.5"])
|
|
46
|
+
s.add_runtime_dependency(%q<capistrano-base_helper>, [">= 0.0.3"])
|
|
47
|
+
s.add_development_dependency(%q<bundler>, [">= 1.3.0"])
|
|
48
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.6"])
|
|
49
|
+
else
|
|
50
|
+
s.add_dependency(%q<capistrano>, [">= 2.15.5"])
|
|
51
|
+
s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.3"])
|
|
52
|
+
s.add_dependency(%q<bundler>, [">= 1.3.0"])
|
|
53
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.6"])
|
|
54
|
+
end
|
|
55
|
+
else
|
|
56
|
+
s.add_dependency(%q<capistrano>, [">= 2.15.5"])
|
|
57
|
+
s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.3"])
|
|
58
|
+
s.add_dependency(%q<bundler>, [">= 1.3.0"])
|
|
59
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.6"])
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Delayed Job - Monit
|
|
2
2
|
# Setup and management of Monit for Delayed Job
|
|
3
3
|
#
|
|
4
|
-
|
|
5
|
-
require 'capistrano
|
|
4
|
+
|
|
5
|
+
require 'capistrano/delayed_job/config'
|
|
6
|
+
require 'capistrano/base_helper/monit_base'
|
|
6
7
|
|
|
7
8
|
Capistrano::Configuration.instance(true).load do
|
|
8
9
|
after "monit:setup", "delayed_job:monit:setup"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Delayed Job - Runit
|
|
2
2
|
|
|
3
|
-
require 'capistrano
|
|
4
|
-
require 'capistrano
|
|
3
|
+
require 'capistrano/delayed_job/config'
|
|
4
|
+
require 'capistrano/base_helper/runit_base'
|
|
5
5
|
|
|
6
6
|
Capistrano::Configuration.instance(true).load do
|
|
7
7
|
after "deploy:setup", "delayed_job:runit:setup"
|
|
@@ -6,6 +6,6 @@ def try_require(library)
|
|
|
6
6
|
end
|
|
7
7
|
end
|
|
8
8
|
|
|
9
|
-
try_require 'capistrano
|
|
10
|
-
try_require 'capistrano
|
|
11
|
-
try_require 'capistrano
|
|
9
|
+
try_require 'capistrano/delayed_job/config'
|
|
10
|
+
try_require 'capistrano/delayed_job/runit'
|
|
11
|
+
try_require 'capistrano/delayed_job/monit'
|
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.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -89,10 +89,11 @@ files:
|
|
|
89
89
|
- README.md
|
|
90
90
|
- Rakefile
|
|
91
91
|
- VERSION
|
|
92
|
-
- capistrano-delayed_job.
|
|
93
|
-
- capistrano
|
|
94
|
-
- capistrano
|
|
95
|
-
- capistrano
|
|
92
|
+
- capistrano-delayed_job.gemspec
|
|
93
|
+
- lib/capistrano/delayed_job.rb
|
|
94
|
+
- lib/capistrano/delayed_job/config.rb
|
|
95
|
+
- lib/capistrano/delayed_job/monit.rb
|
|
96
|
+
- lib/capistrano/delayed_job/runit.rb
|
|
96
97
|
- templates/monit/delayed_job.conf.erb
|
|
97
98
|
- templates/runit/log-run.erb
|
|
98
99
|
- templates/runit/run.erb
|
|
@@ -111,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
111
112
|
version: '0'
|
|
112
113
|
segments:
|
|
113
114
|
- 0
|
|
114
|
-
hash:
|
|
115
|
+
hash: 2652527514004617028
|
|
115
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
117
|
none: false
|
|
117
118
|
requirements:
|