openminds_deploy 0.0.2 → 0.0.4

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.rdoc CHANGED
@@ -8,6 +8,7 @@ This is a set of defaults for deploying to the Openminds shared hosting servers.
8
8
  * openminds_deploy/svn[link:openminds_deploy/svn.rb] - for deploying with SVN.
9
9
  * openminds_deploy/passenger[link:openminds_deploy/passenger.rb] - for deploying to a passenger account (zink, pro-004, pro-005, pro-006)
10
10
  * openminds_deploy/lighttpd[link:openminds_deploy/lighttpd.rb] - for deploying to a lighttpd account (zuurstof, kobalt, koper)
11
+ * openminds_deploy/rails3[link:openminds_deploy/rails3.rb] - if you're deploying a Rails3 application. Takes care of Bundler
11
12
 
12
13
  == Example recipe
13
14
 
@@ -37,7 +38,18 @@ The block around it is a conveniece rescue if someone would deploy with this Cap
37
38
  INSTALL
38
39
  exit 1
39
40
  end
41
+
42
+ If you want to override some settings from the openminds_deploy recipes, define them after the openminds block.
43
+ ...
44
+ begin
45
+ require 'openminds_deploy/defaults'
46
+ rescue LoadError
47
+ $stderr.puts "Install the openminds_deploy gem"
48
+ exit 1
49
+ end
40
50
 
51
+ set :deploy_to, "/home/#{user}/apps/staging/#{application}"
52
+
41
53
  == Recipes in detail
42
54
  === openminds_deploy/defaults
43
55
  This sets up variables like use_sudo and group_writable, enables SSH forwarding, and adds a task to link config/database.yml.
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ begin
9
9
  # gem.homepage = "http://github.com/jomz/gorilla-capistrano-recipes"
10
10
  gem.authors = ["Jan De Poorter"]
11
11
  end
12
- Jeweler::OpenmindsTask.new
12
+ Jeweler::GemcutterTasks.new
13
13
  rescue LoadError
14
14
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler openminds_jeweler"
15
15
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.4
@@ -26,7 +26,7 @@ configuration.load do
26
26
  end
27
27
  end
28
28
 
29
- after('deploy:symlink') do
29
+ after('deploy:update_code') do
30
30
  dbconfig.link
31
31
  end
32
32
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{openminds_deploy}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jan De Poorter"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openminds_deploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jan De Poorter