<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>bin/cap</filename>
    </added>
    <added>
      <filename>capistrano.gemspec</filename>
    </added>
    <added>
      <filename>lib/capistrano.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/actor.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/cli.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/command.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/configuration.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/extensions.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/gateway.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/generators/rails/deployment/deployment_generator.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/generators/rails/deployment/templates/deploy.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/generators/rails/deployment/templates/switchtower.rake</filename>
    </added>
    <added>
      <filename>lib/capistrano/generators/rails/loader.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/logger.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/recipes/standard.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/recipes/templates/maintenance.rhtml</filename>
    </added>
    <added>
      <filename>lib/capistrano/scm/base.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/scm/baz.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/scm/bzr.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/scm/cvs.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/scm/darcs.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/scm/perforce.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/scm/subversion.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/ssh.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/transfer.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/utils.rb</filename>
    </added>
    <added>
      <filename>lib/capistrano/version.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 *1.0.2* *SVN*
 
+* Rename to capistrano
+
 * Make the generated switchtower.rake file use rake namespaces, and include all default tasks
 
 * Look for config/deploy.rb and stasks file by default</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-Copyright (c) 2005 Jamis Buck
+Copyright (c) 2005,2006 Jamis Buck
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the</diff>
      <filename>MIT-LICENSE</filename>
    </modified>
    <modified>
      <diff>@@ -1,35 +1,35 @@
-= SwitchTower
+= Capistrano
 
