Skip to content

Commit

Permalink
Refactored CLI stuff. Improved help system.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jamis committed Mar 4, 2007
1 parent b5daf9f commit bdef53c
Show file tree
Hide file tree
Showing 32 changed files with 1,155 additions and 753 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
@@ -1,3 +1,11 @@
*SVN*

* Added -e switch to explain specific task. Added -X to extend -x. Made -h much briefer. Added -T to list known tasks. [Jamis Buck]

* Added namespaces for tasks [Jamis Buck]

* Merged the Configuration and Actor classes, performed various other massive refactorings of the code [Jamis Buck]

*1.4.1* (February 24, 2007)

* Use the no-auth-cache option with subversion so that username/password tokens do not get cached by capistrano usage [jonathan]
Expand Down
9 changes: 1 addition & 8 deletions bin/cap
@@ -1,11 +1,4 @@
#!/usr/bin/env ruby

begin
require 'rubygems'
rescue LoadError
# no rubygems to load, so we fail silently
end

require 'capistrano/cli'

Capistrano::CLI.execute!
Capistrano::CLI.execute
6 changes: 2 additions & 4 deletions capistrano.gemspec
Expand Up @@ -7,8 +7,7 @@ Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summary = <<-DESC.strip.gsub(/\n\s+/, " ")
Capistrano is a framework and utility for executing commands in parallel
on multiple remote machines, via SSH. The primary goal is to simplify and
automate the deployment of web applications.
on multiple remote machines, via SSH.
DESC

s.files = Dir.glob("{bin,lib,examples,test}/**/*") + %w(README MIT-LICENSE CHANGELOG THANKS)
Expand All @@ -18,10 +17,9 @@ Gem::Specification.new do |s|
s.bindir = "bin"
s.executables << "cap"

s.add_dependency 'rake', ">= 0.7.0"

s.add_dependency 'net-ssh', ">= #{Capistrano::Version::SSH_REQUIRED.join(".")}"
s.add_dependency 'net-sftp', ">= #{Capistrano::Version::SFTP_REQUIRED.join(".")}"
s.add_dependency 'highline'

s.author = "Jamis Buck"
s.email = "jamis@37signals.com"
Expand Down

0 comments on commit bdef53c

Please sign in to comment.