capone 0.0.10 → 0.0.11

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 CHANGED
@@ -33,9 +33,10 @@ variables:
33
33
  require "capone"
34
34
 
35
35
  set :application, "set your application name here"
36
-
37
36
  set :repository, "set your repository location here"
38
- set :host, "set your host here"
37
+ set :host, "set your host here"
38
+
39
+ # See capone/recipes/defaults.rb for defaults
39
40
 
40
41
  ## Features
41
42
 
data/recipes/whenever.rb CHANGED
@@ -4,7 +4,7 @@ namespace :capone do
4
4
  Update the crontab file with whenever.
5
5
  DESC
6
6
  task :update_crontab, :roles => :db do
7
- run "cd #{release_path} && whenever --update-crontab #{application}"
7
+ run "cd #{release_path} && whenever --set environment=#{rails_env} --update-crontab #{application}-#{rails_env}"
8
8
  end
9
9
  end
10
10
  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.10
4
+ version: 0.0.11
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: 2010-01-14 00:00:00 +00:00
12
+ date: 2010-02-19 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -31,7 +31,6 @@ extensions: []
31
31
  extra_rdoc_files:
32
32
  - LICENSE
33
33
  - README.md
34
- - TODO
35
34
  files:
36
35
  - LICENSE
37
36
  - README.md
@@ -44,9 +43,7 @@ files:
44
43
  - recipes/delayed_job.rb
45
44
  - recipes/gems.rb
46
45
  - recipes/nginx.rb
47
- - recipes/replicate.rb
48
46
  - recipes/whenever.rb
49
- - TODO
50
47
  has_rdoc: true
51
48
  homepage: http://github.com/denis/capone
52
49
  licenses: []
data/TODO DELETED
@@ -1,26 +0,0 @@
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/replicate.rb DELETED
@@ -1,3 +0,0 @@
1
- task :replicate do
2
- capone.db.replicate
3
- end