capistrano-hivequeen 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- data/capistrano-hivequeen.gemspec +1 -1
- data/lib/capistrano/hivequeen.rb +3 -0
- data/lib/capistrano/hivequeen/deploy.rb +1 -1
- metadata +52 -85
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
|
6
6
|
## If your rubyforge_project name is different, then edit it and comment out
|
7
7
|
## the sub! line in the Rakefile
|
8
8
|
s.name = 'capistrano-hivequeen'
|
9
|
-
s.version = '0.7.
|
9
|
+
s.version = '0.7.5'
|
10
10
|
s.date = Time.now.strftime("%Y-%m-%d")
|
11
11
|
|
12
12
|
## Make sure your summary is short. The description may be as long
|
data/lib/capistrano/hivequeen.rb
CHANGED
@@ -27,6 +27,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
27
27
|
# From the command line, use -s override=true to force a deployment
|
28
28
|
set :override, false
|
29
29
|
|
30
|
+
# Time to wait for Background jobs processes to start/stop
|
31
|
+
set :bg_wait_time, 30
|
32
|
+
|
30
33
|
# Load capistrano multi-stage extension
|
31
34
|
require 'fileutils' # required until https://github.com/capistrano/capistrano-ext/commit/930ca840a0b4adad0ec53546790b3f5ffe726538 is released
|
32
35
|
require 'capistrano/ext/multistage'
|
@@ -79,7 +79,7 @@ Capistrano::Configuration.instance.load do
|
|
79
79
|
%w(start stop restart).each do |action|
|
80
80
|
desc "#{action} the delayed_job processes"
|
81
81
|
task action, :roles => fetch(:bg_roles, [:bg]) do
|
82
|
-
run "sv #{action} `cd /etc/service; ls -d dj_*`"
|
82
|
+
run "sv -w #{bg_wait_time } #{action} `cd /etc/service; ls -d dj_*`"
|
83
83
|
end
|
84
84
|
end
|
85
85
|
end
|
metadata
CHANGED
@@ -1,90 +1,67 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-hivequeen
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.5
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 7
|
9
|
-
- 4
|
10
|
-
version: 0.7.4
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Aaron Suggs
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-02-08 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: capistrano-ext
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70274611545400 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
33
22
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: capistrano
|
37
23
|
prerelease: false
|
38
|
-
|
24
|
+
version_requirements: *70274611545400
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: capistrano
|
27
|
+
requirement: &70274611568540 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
version: "0"
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
47
33
|
type: :runtime
|
48
|
-
version_requirements: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: json
|
51
34
|
prerelease: false
|
52
|
-
|
35
|
+
version_requirements: *70274611568540
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: json
|
38
|
+
requirement: &70274611567020 !ruby/object:Gem::Requirement
|
53
39
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
61
44
|
type: :runtime
|
62
|
-
version_requirements: *id003
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: excon
|
65
45
|
prerelease: false
|
66
|
-
|
46
|
+
version_requirements: *70274611567020
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: excon
|
49
|
+
requirement: &70274611566240 !ruby/object:Gem::Requirement
|
67
50
|
none: false
|
68
|
-
requirements:
|
69
|
-
- -
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
hash: 7
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
- 6
|
75
|
-
- 0
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
76
54
|
version: 0.6.0
|
77
55
|
type: :runtime
|
78
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70274611566240
|
79
58
|
description: Capistrano extensions for interacting with HiveQueen
|
80
59
|
email: aaron@kickstarter.com
|
81
60
|
executables: []
|
82
|
-
|
83
61
|
extensions: []
|
84
|
-
|
85
|
-
extra_rdoc_files:
|
62
|
+
extra_rdoc_files:
|
86
63
|
- README.rdoc
|
87
|
-
files:
|
64
|
+
files:
|
88
65
|
- .gitignore
|
89
66
|
- README.rdoc
|
90
67
|
- capistrano-hivequeen.gemspec
|
@@ -92,39 +69,29 @@ files:
|
|
92
69
|
- lib/capistrano/hivequeen/deploy.rb
|
93
70
|
- lib/capistrano/hivequeen/server.rb
|
94
71
|
- lib/capistrano/hivequeen/setup.rb
|
95
|
-
has_rdoc: true
|
96
72
|
homepage: http://github.com/kickstarter/capistrano-hivequeen
|
97
73
|
licenses: []
|
98
|
-
|
99
74
|
post_install_message:
|
100
|
-
rdoc_options:
|
75
|
+
rdoc_options:
|
101
76
|
- --charset=UTF-8
|
102
|
-
require_paths:
|
77
|
+
require_paths:
|
103
78
|
- lib
|
104
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
105
80
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
110
|
-
|
111
|
-
- 0
|
112
|
-
version: "0"
|
113
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ! '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
86
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
|
119
|
-
segments:
|
120
|
-
- 0
|
121
|
-
version: "0"
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
122
91
|
requirements: []
|
123
|
-
|
124
92
|
rubyforge_project:
|
125
|
-
rubygems_version: 1.
|
93
|
+
rubygems_version: 1.8.11
|
126
94
|
signing_key:
|
127
95
|
specification_version: 2
|
128
96
|
summary: Capistrano extensions for interacting with HiveQueen
|
129
97
|
test_files: []
|
130
|
-
|