capone 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/TODO +26 -0
- data/recipes/defaults.rb +3 -0
- data/recipes/nginx.rb +6 -4
- data/recipes/replicate.rb +3 -0
- metadata +5 -2
data/TODO
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
## Features
|
2
|
+
|
3
|
+
### nginx
|
4
|
+
|
5
|
+
Capone assumes that your nginx config located in the `config/nginx.conf`
|
6
|
+
|
7
|
+
### Additional features
|
8
|
+
|
9
|
+
If your project uses delayed_job plugin:
|
10
|
+
|
11
|
+
set :delayed_job, true
|
12
|
+
|
13
|
+
If your project uses whenever plugin:
|
14
|
+
|
15
|
+
set :whenever, true
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
[ ] db.rb
|
20
|
+
|
21
|
+
release_path
|
22
|
+
current_path
|
23
|
+
previous_release
|
24
|
+
current_release
|
25
|
+
|
26
|
+
[ ] logrotate
|
data/recipes/defaults.rb
CHANGED
@@ -14,6 +14,9 @@ set :use_sudo, false
|
|
14
14
|
# Needed for proper password prompts
|
15
15
|
default_run_options[:pty] = true
|
16
16
|
|
17
|
+
# SSH options
|
18
|
+
ssh_options[:forward_agent] = true
|
19
|
+
|
17
20
|
# You can redefine these variables in your config/deploy.rb
|
18
21
|
|
19
22
|
# set :daemon_strategy, :mongrel_cluster
|
data/recipes/nginx.rb
CHANGED
@@ -25,8 +25,10 @@ namespace :capone do
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
on :load do
|
29
|
+
if fetch(:web_server, :nginx) == :nginx
|
30
|
+
before "deploy:start", "capone:nginx:enable_vhost"
|
31
|
+
after "deploy:stop", "capone:nginx:disable_vhost"
|
32
|
+
after "deploy:restart", "capone:nginx:reload_if_config_file_changed"
|
33
|
+
end
|
32
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Barushev
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-14 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -31,6 +31,7 @@ extensions: []
|
|
31
31
|
extra_rdoc_files:
|
32
32
|
- LICENSE
|
33
33
|
- README.md
|
34
|
+
- TODO
|
34
35
|
files:
|
35
36
|
- LICENSE
|
36
37
|
- README.md
|
@@ -43,7 +44,9 @@ files:
|
|
43
44
|
- recipes/delayed_job.rb
|
44
45
|
- recipes/gems.rb
|
45
46
|
- recipes/nginx.rb
|
47
|
+
- recipes/replicate.rb
|
46
48
|
- recipes/whenever.rb
|
49
|
+
- TODO
|
47
50
|
has_rdoc: true
|
48
51
|
homepage: http://github.com/denis/capone
|
49
52
|
licenses: []
|