Permalink
Browse files

Bouncing version numbers in gemspec ready for 2.5.9 (includes 4 bug-f…

…ixes) and fixes the bad example text in the Capfile"

Also fixes lighthouse tickets #92 (Typo in testing.md).
  • Loading branch information...
1 parent 2f8633c commit 75fe3af41d7cb094407f13acf8edede7af4f202a @leehambley leehambley committed Jul 27, 2009
Showing with 22 additions and 36 deletions.
  1. +1 −1 TESTING.md
  2. +19 −33 bin/capify
  3. +1 −1 capistrano.gemspec
  4. +1 −1 lib/capistrano/version.rb
View
@@ -3,7 +3,7 @@ Testing Capistrano
1. Install the Following Gem Dependencies
- `# gem install mocha echo`
+ `# gem install mocha echoe`
2. Run the following
View
@@ -36,46 +36,32 @@ def unindent(string)
end
files = {
+
"Capfile" => unindent(<<-FILE),
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'
FILE
"config/deploy.rb" => unindent(<<-FILE),
- set :application, "set your application name here"
- set :repository, "set your repository location here"
-
- # If you have previously been relying upon the code to start, stop
- # and restart your mongrel application, or if you rely on the database
- # migration code, please uncomment the lines you require below
-
- # If you are deploying a rails app you probably need these:
-
- # load 'ext/rails-database-migrations.rb'
- # load 'ext/rails-shared-directories.rb'
-
- # There are also new utility libaries shipped with the core these
- # include the following, please see individual files for more
- # documentation, or run `cap -vT` with the following lines commented
- # out to see what they make available.
-
- # load 'ext/spinner.rb' # Designed for use with script/spin
- # load 'ext/passenger-mod-rails.rb' # Restart task for use with mod_rails
- # load 'ext/web-disable-enable.rb' # Gives you web:disable and web:enable
-
- # If you aren't deploying to /u/apps/\#{application} on the target
- # servers (which is the default), you can specify the actual location
- # via the :deploy_to variable:
- # set :deploy_to, "/var/www/\#{application}"
-
- # If you aren't using Subversion to manage your source code, specify
- # your SCM below:
- # set :scm, :subversion
- # see a full list by running "gem contents capistrano | grep 'scm/'"
-
- role :web, "your web-server here"
-
+##
+## Generated By Capistrano #{Capistrano::Version}
+##
+
+set :application, "set your application name here"
+set :repository, "set your repository location here"
+
+# If you aren't using Subversion to manage your source code, specify
+# your SCM below:
+# set :scm, :subversion
+# see a full list by running "gem contents capistrano | grep 'scm/'"
+
+role :web, "your web-server here" # Your HTTP server, Apache/etc
+
+role :app, "your app-server here" # This may be the same as your `Web` server
+
+role :db, "your db-server here", :primary => true # This is where Rails migrations will run
+role :db, "your backup db-server here"
FILE
}
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{capistrano}
- s.version = "2.5.8"
+ s.version = "2.5.9"
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["Jamis Buck", "Lee Hambley"]
s.date = %q{2009-07-07}
@@ -6,7 +6,7 @@ module Capistrano
class Version < Net::SSH::Version
MAJOR = 2
MINOR = 5
- TINY = 5
+ TINY = 9
# The current version, as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)

0 comments on commit 75fe3af

Please sign in to comment.