switchtower-0.10.0 が出てましたね
新年早々1月2日にswitchtowerがバージョンアップしていたみたいです。
gemにももう出てますね。
# gem update --incude-dependencies switchtower
で行けます。以前のエントリでふれた:update_currentタスクの追加、:checkout変数の追加もこのリリースに含まれています。
ということでChangelogを訳してみました。
- Handle ssh password prompts like "someone's password:"
- sshのパスワードプロンプトを"someone's password:"のようにした。
- Make CLI#echo available as a class method.
- Add CLI#with_echo.
- CLI#with_echoを追加。
- Make the default password prompt available as a class method.
- デフォルトのパスワードプロンプトをクラスメソッドとして使えるようにした*2
- Add documentation for the CLI class.
- CLIクラスのドキュメントを追加。
- Add a sanity check to make sure the correct versions of Net::SSH and Net::SFTP are installed.
- Net::SSHとNet::SFTPの正しいバージョンがインストールされているかをチェックするようにした。
- Added a cleanup task to remove unused releases from the deployment directory
- deploy先ディレクトリ内の使われていないリリースを消す:cleanupタスクを追加した。
- Allow password to be reentered on sudo if it was entered incorrectly
- sudoでパスワードを間違っていた場合に、再入力可能にした。
- Use && as the command separator for the checkouts, so that errors are caught early.
- コマンドセパレータに'&&'を使うようにしたので、エラーが早期に発見できるようになった。
- Ping each SSH connection every 1s during command processing so that long-running commands don't cause the connection to timeout.
- Add a 0.01s sleep during the command loop so that the CPU doesn't go ballistic while ST is doing its thing.
- コマンド実行の間に0.01秒sleepするようにしたので、CPUを使いきっちゃわないようになった。
- Add :restart_via variable for specifying whether restart ought to use :sudo (default, use sudo)
- restartタスク実行時にsudoするかどうかを選べるよう、:restart_via変数を追加した。
- Use SFTP for file transfers (if available).
- (もし可能なら)ファイル転送にSFTPを使うようにした。
- Add an "update_current" task that will do an svn up on the current release
- 現在のリリースを更新する:update_currentタスクを追加した。
- Use the :checkout variable to determine what operation to use for svn checkouts (instead of co, like "export").
- :checkout変数を使ってsvn checkoutの時のオペレーションを選択できるようにした。('export'したりとか)
- The Rails rake tasks now load ST directly, instead of invoking it via system
- Railsのrakeタスクで、system()経由ではなく直接Switchtowerを呼び出すようにした。
- Added ssh_options variable to configure the SSH connection parameters #2734 [jerrett@bravenet.com]
- Require Net::SSH 1.0.5
- Net::SSH 1.0.5を使うようになった。