Permalink
Browse files

capify, not deployify

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 3a7b2a3 commit c131e12ba56e1178d728cd69303bd9b6b5c46a3f @jamis jamis committed Apr 20, 2007
Showing with 6 additions and 4 deletions.
  1. +2 −0 CHANGELOG
  2. +3 −3 bin/{deployify → capify}
  3. +1 −1 capistrano.gemspec
View
@@ -1,5 +1,7 @@
*SVN*
+* Add `capify' script to make it easier to prepare a project for deployment using cap [Jamis Buck]
+
* Make sure the sudo helper understands the SuSE dialect of the sudo password prompt [Steven Wisener]
* Fix synchronization issue with Gateway initialization [Doug Barth]
@@ -1,13 +1,13 @@
#!/usr/bin/env ruby
if ARGV.empty?
- abort "Please specify the directory to deployify, e.g. `#{File.basename($0)} .'"
+ abort "Please specify the directory to capify, e.g. `#{File.basename($0)} .'"
elsif !File.exists?(ARGV.first)
abort "`#{ARGV.first}' does not exist."
elsif !File.directory?(ARGV.first)
abort "`#{ARGV.first}' is not a directory."
elsif ARGV.length > 1
- abort "Too many arguments; please specify only the directory to deployify."
+ abort "Too many arguments; please specify only the directory to capify."
end
def unindent(string)
@@ -51,4 +51,4 @@ files.each do |file, content|
end
end
-puts "[done] deployified!"
+puts "[done] capified!"
View
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
s.autorequire = 'capistrano'
s.bindir = "bin"
- s.executables << "cap" << "deployify"
+ s.executables << "cap" << "capify"
s.add_dependency 'net-ssh', ">= #{Capistrano::Version::SSH_REQUIRED.join(".")}"
s.add_dependency 'net-sftp', ">= #{Capistrano::Version::SFTP_REQUIRED.join(".")}"

0 comments on commit c131e12

Please sign in to comment.