-SwitchTower is a utility and framework for executing commands in parallel on multiple remote machines, via SSH. It uses a simple DSL (borrowed in part from Rake, http://rake.rubyforge.org/) that allows you to define _tasks_, which may be applied to machines in certain roles. It also supports tunneling connections via some gateway machine to allow operations to be performed behind VPN's and firewalls.
+Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH. It uses a simple DSL (borrowed in part from Rake, http://rake.rubyforge.org/) that allows you to define _tasks_, which may be applied to machines in certain roles. It also supports tunneling connections via some gateway machine to allow operations to be performed behind VPN's and firewalls.
 
-SwitchTower was originally designed to simplify and automate deployment of web applications to distributed environments, and so it comes with many tasks predefined for that (&quot;update_code&quot; and &quot;deploy&quot;, for instance).
+Capistrano was originally designed to simplify and automate deployment of web applications to distributed environments, and so it comes with many tasks predefined for that (&quot;update_code&quot; and &quot;deploy&quot;, for instance).
 
 == Dependencies
 
-SwitchTower depends upon the Net::SSH library by Jamis Buck (http://net-ssh.rubyforge.org). Net::SSH itself depends on the Needle library (http://needle.rubyforge.org), also by Jamis Buck.
+Capistrano depends upon the Net::SSH library by Jamis Buck (http://net-ssh.rubyforge.org). Net::SSH itself depends on the Needle library (http://needle.rubyforge.org), also by Jamis Buck.
 
 == Assumptions
 
-In keeping with Rails' &quot;convention over configuration&quot;, SwitchTower makes several assumptions about how you will use it (most, if not all, of which may be explicitly overridden):
+In keeping with Rails' &quot;convention over configuration&quot;, Capistrano makes several assumptions about how you will use it (most, if not all, of which may be explicitly overridden):
 
-* You are writing web applications and want to use SwitchTower to deploy them.
+* You are writing web applications and want to use Capistrano to deploy them.
 * You are using Ruby on Rails (http://www.rubyonrails.com) to build your apps.
 * You are using Subversion (http://subversion.tigris.org/) to manage your source code.
 * You are running your apps using FastCGI, together with Rails' spinner/reaper utilities.
 
-As with the rest of Rails, if you can abide by these assumptions, you can use SwitchTower &quot;out of the box&quot;. If any of these assumptions do not hold, you'll need to make some adjustments to your deployment recipe files.
+As with the rest of Rails, if you can abide by these assumptions, you can use Capistrano &quot;out of the box&quot;. If any of these assumptions do not hold, you'll need to make some adjustments to your deployment recipe files.
 
 == Usage
 
 More documentation is always pending, but you'll want to see the user manual for detailed usage instructions. (The manual is online at http://manuals.rubyonrails.org/read/book/17).
 
-In general, you'll use SwitchTower as follows:
+In general, you'll use Capistrano as follows:
 
 * Create a deployment recipe (&quot;deploy.rb&quot;) for your application. You can use the sample recipe in examples/sample.rb as a starting point.
-* Use the +switchtower+ script to execute your recipe (see below).
+* Use the +cap+ script to execute your recipe (see below).
 
-Use the +switchtower+ script as follows:
+Use the +cap+ script as follows:
 
-    switchtower -r deploy -a someaction -vvv
+    cap -vvv someaction
 
-The &lt;tt&gt;-r&lt;/tt&gt; switch specifies the recipe to use, and the &lt;tt&gt;-a&lt;/tt&gt; switch specifies which action you want to execute. You can the &lt;tt&gt;-v&lt;/tt&gt; switch multiple times (as shown) to increase the verbosity of the output.
+By default, the script will look for a file called one of &lt;tt&gt;config/deploy&lt;/tt&gt;, &lt;tt&gt;config/deploy.rb&lt;/tt&gt;, &lt;tt&gt;capistrano&lt;/tt&gt;, or &lt;tt&gt;capistrano.rb&lt;/tt&gt;. You can the &lt;tt&gt;-v&lt;/tt&gt; switch multiple times (as shown) to increase the verbosity of the output. The +someaction+ text indicates which action to execute.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -5,11 +5,11 @@ require 'rake/packagetask'
 require 'rake/gempackagetask'
 require 'rake/contrib/rubyforgepublisher'
 
-require &quot;./lib/switchtower/version&quot;
+require &quot;./lib/capistrano/version&quot;
 
-PKG_NAME      = &quot;switchtower&quot;
+PKG_NAME      = &quot;capistrano&quot;
 PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
-PKG_VERSION   = SwitchTower::Version::STRING + PKG_BUILD
+PKG_VERSION   = Capistrano::Version::STRING + PKG_BUILD
 PKG_FILE_NAME = &quot;#{PKG_NAME}-#{PKG_VERSION}&quot;
 
 desc &quot;Default task&quot;
@@ -35,7 +35,7 @@ end
 desc &quot;Build the RDoc API documentation&quot;
 Rake::RDocTask.new do |rdoc|
   rdoc.rdoc_dir = &quot;doc&quot;
-  rdoc.title    = &quot;SwitchTower -- A framework for remote command execution&quot;
+  rdoc.title    = &quot;Capistrano -- A framework for remote command execution&quot;
   rdoc.options &lt;&lt; '--line-numbers --inline-source --main README'
   rdoc.rdoc_files.include 'README'
   rdoc.rdoc_files.include 'lib/**/*.rb'</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -2,9 +2,9 @@ $:.unshift File.dirname(__FILE__) + &quot;/../lib&quot;
 
 require 'stringio'
 require 'test/unit'
-require 'switchtower/actor'
-require 'switchtower/logger'
-require 'switchtower/configuration'
+require 'capistrano/actor'
+require 'capistrano/logger'
+require 'capistrano/configuration'
 
 class ActorTest &lt; Test::Unit::TestCase
 
@@ -44,7 +44,7 @@ class ActorTest &lt; Test::Unit::TestCase
     end
   end
 
-  class TestActor &lt; SwitchTower::Actor
+  class TestActor &lt; Capistrano::Actor
     attr_reader :factory
 
     self.connection_factory = TestingConnectionFactory
@@ -80,7 +80,7 @@ class ActorTest &lt; Test::Unit::TestCase
     end
 
     def logger
-      @logger ||= SwitchTower::Logger.new(:output =&gt; StringIO.new)
+      @logger ||= Capistrano::Logger.new(:output =&gt; StringIO.new)
     end
   end
 
@@ -267,7 +267,7 @@ class ActorTest &lt; Test::Unit::TestCase
   end
 
   def test_uppercase_variables
-    config = SwitchTower::Configuration.new(TestActor)
+    config = Capistrano::Configuration.new(TestActor)
     config.set :HELLO, &quot;world&quot;
     assert_equal &quot;world&quot;, config.actor.instance_eval(&quot;HELLO&quot;)
     config.set :HELLO, &quot;test&quot;
@@ -283,12 +283,12 @@ class ActorTest &lt; Test::Unit::TestCase
   end
 
   def test_custom_extension
-    assert SwitchTower.plugin(:custom, CustomExtension)
+    assert Capistrano.plugin(:custom, CustomExtension)
     @actor.define_task :foo, :roles =&gt; :db do
       custom.do_something_extra(1, 2, 3)
     end
     assert_nothing_raised { @actor.foo }
     assert TestingCommand.invoked?
-    assert SwitchTower.remove_plugin(:custom)
+    assert Capistrano.remove_plugin(:custom)
   end
 end</diff>
      <filename>test/actor_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ $:.unshift File.dirname(__FILE__) + &quot;/../lib&quot;
 
 require 'stringio'
 require 'test/unit'
-require 'switchtower/command'
+require 'capistrano/command'
 
 class CommandTest &lt; Test::Unit::TestCase
   class MockSession
@@ -24,19 +24,19 @@ class CommandTest &lt; Test::Unit::TestCase
   end
 
   def test_command_executes_on_all_servers
-    command = SwitchTower::Command.new(%w(server1 server2 server3),
+    command = Capistrano::Command.new(%w(server1 server2 server3),
       &quot;hello&quot;, nil, {}, @actor)
     assert_equal %w(server1 server2 server3), @actor.sessions.keys.sort
   end
 
   def test_command_with_newlines
-    command = SwitchTower::Command.new(%w(server1), &quot;hello\nworld&quot;, nil, {},
+    command = Capistrano::Command.new(%w(server1), &quot;hello\nworld&quot;, nil, {},
       @actor)
     assert_equal &quot;hello\\\nworld&quot;, command.command
   end
 
   def test_command_with_windows_newlines
-    command = SwitchTower::Command.new(%w(server1), &quot;hello\r\nworld&quot;, nil, {},
+    command = Capistrano::Command.new(%w(server1), &quot;hello\r\nworld&quot;, nil, {},
       @actor)
     assert_equal &quot;hello\\\nworld&quot;, command.command
   end</diff>
      <filename>test/command_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 $:.unshift File.dirname(__FILE__) + &quot;/../lib&quot;
 
 require 'test/unit'
-require 'switchtower/configuration'
+require 'capistrano/configuration'
 require 'flexmock'
 
 class ConfigurationTest &lt; Test::Unit::TestCase
@@ -25,7 +25,7 @@ class ConfigurationTest &lt; Test::Unit::TestCase
   end
 
   def setup
-    @config = SwitchTower::Configuration.new(MockActor)
+    @config = Capistrano::Configuration.new(MockActor)
     @config.set :scm, MockSCM
   end
 
@@ -210,12 +210,12 @@ class ConfigurationTest &lt; Test::Unit::TestCase
 
   def test_set_scm_to_darcs
     @config.set :scm, :darcs
-    assert_equal &quot;SwitchTower::SCM::Darcs&quot;, @config.source.class.name
+    assert_equal &quot;Capistrano::SCM::Darcs&quot;, @config.source.class.name
   end
 
   def test_set_scm_to_subversion
     @config.set :scm, :subversion
-    assert_equal &quot;SwitchTower::SCM::Subversion&quot;, @config.source.class.name
+    assert_equal &quot;Capistrano::SCM::Subversion&quot;, @config.source.class.name
   end
 
   def test_get_proc_variable_sets_original_value_hash</diff>
      <filename>test/configuration_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,3 @@
-SwitchTower.configuration(:must_exist).load do
+Capistrano.configuration(:must_exist).load do
   set :gateway, &quot;foo&quot;
-end
\ No newline at end of file
+end</diff>
      <filename>test/fixtures/custom.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,10 +2,10 @@ $:.unshift File.dirname(__FILE__) + &quot;/../../lib&quot;
 
 require File.dirname(__FILE__) + &quot;/../utils&quot;
 require 'test/unit'
-require 'switchtower/scm/cvs'
+require 'capistrano/scm/cvs'
 
 class ScmCvsTest &lt; Test::Unit::TestCase
-  class CvsTest &lt; SwitchTower::SCM::Cvs
+  class CvsTest &lt; Capistrano::SCM::Cvs
     attr_accessor :story
     attr_reader   :last_path
 </diff>
      <filename>test/scm/cvs_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,10 +2,10 @@ $:.unshift File.dirname(__FILE__) + &quot;/../../lib&quot;
 
 require File.dirname(__FILE__) + &quot;/../utils&quot;
 require 'test/unit'
-require 'switchtower/scm/subversion'
+require 'capistrano/scm/subversion'
 
 class ScmSubversionTest &lt; Test::Unit::TestCase
-  class SubversionTest &lt; SwitchTower::SCM::Subversion
+  class SubversionTest &lt; Capistrano::SCM::Subversion
     attr_accessor :story
     attr_reader   :last_path
 
@@ -61,7 +61,7 @@ class ScmSubversionTest &lt; Test::Unit::TestCase
 ------------------------------------------------------------------------
 r1967 | minam | 2005-08-03 06:59:03 -0600 (Wed, 03 Aug 2005) | 2 lines
 
-Initial commit of the new switchtower utility
+Initial commit of the new capistrano utility
 
 ------------------------------------------------------------------------
 MSG</diff>
      <filename>test/scm/subversion_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ $:.unshift File.dirname(__FILE__) + &quot;/../lib&quot;
 
 require File.dirname(__FILE__) + &quot;/utils&quot;
 require 'test/unit'
-require 'switchtower/ssh'
+require 'capistrano/ssh'
 
 class SSHTest &lt; Test::Unit::TestCase
   class MockSSH
@@ -30,7 +30,7 @@ class SSHTest &lt; Test::Unit::TestCase
 
   def test_publickey_auth_succeeds_default_port_no_block
     Net.const_during(:SSH, MockSSH) do
-      SwitchTower::SSH.connect('demo.server.i', @config)
+      Capistrano::SSH.connect('demo.server.i', @config)
     end
 
     assert_equal 1, MockSSH.invocations.length
@@ -45,7 +45,7 @@ class SSHTest &lt; Test::Unit::TestCase
 
   def test_publickey_auth_succeeds_explicit_port_no_block
     Net.const_during(:SSH, MockSSH) do
-      SwitchTower::SSH.connect('demo.server.i', @config, 23)
+      Capistrano::SSH.connect('demo.server.i', @config, 23)
     end
 
     assert_equal 1, MockSSH.invocations.length
@@ -55,7 +55,7 @@ class SSHTest &lt; Test::Unit::TestCase
 
   def test_publickey_auth_succeeds_with_block
     Net.const_during(:SSH, MockSSH) do
-      SwitchTower::SSH.connect('demo.server.i', @config) do |session|
+      Capistrano::SSH.connect('demo.server.i', @config) do |session|
       end
     end
 
@@ -67,7 +67,7 @@ class SSHTest &lt; Test::Unit::TestCase
     MockSSH.story &lt;&lt; Net::SSH::AuthenticationFailed
 
     Net.const_during(:SSH, MockSSH) do
-      SwitchTower::SSH.connect('demo.server.i', @config)
+      Capistrano::SSH.connect('demo.server.i', @config)
     end
 
     assert_equal 2, MockSSH.invocations.length
@@ -87,7 +87,7 @@ class SSHTest &lt; Test::Unit::TestCase
 
     Net.const_during(:SSH, MockSSH) do
       assert_raises(Net::SSH::AuthenticationFailed) do
-        SwitchTower::SSH.connect('demo.server.i', @config)
+        Capistrano::SSH.connect('demo.server.i', @config)
       end
     end
 </diff>
      <filename>test/ssh_test.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>bin/switchtower</filename>
    </removed>
    <removed>
      <filename>lib/switchtower.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/actor.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/cli.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/command.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/configuration.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/extensions.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/gateway.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/generators/rails/deployment/deployment_generator.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/generators/rails/deployment/templates/deploy.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/generators/rails/deployment/templates/switchtower.rake</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/generators/rails/loader.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/logger.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/recipes/standard.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/recipes/templates/maintenance.rhtml</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/scm/base.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/scm/baz.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/scm/bzr.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/scm/cvs.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/scm/darcs.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/scm/perforce.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/scm/subversion.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/ssh.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/transfer.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/utils.rb</filename>
    </removed>
    <removed>
      <filename>lib/switchtower/version.rb</filename>
    </removed>
    <removed>
      <filename>switchtower.gemspec</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>f270f9fe34d00e7a63aa21424cf1ac26935c15d7</id>
    </parent>
  </parents>
  <author>
    <name>Jamis Buck</name>
    <email>jamis@37signals.com</email>
  </author>
  <url>http://github.com/jamis/capistrano/commit/6af1dc48edb6486af4de2b3a9dc12236e4160869</url>
  <id>6af1dc48edb6486af4de2b3a9dc12236e4160869</id>
  <committed-date>2006-03-05T19:48:35-08:00</committed-date>
  <authored-date>2006-03-05T19:48:35-08:00</authored-date>
  <message>part 2, rename switchtower -&gt; capistrano


git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@3786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de</message>
  <tree>67ebe9b8aa7da73b39cd9b0c597048752f133bab</tree>
  <committer>
    <name>Jamis Buck</name>
    <email>jamis@37signals.com</email>
  </committer>
</commit>
